OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:lock_fd_
(Results
1 - 4
of
4
) sorted by null
/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/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
Completed in 71 milliseconds