Home
last modified time | relevance | path

Searched refs:ScopedFlock (Results 1 – 7 of 7) sorted by relevance

/art/libartbase/base/
Dscoped_flock_test.cc34 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
39 ScopedFlock second_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
50 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
56 ScopedFlock file_lock = LockedFile::Open("/will/not/exist", in TEST_F()
Dscoped_flock.h35 typedef std::unique_ptr<LockedFile, LockedFileCloseNoFlush> ScopedFlock; typedef
48 static ScopedFlock Open(const char* filename, int flags, bool block,
52 static ScopedFlock Open(const char* filename, std::string* error_msg);
57 static ScopedFlock DupOf(const int fd, const std::string& path,
Dscoped_flock.cc32 /* static */ ScopedFlock LockedFile::Open(const char* filename, std::string* error_msg) { in Open()
36 /* static */ ScopedFlock LockedFile::Open(const char* filename, int flags, bool block, in Open()
98 return ScopedFlock(new LockedFile(std::move((*file.get())))); in Open()
103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
118 ScopedFlock locked_file( in DupOf()
/art/profman/
Dprofile_assistant.cc31 const std::vector<ScopedFlock>& profile_files, in ProcessProfilesInternal()
32 const ScopedFlock& reference_profile_file, in ProcessProfilesInternal()
141 const std::vector<ScopedFlock>& Get() const { return flocks_; } in Get()
144 std::vector<ScopedFlock> flocks_;
163 ScopedFlock reference_profile_file = LockedFile::DupOf(reference_profile_file_fd, in ProcessProfiles()
191 ScopedFlock locked_reference_profile_file = LockedFile::Open( in ProcessProfiles()
Dprofile_assistant.h120 const std::vector<ScopedFlock>& profile_files,
121 const ScopedFlock& reference_profile_file,
/art/libprofile/profile/
Dprofile_compilation_info.cc735 ScopedFlock profile_file = in MergeWith()
770 ScopedFlock profile_file = in Load()
814 ScopedFlock profile_file = in Save()
/art/runtime/gc/space/
Dimage_space.cc2789 ScopedFlock image = LockedFile::Open(image_filename.c_str(), in Load()