/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl21.c | 63 void compare_lock(struct flock *, short, short, int, int, pid_t); 65 void do_test(struct flock *, short, short, int, int); 134 struct flock fl; 151 struct flock fl; 160 void do_test(struct flock *fl, short type, short whence, int start, int len) 173 compare_lock(struct flock *fl, short type, short whence, int start, int len, 210 struct flock fl; 237 void parent_put(struct flock *l) 245 void parent_get(struct flock *l) 253 void child_put(struct flock *l [all...] |
fcntl18.c | 65 struct flock fl; 83 retval = fcntl(fd, F_GETLK, (struct flock *)INVAL_FLAG); 106 retval = fcntl(fd, F_GETLK64, (struct flock *)INVAL_FLAG);
|
/external/autotest/client/bin/ |
autotestd_monitor | 46 fcntl.flock(exit_code_file, fcntl.LOCK_EX) 55 fcntl.flock(exit_code_file, fcntl.LOCK_UN)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
lock.py | 107 fcntl.flock(target_file.fileno(), flags) 117 fcntl.flock(target_file.fileno(), fcntl.LOCK_UN)
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
Boid.h | 24 void flock(const Boid* boids[], int numBoids, int index, float limitX, float limitY);
|
Boid.cpp | 20 void Boid::flock(const Boid* boids[], int numBoids, int index, float limitX, float limitY) { function in class:Boid
|
/external/compiler-rt/lib/profile/ |
CMakeLists.txt | 32 struct flock s_flock;
|
WindowsMMap.c | 120 int flock(int fd, int operation) function
|
/external/python/cpython3/Modules/clinic/ |
fcntlmodule.c.h | 105 "flock($module, fd, operation, /)\n" 110 "See the Unix manual page for flock(2) for details (On some systems, this\n" 114 {"flock", (PyCFunction)fcntl_flock, METH_VARARGS, fcntl_flock__doc__}, 126 if (!PyArg_ParseTuple(args, "O&i:flock",
|
/external/strace/ |
flock.c | 37 SYS_FUNC(flock)
|
/frameworks/base/cmds/idmap/ |
scan.cpp | 42 // before we can guarantee mutual exclusion via the flock 48 if (TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_EX)) != 0) { 54 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN)); 65 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN));
|
/art/libartbase/base/ |
scoped_flock.cc | 50 int flock_result = TEMP_FAILURE_RETRY(flock(file->Fd(), operation)); 107 if (0 != TEMP_FAILURE_RETRY(flock(locked_file->Fd(), LOCK_EX))) { 118 int flock_result = TEMP_FAILURE_RETRY(flock(this->Fd(), LOCK_UN));
|
/external/chromium-trace/catapult/devil/devil/android/ |
ports.py | 29 # flock. 56 fcntl.flock(fp_lock, fcntl.LOCK_EX) 76 fcntl.flock(fp_lock, fcntl.LOCK_UN)
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
ports.py | 27 # flock. 56 fcntl.flock(fp_lock, fcntl.LOCK_EX) 76 fcntl.flock(fp_lock, fcntl.LOCK_UN)
|
/external/skia/src/core/ |
SkGlyphCache.cpp | 404 SkAutoExclusive ac(fLock); 409 SkAutoExclusive ac(fLock); 414 SkAutoExclusive ac(fLock); 424 SkAutoExclusive ac(fLock); 433 SkAutoExclusive ac(fLock); 442 SkAutoExclusive ac(fLock); 451 SkAutoExclusive ac(fLock); 460 SkAutoExclusive ac(fLock); 468 SkAutoExclusive ac(fLock); 502 SkAutoExclusive ac(globals.fLock); [all...] |
/external/skqp/src/core/ |
SkGlyphCache.cpp | 408 SkAutoExclusive ac(fLock); 413 SkAutoExclusive ac(fLock); 418 SkAutoExclusive ac(fLock); 428 SkAutoExclusive ac(fLock); 437 SkAutoExclusive ac(fLock); 446 SkAutoExclusive ac(fLock); 455 SkAutoExclusive ac(fLock); 464 SkAutoExclusive ac(fLock); 472 SkAutoExclusive ac(fLock); 506 SkAutoExclusive ac(globals.fLock); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileChannelLockingTest.java | 106 FileLock flock = readWriteChannel.lock(); local 107 if (flock != null) { 108 flock.release();
|
/external/python/cpython2/Doc/library/ |
fcntl.rst | 103 .. function:: flock(fd, op) 107 :manpage:`flock(2)` for details. (On some systems, this function is emulated 110 If the :c:func:`flock` fails, an :exc:`IOError` exception is raised. 157 :func:`flock` call may be better. 165 function provides an alternative to the :func:`lockf` and :func:`flock`
|
/external/python/cpython3/Doc/library/ |
fcntl.rst | 106 .. function:: flock(fd, operation) 110 :manpage:`flock(2)` for details. (On some systems, this function is emulated 113 If the :c:func:`flock` fails, an :exc:`OSError` exception is raised. 160 using the :func:`flock` call may be better. 168 function provides an alternative to the :func:`lockf` and :func:`flock`
|
/external/tensorflow/tensorflow/tools/test/ |
upload_test_benchmarks.py | 28 The uploader uses file-level exclusive locking (non-blocking flock) which allows 120 # Note: The file locking code uses flock() instead of lockf() because benchmark 125 fcntl.flock(fd, fcntl.LOCK_EX) 129 fcntl.flock(fd, fcntl.LOCK_UN) 134 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
fcntl.h | 117 /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ 122 /* For old implementation of bsd flock(). */ 127 /* Operations for bsd flock(), also used by the kernel implementation. */ 136 # define LOCK_MAND 32 /* This is a mandatory flock: */ 153 struct flock struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
fcntl.h | 132 /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ 137 /* For old implementation of bsd flock(). */ 142 /* Operations for bsd flock(), also used by the kernel implementation. */ 151 # define LOCK_MAND 32 /* This is a mandatory flock: */ 168 struct flock struct
|
/external/python/cpython3/Modules/ |
fcntlmodule.c | 269 fcntl.flock 277 See the Unix manual page for flock(2) for details (On some systems, this 289 ret = flock(fd, code); 300 struct flock l; 309 "unrecognized flock argument"); 374 struct flock l; 533 /* Old BSD flock(). */
|
/external/ltp/testcases/network/nfsv4/locks/ |
locktests.c | 148 struct flock request; 263 void lockWholeFile(struct flock *request) 383 void serializeFLock(struct flock *request) 407 void unSerializeFLock(struct flock *request) 417 int serverSendLockClient(struct flock *request, int client) 423 int serverSendLockLocal(struct flock *request, int slave) 429 int getLockSection(struct flock *request) 496 struct flock lock; 582 struct flock request; 753 struct flock request [all...] |
/bionic/libc/kernel/uapi/asm-generic/ |
fcntl.h | 148 struct flock { struct
|