/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 10 LOCK_NB = None # Non-blocking (LockException is raised if resource is locked) variable 25 LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY variable 31 LOCK_NB = fcntl.LOCK_NB variable 59 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
|
D | cloud_storage.py | 294 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB): 300 lock.AcquireFileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB) 322 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
|
D | cloud_storage_unittest.py | 361 with lock.FileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB): 369 with lock.FileLock(global_lock_fd, lock.LOCK_EX | lock.LOCK_NB):
|
D | lock_unittest.py | 39 lock.AcquireFileLock(f, lock.LOCK_EX | lock.LOCK_NB)
|
/external/strace/xlat/ |
D | flockcmds.h | 20 #if defined(LOCK_NB) || (defined(HAVE_DECL_LOCK_NB) && HAVE_DECL_LOCK_NB) 22 static_assert((LOCK_NB) == (4), "LOCK_NB != 4"); 25 # define LOCK_NB 4 75 XLAT(LOCK_NB),
|
D | flockcmds.in | 3 LOCK_NB 4
|
/external/ltp/testcases/kernel/syscalls/flock/ |
D | flock06.c | 27 TEST(flock(fd1, LOCK_EX | LOCK_NB)); in verify_flock() 34 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in verify_flock() 46 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in verify_flock()
|
D | flock03.c | 30 if (flock(fd2, LOCK_EX | LOCK_NB) != -1) in childfunc() 42 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in childfunc() 68 TEST(flock(fd1, LOCK_EX | LOCK_NB)); in verify_flock()
|
D | flock04.c | 65 child(LOCK_SH | LOCK_NB, tc->operation & LOCK_SH, "shared lock"); in verify_flock() 71 child(LOCK_EX | LOCK_NB, 0, "exclusive lock"); in verify_flock()
|
D | flock02.c | 29 {&fd, LOCK_NB, EINVAL},
|
/external/toybox/toys/other/ |
D | flock.c | 33 if (toys.optflags & FLAG_n) op |= LOCK_NB; in flock_main() 36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1; in flock_main()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 302 #define LOCK_NB 4 /* don't block when locking */ in fcntl_flock_impl() macro 321 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock_impl() 378 #define LOCK_NB 4 /* don't block when locking */ in fcntl_lockf_impl() macro 420 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf_impl() 455 if (PyModule_AddIntMacro(m, LOCK_NB)) return -1; in all_ins()
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 270 #define LOCK_NB 4 /* don't block when locking */ in fcntl_flock() 288 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock() 328 #define LOCK_NB 4 /* don't block when locking */ in fcntl_lockf() macro 369 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf() 443 if (ins(d, "LOCK_NB", (long)LOCK_NB)) return -1; in all_ins()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 68 if (flags & LOCK_NB) in file_lock() 140 if (flags & LOCK_NB) in record_lock()
|
/external/autotest/venv/lucifer/ |
D | leasing.py | 40 fcntl.lockf(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) 162 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/ltp/testcases/kernel/fs/doio/include/ |
D | file_lock.h | 41 #define LOCK_NB 0x0001 macro
|
/external/compiler-rt/lib/profile/ |
D | WindowsMMap.h | 45 #define LOCK_NB 4 /* don't block when locking */ macro
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 180 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
|
/external/syzkaller/sys/netbsd/ |
D | sys_amd64.const | 32 LOCK_NB = 4
|
/external/syzkaller/sys/freebsd/ |
D | sys_amd64.const | 57 LOCK_NB = 4
|
/external/tensorflow/tensorflow/tools/test/ |
D | upload_test_benchmarks.py | 135 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/selinux/restorecond/ |
D | user.c | 215 if (flock(local_lock_fd, LOCK_EX | LOCK_NB) < 0) { in local_server()
|
/external/minijail/linux-x86/ |
D | libconstants.gen.c | 674 #ifdef LOCK_NB 675 { "LOCK_NB", (unsigned long) LOCK_NB },
|
/external/python/cpython2/Lib/plat-irix5/ |
D | FILE.py | 234 LOCK_NB = 4 variable
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 133 fcntl.flock(self.f, fcntl.LOCK_SH | fcntl.LOCK_NB)
|