Searched refs:flock (Results 1 - 4 of 4) sorted by relevance
/art/runtime/base/ |
H A D | scoped_flock.cc | 57 int flock_result = TEMP_FAILURE_RETRY(flock(file_->Fd(), operation)); 108 if (0 != TEMP_FAILURE_RETRY(flock(file_->Fd(), LOCK_EX))) { 130 int flock_result = TEMP_FAILURE_RETRY(flock(file_->Fd(), LOCK_UN));
|
/art/profman/ |
H A D | profile_assistant.cc | 77 static bool InitFlock(const std::string& filename, ScopedFlock& flock, std::string* error) { argument 78 return flock.Init(filename.c_str(), O_RDWR, /* block */ true, error); 81 static bool InitFlock(int fd, ScopedFlock& flock, std::string* error) { argument 86 return flock.Init(&file, error);
|
/art/runtime/jit/ |
H A D | profile_compilation_info.cc | 145 ScopedFlock flock; 151 if (!flock.Init(filename.c_str(), flags, /*block*/false, /*flush_on_close*/false, &error)) { 156 int fd = flock.GetFile()->Fd(); 167 if (flock.GetFile()->ClearContent()) { 181 ScopedFlock flock; 187 if (!flock.Init(filename.c_str(), flags, /*block*/false, /*flush_on_close*/false, &error)) { 192 int fd = flock.GetFile()->Fd(); 195 if (!flock.GetFile()->ClearContent()) {
|
/art/dex2oat/ |
H A D | dex2oat.cc | 2134 ScopedFlock flock; local 2141 if (flock.Init(&file, &error)) { 2145 if (flock.Init(profile_file_.c_str(), O_RDONLY, /* block */ true, &error)) { 2146 success = profile_compilation_info_->Load(flock.GetFile()->Fd());
|
Completed in 80 milliseconds