Home
last modified time | relevance | path

Searched refs:ScopedFlock (Results 1 – 8 of 8) 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.cc33 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()
Dprofile_assistant.h98 const std::vector<ScopedFlock>& profile_files,
99 const ScopedFlock& reference_profile_file,
/art/runtime/
Doat_file_assistant.h409 ScopedFlock flock_;
/art/libprofile/profile/
Dprofile_compilation_info.cc226 ScopedFlock profile_file = in MergeWith()
261 ScopedFlock profile_file = in Load()
303 ScopedFlock profile_file = in Save()
/art/dex2oat/
Ddex2oat.cc2564 ScopedFlock profile_file; in LoadProfile()