lock_fd_ 96 chrome/browser/importer/firefox_profile_lock.h int lock_fd_; lock_fd_ 60 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = -1; lock_fd_ 72 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = open(old_lock_file_.value().c_str(), O_CREAT | O_EXCL, 0644); lock_fd_ 79 chrome/browser/importer/firefox_profile_lock_posix.cc close(lock_fd_); lock_fd_ 80 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = -1; lock_fd_ 85 chrome/browser/importer/firefox_profile_lock_posix.cc return (lock_fd_ >= 0); lock_fd_ 96 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = open(lock_file_.value().c_str(), O_WRONLY | O_CREAT | O_TRUNC, lock_fd_ 98 chrome/browser/importer/firefox_profile_lock_posix.cc if (lock_fd_ == -1) lock_fd_ 109 chrome/browser/importer/firefox_profile_lock_posix.cc if (fcntl(lock_fd_, F_GETLK, &testlock) == -1) { lock_fd_ 110 chrome/browser/importer/firefox_profile_lock_posix.cc close(lock_fd_); lock_fd_ 111 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = -1; lock_fd_ 113 chrome/browser/importer/firefox_profile_lock_posix.cc } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { lock_fd_ 114 chrome/browser/importer/firefox_profile_lock_posix.cc close(lock_fd_); lock_fd_ 115 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = -1; lock_fd_ 181 chrome/browser/process_singleton.h int lock_fd_; lock_fd_ 73 chrome/browser/process_singleton_mac.cc DCHECK_EQ(-1, lock_fd_) << "lock_path_ is already open."; lock_fd_ 75 chrome/browser/process_singleton_mac.cc lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(), lock_fd_ 77 chrome/browser/process_singleton_mac.cc if (lock_fd_ == -1) { lock_fd_ 79 chrome/browser/process_singleton_mac.cc DPCHECK(lock_fd_ != -1) << "Unexpected failure opening profile lockfile"; lock_fd_ 87 chrome/browser/process_singleton_mac.cc int rc = HANDLE_EINTR(flock(lock_fd_, LOCK_EX|LOCK_NB)); lock_fd_ 112 chrome/browser/process_singleton_mac.cc if (lock_fd_ != -1) { lock_fd_ 113 chrome/browser/process_singleton_mac.cc int rc = IGNORE_EINTR(close(lock_fd_)); lock_fd_ 116 chrome/browser/process_singleton_mac.cc lock_fd_ = -1;