Searched defs:flock (Results 1 - 3 of 3) sorted by relevance

/art/profman/
H A Dprofile_assistant.cc72 static bool InitFlock(const std::string& filename, ScopedFlock& flock, std::string* error) { argument
73 return flock.Init(filename.c_str(), O_RDWR, /* block */ true, error);
76 static bool InitFlock(int fd, ScopedFlock& flock, std::string* error) { argument
81 return flock.Init(&file, error);
/art/runtime/jit/
H A Doffline_profiling_info.cc80 ScopedFlock flock; local
82 if (!flock.Init(filename.c_str(), O_RDWR | O_NOFOLLOW | O_CLOEXEC, /* block */ false, &error)) {
87 int fd = flock.GetFile()->Fd();
120 if (!flock.GetFile()->ClearContent()) {
/art/dex2oat/
H A Ddex2oat.cc1905 ScopedFlock flock; local
1912 if (flock.Init(&file, &error)) {
1916 if (flock.Init(profile_file_.c_str(), O_RDONLY, /* block */ true, &error)) {
1917 success = profile_compilation_info_->Load(flock.GetFile()->Fd());

Completed in 83 milliseconds