HomeSort by relevance Sort by last modified time
    Searched refs:my_lock (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/leveldatabase/src/util/
env_posix.cc 432 PosixFileLock* my_lock = new PosixFileLock; local
433 my_lock->fd_ = fd;
434 my_lock->name_ = fname;
435 *lock = my_lock;
441 PosixFileLock* my_lock = reinterpret_cast<PosixFileLock*>(lock); local
443 if (LockOrUnlock(my_lock->fd_, false) == -1) {
446 locks_.Remove(my_lock->name_);
447 close(my_lock->fd_);
448 delete my_lock;
  /external/chromium_org/third_party/leveldatabase/
env_chromium.cc 959 ChromiumFileLock* my_lock = new ChromiumFileLock; local
960 my_lock->file_ = file;
961 my_lock->name_ = fname;
962 *lock = my_lock;
967 ChromiumFileLock* my_lock = reinterpret_cast<ChromiumFileLock*>(lock); local
971 ::base::UnlockPlatformFile(my_lock->file_);
974 MakeIOError(my_lock->name_, "Could not unlock lock file.", kUnlockFile);
976 ::base::ClosePlatformFile(my_lock->file_);
977 } else if (!::base::ClosePlatformFile(my_lock->file_)) {
979 MakeIOError(my_lock->name_, "Could not close lock file.", kUnlockFile)
    [all...]

Completed in 47 milliseconds