/bionic/libc/include/bits/ |
lockf.h | 32 * @file bits/lockf.h 33 * @brief The lockf() function. 39 /** lockf() command to unlock a section of a file. */ 41 /** lockf() command to block until it locks a section of a file. */ 43 /** lockf() command to try to lock a section of a file. */ 45 /** lockf() command to test whether a section of a file is unlocked (or locked by the caller). */ 51 * [lockf(3)](http://man7.org/linux/man-pages/man3/lockf.3.html) manipulates POSIX file locks. 59 int lockf(int __fd, int __cmd, off_t __length) __RENAME_IF_FILE_OFFSET64(lockf64) __INTRODUCED_IN(24); 62 * Like lockf() but allows using a 64-bit lengt [all...] |
/external/python/oauth2client/oauth2client/contrib/ |
_fcntl_opener.py | 23 """Open, lock, and unlock a file using fcntl.lockf.""" 56 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_EX) 76 """Close and unlock the file using the fcntl.lockf primitive.""" 78 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_UN)
|
/bionic/libc/bionic/ |
lockf.cpp | 36 // Translate POSIX lockf into fcntl. 71 int lockf(int fd, int cmd, off_t length) { function
|
/external/autotest/venv/lucifer/ |
leasing.py | 40 fcntl.lockf(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) 162 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/bionic/libc/include/ |
fcntl.h | 44 #include <bits/lockf.h>
|
unistd.h | 39 #include <bits/lockf.h>
|
/external/toolchain-utils/ |
file_lock_machine.py | 39 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) 173 fcntl.lockf(fp, fcntl.LOCK_UN) 256 fcntl.lockf(f, fcntl.LOCK_UN)
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
unistd.h | 187 int lockf(int, int, off_t);
|
/external/toolchain-utils/binary_search_tool/ |
bisect_driver.py | 73 fcntl.lockf(f, lock_type) 77 fcntl.lockf(f, fcntl.LOCK_UN)
|
/bionic/tests/headers/posix/ |
unistd_h.c | 341 FUNCTION(lockf, int (*f)(int, int, off_t));
|
/cts/tools/utils/ |
monsoon.py | 103 fcntl.lockf(self._tempfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
monsoon.py | 67 fcntl.lockf(lockfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/python/cpython3/Lib/test/eintrdata/ |
eintr_tester.py | 526 self._lock(fcntl.lockf, "lockf")
|
/external/libcups/cups/ |
file.c | 998 return (lockf(fp->fd, block ? F_LOCK : F_TLOCK, 0)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mailbox.py | [all...] |
/external/python/cpython2/Lib/ |
mailbox.py | [all...] |
/external/python/cpython3/Lib/ |
mailbox.py | [all...] |
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/ |
namespace.h | 415 #define lockf _lockf
|
/external/python/cpython3/Lib/test/ |
test_posix.py | 267 @unittest.skipUnless(hasattr(posix, 'lockf'), "test needs posix.lockf()") 273 posix.lockf(fd, posix.F_LOCK, 4) 275 posix.lockf(fd, posix.F_ULOCK, 4) [all...] |
/external/python/cpython3/Modules/ |
posixmodule.c | [all...] |
/external/python/cpython3/ |
configure | [all...] |