/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 9 LOCK_SH = None # Shared lock variable 22 LOCK_SH = 0 # the default variable 28 LOCK_SH = fcntl.LOCK_SH variable 55 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
|
D | lock_unittest.py | 29 lock.AcquireFileLock(f, lock.LOCK_SH) 84 lock.AcquireFileLock(f, lock.LOCK_SH) 127 lock.AcquireFileLock(f, lock.LOCK_SH)
|
/external/strace/xlat/ |
D | flockcmds.h | 2 #if !(defined(LOCK_SH) || (defined(HAVE_DECL_LOCK_SH) && HAVE_DECL_LOCK_SH)) 3 # define LOCK_SH 1 macro 35 XLAT(LOCK_SH),
|
D | flockcmds.in | 1 LOCK_SH 1
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 131 fcntl.flock(fileno, fcntl.LOCK_SH) 133 fcntl.flock(self.f, fcntl.LOCK_SH | fcntl.LOCK_NB) 138 self.assertRaises(ValueError, fcntl.flock, -1, fcntl.LOCK_SH) 139 self.assertRaises(TypeError, fcntl.flock, 'spam', fcntl.LOCK_SH) 145 fcntl.LOCK_SH)
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 267 #ifndef LOCK_SH in fcntl_flock() 268 #define LOCK_SH 1 /* shared lock */ in fcntl_flock() 277 else if (code & LOCK_SH) in fcntl_flock() 325 #ifndef LOCK_SH in fcntl_lockf() 326 #define LOCK_SH 1 /* shared lock */ in fcntl_lockf() macro 335 else if (code & LOCK_SH) in fcntl_lockf() 441 if (ins(d, "LOCK_SH", (long)LOCK_SH)) return -1; in all_ins()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 293 #ifndef LOCK_SH in fcntl_flock_impl() 294 #define LOCK_SH 1 /* shared lock */ in fcntl_flock_impl() 303 else if (code & LOCK_SH) in fcntl_flock_impl() 367 #ifndef LOCK_SH in fcntl_lockf_impl() 368 #define LOCK_SH 1 /* shared lock */ in fcntl_lockf_impl() macro 377 else if (code & LOCK_SH) in fcntl_lockf_impl() 444 if (PyModule_AddIntMacro(m, LOCK_SH)) return -1; in all_ins()
|
/external/ltp/testcases/kernel/syscalls/flock/ |
D | flock02.c | 103 TEST(flock(-1, LOCK_SH)); in main() 123 TEST(flock(fd, LOCK_SH | LOCK_EX)); in main()
|
D | flock04.c | 102 TEST(flock(fd, LOCK_SH)); in main() 111 retval = flock(fd1, LOCK_SH | LOCK_NB); in main()
|
D | flock01.c | 88 { LOCK_SH, "Shared Lock" },
|
D | flock05.c | 112 retval = flock(fd1, LOCK_SH | LOCK_NB); in main()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 81 else if (flags & LOCK_SH) in file_lock() 153 else if (flags & LOCK_SH) in record_lock()
|
/external/ltp/testcases/kernel/fs/doio/include/ |
D | file_lock.h | 44 #define LOCK_SH 0x0008 macro
|
/external/strace/tests-m32/ |
D | flock.c | 15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
|
/external/strace/tests/ |
D | flock.c | 15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
|
/external/strace/tests-mx32/ |
D | flock.c | 15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
|
/external/toybox/toys/other/ |
D | flock.c | 31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX; in flock_main()
|
/external/compiler-rt/lib/profile/ |
D | WindowsMMap.h | 43 #define LOCK_SH 1 /* shared lock */ macro
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 178 #define LOCK_SH 1 /* shared lock */ macro
|
/external/autotest/client/cros/power/ |
D | sys_power.py | 155 fcntl.flock(pause_ethernet_fd, fcntl.LOCK_SH)
|
/external/minijail/linux-x86/ |
D | libconstants.gen.c | 677 #ifdef LOCK_SH 678 { "LOCK_SH", (unsigned long) LOCK_SH },
|
/external/python/cpython2/Lib/plat-irix5/ |
D | FILE.py | 232 LOCK_SH = 1 variable
|
/external/toolchain-utils/binary_search_tool/ |
D | bisect_driver.py | 63 lock_type = fcntl.LOCK_SH
|
/external/python/cpython3/Doc/library/ |
D | fcntl.rst | 123 * :const:`LOCK_SH` -- acquire a shared lock 126 When *cmd* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be
|
/external/python/cpython2/Doc/library/ |
D | fcntl.rst | 120 * :const:`LOCK_SH` -- acquire a shared lock 123 When *operation* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be
|