Home
last modified time | relevance | path

Searched refs:lockf (Results 1 – 25 of 45) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_fcntl.py57 fcntl.lockf(f, cmd)
65 fcntl.lockf(f, cmd)
66 fcntl.lockf(f, fcntl.LOCK_UN)
160 fcntl.lockf(self.f, cmd)
164 fcntl.lockf(self.f, fcntl.LOCK_UN)
171 fcntl.lockf(self.f, cmd)
175 fcntl.lockf(self.f, fcntl.LOCK_UN)
Dtest_posix.py275 posix.lockf(fd, posix.F_LOCK, 4)
277 posix.lockf(fd, posix.F_ULOCK, 4)
/external/python/oauth2client/oauth2client/contrib/
D_fcntl_opener.py56 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_EX)
78 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_UN)
/external/mtools/
Dlockdev.c99 ret = lockf(fd, F_TLOCK, 0); in lock_dev()
101 ret = lockf(fd, F_LOCK, 0); in lock_dev()
Dmtools.h26 extern int lockf(int, int, off_t); /* SCO has no proper include file for lockf */
Dconfigure.in170 AC_CHECK_FUNCS(strerror random srandom strchr strrchr lockf flock \
Dconfig.h.in99 /* Define to 1 if you have the `lockf' function. */
/external/tensorflow/tensorflow/core/tpu/
Dtpu_initializer_helper.cc49 if (lockf(fd, F_TLOCK, 0) != 0) { in TryAcquireTpuLock()
/external/toolchain-utils/
Dfile_lock_machine.py43 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
187 fcntl.lockf(fp, fcntl.LOCK_UN)
270 fcntl.lockf(f, fcntl.LOCK_UN)
/external/elfutils/tests/
Dlfs-symbols47 lockf
/external/toolchain-utils/binary_search_tool/
Dbisect_driver.py80 fcntl.lockf(f, lock_type)
84 fcntl.lockf(f, fcntl.LOCK_UN)
/external/python/cpython3/Doc/library/
Dfcntl.rst132 .. function:: lockf(fd, cmd, len=0, start=0, whence=0)
164 .. audit-event:: fcntl.lockf fd,cmd,len,start,whence fcntl.lockf
187 function provides an alternative to the :func:`lockf` and :func:`flock`
Dmailbox.rst480 :c:func:`flock` and :c:func:`lockf` system calls.
591 :c:func:`flock` and :c:func:`lockf` system calls. For MH mailboxes, locking
689 :c:func:`flock` and :c:func:`lockf` system calls.
740 :c:func:`flock` and :c:func:`lockf` system calls.
/external/tpm2-tss/src/tss2-fapi/
Difapi_io.c57 if (lockf(fileno(io->stream), F_TLOCK, 0) == -1 && errno == EAGAIN) { in ifapi_io_read_async()
186 if (lockf(fileno(io->stream), F_TLOCK, 0) == -1 && errno == EAGAIN) { in ifapi_io_write_async()
/external/python/cpython2/Doc/library/
Dfcntl.rst113 .. function:: lockf(fd, operation, [length, [start, [whence]]])
165 function provides an alternative to the :func:`lockf` and :func:`flock`
Dposixfile.rst16 by the :func:`fcntl.lockf` call.
Dmailbox.rst463 :c:func:`flock` and :c:func:`lockf` system calls.
577 :c:func:`flock` and :c:func:`lockf` system calls. For MH mailboxes, locking
675 :c:func:`flock` and :c:func:`lockf` system calls.
726 :c:func:`flock` and :c:func:`lockf` system calls.
/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions-POSIX.c137 int lockf(int fd, int cmd, off_t len);
/external/llvm-project/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll34 %23 = type <{ %struct.lockf*, %struct.lockf** }> ; type %23
88 …%struct.lockf = type <{ %23, %struct.mtx, %struct.lockf_entry_list, %struct.lockf_entry_list, i32,…
162 … i8, i8, i8, %struct.freelst, %struct.bufobj, %struct.vpollinfo*, %struct.label*, %struct.lockf* }>
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll33 %23 = type <{ %struct.lockf*, %struct.lockf** }> ; type %23
87 …%struct.lockf = type <{ %23, %struct.mtx, %struct.lockf_entry_list, %struct.lockf_entry_list, i32,…
161 … i8, i8, i8, %struct.freelst, %struct.bufobj, %struct.vpollinfo*, %struct.label*, %struct.lockf* }>
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py522 self._lock(fcntl.lockf, "lockf")
/external/libcups/cups/
Dfile.c1033 return (lockf(fp->fd, block ? F_LOCK : F_TLOCK, 0)); in cupsFileLock()
2078 return (lockf(fp->fd, F_ULOCK, 0)); in cupsFileUnlock()
/external/python/cpython3/Lib/
Dmailbox.py2069 fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
2100 fcntl.lockf(f, fcntl.LOCK_UN)
2108 fcntl.lockf(f, fcntl.LOCK_UN)
/external/python/cpython2/Lib/
Dmailbox.py1977 fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
2011 fcntl.lockf(f, fcntl.LOCK_UN)
2019 fcntl.lockf(f, fcntl.LOCK_UN)
/external/python/cpython3/Misc/NEWS.d/
D3.6.1rc1.rst909 lockf() is available on Android API level 24, but the F_LOCK macro is not

12