Home
last modified time | relevance | path

Searched refs:LOCK_NB (Results 1 – 15 of 15) sorted by relevance

/external/chromium-trace/catapult/catapult_base/catapult_base/
Dlock.py10 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)
Dlock_unittest.py39 lock.AcquireFileLock(f, lock.LOCK_EX | lock.LOCK_NB)
/external/strace/xlat/
Dflockcmds.h8 #if !(defined(LOCK_NB) || (defined(HAVE_DECL_LOCK_NB) && HAVE_DECL_LOCK_NB))
9 # define LOCK_NB 4 macro
37 XLAT(LOCK_NB),
Dflockcmds.in3 LOCK_NB 4
/external/toybox/toys/other/
Dflock.c33 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/kernel-headers/original/uapi/asm-generic/
Dfcntl.h179 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
/external/selinux/policycoreutils/restorecond/
Duser.c215 if (flock(local_lock_fd, LOCK_EX | LOCK_NB) < 0) { in local_server()
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dmonsoon.py66 fcntl.lockf(self._tempfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
/external/autotest/tko/
Dparse.py481 flags |= fcntl.LOCK_NB
/external/autotest/client/virt/
Daexpect.py32 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
/external/webrtc/webrtc/base/
Dstream.cc501 return flock(fileno(file_), LOCK_EX|LOCK_NB) == 0; in TryLock()
/external/dhcpcd-6.8.2/
Ddhcpcd.c1804 if (flock(ctx.pid_fd, LOCK_EX | LOCK_NB) == -1) { in main()
/external/selinux/libsemanage/src/
Dsemanage_store.c1787 if (flock(fd, LOCK_EX | LOCK_NB) == 0) { in semanage_get_lock()
/external/sqlite/dist/
Dsqlite3.c28929 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB);
29009 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
/external/sqlite/dist/orig/
Dsqlite3.c28911 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB);
28991 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {