Searched refs:ScopedFlock (Results 1 – 7 of 7) sorted by relevance
/art/libartbase/base/ |
D | scoped_flock_test.cc | 34 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()
|
D | scoped_flock.h | 35 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,
|
D | scoped_flock.cc | 32 /* 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/ |
D | profile_assistant.cc | 31 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()
|
D | profile_assistant.h | 120 const std::vector<ScopedFlock>& profile_files, 121 const ScopedFlock& reference_profile_file,
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 735 ScopedFlock profile_file = in MergeWith() 770 ScopedFlock profile_file = in Load() 814 ScopedFlock profile_file = in Save()
|
/art/runtime/gc/space/ |
D | image_space.cc | 2789 ScopedFlock image = LockedFile::Open(image_filename.c_str(), in Load()
|