/external/chromium_org/tools/coverity/ |
coverity.py | 78 LOCK_FILE = 'coverity.lock' 99 def _ReleaseLock(lock_file, lock_filename): 101 os.close(lock_file) 109 lock_filename = os.path.join(options.source_dir, LOCK_FILE) 111 lock_file = os.open(lock_filename, 118 os.write(lock_file, str(os.getpid())) 136 _ReleaseLock(lock_file, lock_filename) 151 _ReleaseLock(lock_file, lock_filename) 232 _ReleaseLock(lock_file, lock_filename)
|
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_unittest.cc | 81 FILE* lock_file = file_util::OpenFile(lock_file_path, "w"); local 82 ASSERT_TRUE(lock_file); 83 file_util::CloseFile(lock_file);
|
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_unittest.cc | 73 FILE* lock_file = base::OpenFile(lock_file_path, "w"); local 74 ASSERT_TRUE(lock_file); 75 base::CloseFile(lock_file);
|
/external/valgrind/main/memcheck/tests/ |
file_locking.c | 24 static int lock_file(const int fd) function 55 if (! lock_file(fd))
|
/external/ppp/pppd/ |
utils.c | 906 static char lock_file[MAXPATHLEN]; variable 920 strlcpy(lock_file, dev, sizeof(lock_file)); 927 error("Can't create lock file %s", lock_file); 946 slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d", 965 slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev); 968 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) { 970 error("Can't create lock file %s: %m", lock_file); [all...] |
sys-solaris.c | [all...] |