Searched defs:flock (Results 1 - 14 of 14) sorted by path

/external/clang/test/Sema/
H A Dwarn-type-safety.c125 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'}}
/external/compiler-rt/lib/profile/
H A DWindowsMMap.c120 int flock(int fd, int operation) function
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h143 * process. This means that they are inherited across fork() like BSD (flock)
170 /* for old implementation of bsd flock () */
176 /* operations for bsd flock(), also used by the kernel implementation */
183 #define LOCK_MAND 32 /* This is a mandatory flock ... */
195 struct flock { struct
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h53 * 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
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl13.c52 struct flock flock; local
99 flock.l_whence = -1;
100 flock.l_type = F_WRLCK;
101 flock.l_start = 0L;
102 flock.l_len = 0L;
104 if (fcntl(1, F_SETLK, &flock) != -1)
111 if (fcntl(-1, F_GETLK, &flock) != -1)
H A Dfcntl14.c533 static struct flock flock; variable in typeref:struct:flock
613 flock.l_type = thiscase->c_type;
614 flock.l_whence = thiscase->c_whence;
615 flock.l_start = thiscase->c_start;
616 flock.l_len = thiscase->c_len;
617 flock.l_pid = 0;
626 if ((rc = fcntl(fd, F_GETLK, &flock)) < 0) {
633 if (flock.l_type != F_UNLCK) {
637 flock
[all...]
H A Dfcntl15.c74 struct flock flock; variable in typeref:struct:flock
115 flock.l_type = F_WRLCK;
116 flock.l_whence = 0;
117 flock.l_start = 5L;
118 flock.l_len = 5L;
121 if ((fcntl(fd_B, F_SETLK, &flock)) < 0) {
252 flock.l_type = F_WRLCK;
253 flock.l_whence = 0;
254 flock
[all...]
/external/mksh/src/
H A Dsh.h255 #undef flock /* SCO UnixWare defines that to flock64 but ENOENT */ macro
412 extern int flock(int, int);
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 467 milliseconds