Searched refs:ScopedFlock (Results 1 – 8 of 8) 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 | 33 const std::vector<ScopedFlock>& profile_files, in ProcessProfilesInternal() 34 const ScopedFlock& reference_profile_file, in ProcessProfilesInternal() 150 const std::vector<ScopedFlock>& Get() const { return flocks_; } in Get() 153 std::vector<ScopedFlock> flocks_; 172 ScopedFlock reference_profile_file = LockedFile::DupOf(reference_profile_file_fd, in ProcessProfiles() 200 ScopedFlock locked_reference_profile_file = LockedFile::Open( in ProcessProfiles()
|
D | profile_assistant.h | 98 const std::vector<ScopedFlock>& profile_files, 99 const ScopedFlock& reference_profile_file,
|
/art/runtime/ |
D | oat_file_assistant.h | 409 ScopedFlock flock_;
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 226 ScopedFlock profile_file = in MergeWith() 261 ScopedFlock profile_file = in Load() 303 ScopedFlock profile_file = in Save()
|
/art/dex2oat/ |
D | dex2oat.cc | 2564 ScopedFlock profile_file; in LoadProfile()
|