Searched refs:lock_file (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dhttp_lock_unittest.py59 lock_file = open(self.lock_file_name, 'r')
60 lock_file_pid = lock_file.readline()
61 lock_file.close()
87 for lock_file, expected in zip(lock_file_list, expected_number_list):
88 self.assertEqual(self.http_lock_obj._extract_lock_number(lock_file), expected)
H A Dhttp_lock.py118 lock_file = open(self._process_lock_file_name, 'w')
119 lock_file.write(str(os.getpid()))
120 lock_file.close()
/external/chromium/chrome/browser/importer/
H A Dfirefox_profile_lock_unittest.cc81 FILE* lock_file = file_util::OpenFile(lock_file_path, "w"); local
82 ASSERT_TRUE(lock_file);
83 file_util::CloseFile(lock_file);
/external/valgrind/main/memcheck/tests/
H A Dfile_locking.c24 static int lock_file(const int fd) function
55 if (! lock_file(fd))
/external/ppp/pppd/
H A Dutils.c903 static char lock_file[MAXPATHLEN]; variable
917 strlcpy(lock_file, dev, sizeof(lock_file));
924 error("Can't create lock file %s", lock_file);
943 slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d",
962 slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev);
965 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) {
967 error("Can't create lock file %s: %m", lock_file);
[all...]
H A Dsys-solaris.c2519 static char lock_file[40]; /* name of lock file created */
2537 slprintf(lock_file, sizeof(lock_file), "%s%03d.%03d.%03d",
2541 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) {
2543 && (fd = open(lock_file, O_RDONLY, 0)) >= 0) {
2547 error("Can't read pid from lock file %s", lock_file);
2554 if (unlink(lock_file) == 0) {
2568 error("Can't create lock file %s: %m", lock_file);
2569 lock_file[0] = 0;
2586 if (lock_file[
[all...]

Completed in 104 milliseconds