/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/ |
fcntl.h | 46 struct flock { struct
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
fcntl.h | 46 struct flock { struct
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
posixfile.py | 186 flock = struct.pack('lxxxxlxxxxlhh', \ 189 flock = struct.pack('hhlllii', \ 192 flock = struct.pack('hhllhh', \ 195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock) 203 struct.unpack('lxxxxlxxxxlhh', flock) 206 struct.unpack('hhlllii', flock) 209 struct.unpack('hhllhh', flock) 212 struct.unpack('hhllhh', flock)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
posixfile.py | 186 flock = struct.pack('lxxxxlxxxxlhh', \ 189 flock = struct.pack('hhlllii', \ 192 flock = struct.pack('hhllhh', \ 195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock) 203 struct.unpack('lxxxxlxxxxlhh', flock) 206 struct.unpack('hhlllii', flock) 209 struct.unpack('hhllhh', flock) 212 struct.unpack('hhllhh', flock)
|
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 101 struct flock lock; 108 struct flock testlock = lock;
|
/external/chromium_org/rlz/lib/ |
recursive_cross_process_lock_posix.cc | 53 HANDLE_EINTR(flock(file_lock_, LOCK_EX | LOCK_NB))) == -1 && 61 perror("flock"); 74 ignore_result(HANDLE_EINTR(flock(file_lock_, LOCK_UN)));
|
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 113 StructFlock flock = new StructFlock(); local 114 flock.l_type = (short) (shared ? F_RDLCK : F_WRLCK); 115 flock.l_whence = (short) SEEK_SET; 116 flock.l_start = position; 117 flock.l_len = translateLockLength(size); 121 success = (Libcore.os.fcntlFlock(fd, wait ? F_SETLKW64 : F_SETLK64, flock) != -1); 191 StructFlock flock = new StructFlock(); local 192 flock.l_type = (short) F_UNLCK; 193 flock.l_whence = (short) SEEK_SET; 194 flock.l_start = lock.position() [all...] |
/bionic/libc/kernel/uapi/asm-mips/asm/ |
fcntl.h | 52 struct flock { struct
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
fcntl.h | 53 * The flavours of struct flock. "struct flock" is the ABI compliant 54 * variant. Finally struct flock64 is the LFS variant of struct flock. As 56 * contain all the same fields as struct flock. 63 struct flock { struct
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/asm/ |
fcntl.h | 52 struct flock { struct
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/asm/ |
fcntl.h | 52 struct flock { struct
|
/external/chromium_org/components/metrics/serialization/ |
serialization_utils.cc | 139 result = flock(fd.get(), LOCK_EX); 162 result = flock(fd.get(), LOCK_UN); 185 if (HANDLE_EINTR(flock(file_descriptor.get(), LOCK_EX)) < 0) {
|
/external/clang/test/Sema/ |
warn-type-safety.c | 125 struct flock { }; struct 128 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK; 132 void test_argument_with_type_tag(struct flock *f) 137 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}} 138 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' type tag that requires 'int'}}
|
/frameworks/compile/libbcc/lib/Support/ |
FileBase.cpp | 34 // TODO: Fix flock usage under windows 40 int flock(int fd, int operation) { function 151 // Determine the lock operation (2nd argument) to the flock(). 166 if (::flock(mFD, lock_operation) == 0) { 187 // flock() was not performed successfully. Check the errno to see whether 190 // flock() was interrupted by delivery of a signal. Restart without 199 // There's a fatal error occurs when perform flock(). Return immediately 215 if (::flock(mFD, LOCK_UN) == 0) {
|
/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/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
fuse.h | 226 int (*lock)(const char*, struct fuse_file_info*, int cmd, struct flock*); 255 int (*flock)(const char*, struct fuse_file_info*, int op); member in struct:fuse_operations
|
/development/ndk/platforms/android-3/header-patches/include/asm-generic/ |
fcntl.h | 106 struct flock { struct
|
/development/ndk/platforms/android-3/include/asm-generic/ |
fcntl.h | 117 struct flock { struct
|
/development/ndk/platforms/android-L/include/asm-generic/ |
fcntl.h | 170 struct flock { struct
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
dynamic-dnsmasq.pl | 68 flock($fh, 2); 83 flock($fh, 8); 198 flock(FILE, 2); 215 flock(FILE, 8);
|
/external/valgrind/main/none/tests/ |
mmap_fcntl_bug.c | 18 struct flock fl;
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 203 struct flock flock_v;
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 203 struct flock flock_v;
|
/libcore/luni/src/main/native/ |
Portability.h | 34 #define flock64 flock
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/asm-generic/ |
fcntl.h | 109 /* for old implementation of bsd flock () */ 120 /* operations for bsd flock(), also used by the kernel implementation */ 127 #define LOCK_MAND 32 /* This is a mandatory flock ... */ 139 struct flock { struct
|