/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 23 LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY variable 29 LOCK_NB = fcntl.LOCK_NB variable 55 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
|
D | cloud_storage.py | 288 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB): 294 lock.AcquireFileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB) 316 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
|
D | cloud_storage_unittest.py | 258 with lock.FileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB): 266 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 | 8 #if !(defined(LOCK_NB) || (defined(HAVE_DECL_LOCK_NB) && HAVE_DECL_LOCK_NB)) 9 # define LOCK_NB 4 macro 37 XLAT(LOCK_NB),
|
D | flockcmds.in | 3 LOCK_NB 4
|
/external/ltp/testcases/kernel/syscalls/flock/ |
D | flock06.c | 99 TEST(flock(fd1, LOCK_EX | LOCK_NB)); in main() 111 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in main() 123 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in main()
|
D | flock03.c | 97 TEST(flock(fd, LOCK_EX | LOCK_NB)); in main() 139 if (flock(fd2, LOCK_EX | LOCK_NB) != -1) { in childfunc() 156 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in childfunc()
|
D | flock05.c | 112 retval = flock(fd1, LOCK_SH | LOCK_NB); in main() 133 retval = flock(fd1, LOCK_EX | LOCK_NB); in main()
|
D | flock04.c | 110 retval = flock(fd1, LOCK_SH | LOCK_NB); in main() 131 retval = flock(fd1, LOCK_EX | LOCK_NB); in main()
|
D | flock02.c | 112 TEST(flock(fd, LOCK_NB)); in main()
|
/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/ltp/lib/ |
D | file_lock.c | 68 if (flags & LOCK_NB) in file_lock() 140 if (flags & LOCK_NB) in record_lock()
|
/external/ltp/include/old/ |
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 | 179 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
|
/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | monsoon.py | 66 fcntl.lockf(self._tempfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/iptables/iptables/ |
D | xshared.c | 271 if (flock(fd, LOCK_EX | LOCK_NB) == 0) in xtables_lock()
|
/external/toolchain-utils/ |
D | file_lock_machine.py | 39 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/autotest/tko/ |
D | parse.py | 607 flags |= fcntl.LOCK_NB
|
/external/webrtc/webrtc/base/ |
D | stream.cc | 501 return flock(fileno(file_), LOCK_EX|LOCK_NB) == 0; in TryLock()
|
/external/dhcpcd-6.8.2/ |
D | dhcpcd.c | 1804 if (flock(ctx.pid_fd, LOCK_EX | LOCK_NB) == -1) { in main()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 1821 if (flock(fd, LOCK_EX | LOCK_NB) == 0) { in semanage_get_lock()
|