/external/chromium/chrome/browser/ |
process_singleton_mac.cc | 45 lock_fd_(-1) { 72 DCHECK_EQ(-1, lock_fd_) << "lock_path_ is already open."; 74 lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(), 76 if (lock_fd_ == -1) { 78 DPCHECK(lock_fd_ != -1) << "Unexpected failure opening profile lockfile"; 86 int rc = HANDLE_EINTR(flock(lock_fd_, LOCK_EX|LOCK_NB)); 111 if (lock_fd_ != -1) { 112 int rc = HANDLE_EINTR(close(lock_fd_)); 113 DPCHECK(!rc) << "Closing lock_fd_:"; 115 lock_fd_ = -1 [all...] |
process_singleton.h | 175 int lock_fd_; member in class:ProcessSingleton
|
/external/chromium_org/chrome/browser/ |
process_singleton_mac.cc | 44 lock_fd_(-1) { 73 DCHECK_EQ(-1, lock_fd_) << "lock_path_ is already open."; 75 lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(), 77 if (lock_fd_ == -1) { 79 DPCHECK(lock_fd_ != -1) << "Unexpected failure opening profile lockfile"; 87 int rc = HANDLE_EINTR(flock(lock_fd_, LOCK_EX|LOCK_NB)); 112 if (lock_fd_ != -1) { 113 int rc = IGNORE_EINTR(close(lock_fd_)); 114 DPCHECK(!rc) << "Closing lock_fd_:"; 116 lock_fd_ = -1 [all...] |
process_singleton.h | 179 int lock_fd_; member in class:ProcessSingleton
|
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 60 lock_fd_ = -1; 72 lock_fd_ = open(old_lock_file_.value().c_str(), O_CREAT | O_EXCL, 0644); 79 close(lock_fd_); 80 lock_fd_ = -1; 85 return (lock_fd_ >= 0); 96 lock_fd_ = open(lock_file_.value().c_str(), O_WRONLY | O_CREAT | O_TRUNC, 98 if (lock_fd_ == -1) 109 if (fcntl(lock_fd_, F_GETLK, &testlock) == -1) { 110 close(lock_fd_); 111 lock_fd_ = -1 [all...] |
firefox_profile_lock.h | 97 int lock_fd_; member in class:FirefoxProfileLock
|
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 60 lock_fd_ = -1; 72 lock_fd_ = open(old_lock_file_.value().c_str(), O_CREAT | O_EXCL, 0644); 79 close(lock_fd_); 80 lock_fd_ = -1; 85 return (lock_fd_ >= 0); 96 lock_fd_ = open(lock_file_.value().c_str(), O_WRONLY | O_CREAT | O_TRUNC, 98 if (lock_fd_ == -1) 109 if (fcntl(lock_fd_, F_GETLK, &testlock) == -1) { 110 close(lock_fd_); 111 lock_fd_ = -1 [all...] |
firefox_profile_lock.h | 96 int lock_fd_; member in class:FirefoxProfileLock
|