/external/ppp/pppd/plugins/radius/ |
H A D | lock.c | 18 struct flock fl; local 21 memset((void *)&fl, 0, sizeof(fl)); 23 fl.l_type = F_WRLCK; 24 fl.l_whence = fl.l_start = 0; 25 fl.l_len = 0; /* 0 means "to end of file" */ 27 res = fcntl(fd, F_SETLK, &fl); 37 struct flock fl; local 39 memset((void *)&fl, [all...] |
/external/libffi/testsuite/libffi.call/ |
H A D | return_fl.c | 10 static float return_fl(float fl) argument 12 return 2 * fl; 19 float fl, rfl; local 22 values[0] = &fl; 28 for (fl = -127.0; fl < 127; fl++) 31 printf ("%f vs %f\n", rfl, return_fl(fl)); 32 CHECK(rfl == 2 * fl);
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
H A D | return_fl.c | 10 static float return_fl(float fl) argument 12 return 2 * fl; 19 float fl, rfl; local 22 values[0] = &fl; 28 for (fl = -127.0; fl < 127; fl++) 31 printf ("%f vs %f\n", rfl, return_fl(fl)); 32 CHECK(rfl == 2 * fl);
|
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
H A D | return_fl.c | 10 static float return_fl(float fl) argument 12 return 2 * fl; 19 float fl, rfl; local 22 values[0] = &fl; 28 for (fl = -127.0; fl < 127; fl++) 31 printf ("%f vs %f\n", rfl, return_fl(fl)); 32 CHECK(rfl == 2 * fl);
|
/external/fio/lib/ |
H A D | lfsr.c | 84 static inline void __lfsr_next(struct fio_lfsr *fl, unsigned int spin) argument 91 case 15: __LFSR_NEXT(fl, fl->last_val); 92 case 14: __LFSR_NEXT(fl, fl->last_val); 93 case 13: __LFSR_NEXT(fl, fl->last_val); 94 case 12: __LFSR_NEXT(fl, fl->last_val); 95 case 11: __LFSR_NEXT(fl, f 127 lfsr_next(struct fio_lfsr *fl, uint64_t *off) argument 189 prepare_spin(struct fio_lfsr *fl, unsigned int spin) argument 220 lfsr_reset(struct fio_lfsr *fl, unsigned long seed) argument 234 lfsr_init(struct fio_lfsr *fl, uint64_t nums, unsigned long seed, unsigned int spin) argument [all...] |
H A D | lfsr.h | 25 int lfsr_next(struct fio_lfsr *fl, uint64_t *off); 26 int lfsr_init(struct fio_lfsr *fl, uint64_t size, 28 int lfsr_reset(struct fio_lfsr *fl, unsigned long seed);
|
/external/libcxx/test/std/containers/sequences/forwardlist/ |
H A D | allocator_mismatch.fail.cpp | 17 std::forward_list<int, std::allocator<long> > fl; local
|
/external/libopus/celt/ |
H A D | laplace.c | 53 unsigned fl; local 55 fl = 0; 62 fl = fs; 68 fl += fs+2*LAPLACE_MINP; 76 ndi_max = (32768-fl+LAPLACE_MINP-1)>>LAPLACE_LOG_MINP; 79 fl += (2*di+1+s)*LAPLACE_MINP; 80 fs = IMIN(LAPLACE_MINP, 32768-fl); 86 fl += fs&~s; 88 celt_assert(fl+fs<=32768); 91 ec_encode_bin(enc, fl, f 97 unsigned fl; local [all...] |
/external/strace/tests/ |
H A D | fcntl64.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 51 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 64 struct_kernel_flock64 fl = { local 68 long rc = invoke_test_syscall(F_SETLK64, &fl); 76 invoke_test_syscall(F_GETLK64, &fl); 81 invoke_test_syscall(F_SETLK64, &fl);
|
H A D | struct_flock.c | 57 struct_kernel_flock fl = { local 62 long rc = invoke_test_syscall(cmd, &fl); 65 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 74 struct_kernel_flock fl = { local 78 long rc = invoke_test_syscall(F_SETLK, &fl); 85 invoke_test_syscall(F_GETLK, &fl); 90 invoke_test_syscall(F_SETLK, &fl);
|
H A D | fcntl.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 50 TEST_SYSCALL_STR, name, &fl, sprintrc(rc));
|
/external/strace/tests-m32/ |
H A D | fcntl64.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 51 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 64 struct_kernel_flock64 fl = { local 68 long rc = invoke_test_syscall(F_SETLK64, &fl); 76 invoke_test_syscall(F_GETLK64, &fl); 81 invoke_test_syscall(F_SETLK64, &fl);
|
H A D | struct_flock.c | 57 struct_kernel_flock fl = { local 62 long rc = invoke_test_syscall(cmd, &fl); 65 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 74 struct_kernel_flock fl = { local 78 long rc = invoke_test_syscall(F_SETLK, &fl); 85 invoke_test_syscall(F_GETLK, &fl); 90 invoke_test_syscall(F_SETLK, &fl);
|
H A D | fcntl.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 50 TEST_SYSCALL_STR, name, &fl, sprintrc(rc));
|
/external/strace/tests-mx32/ |
H A D | fcntl64.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 51 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 64 struct_kernel_flock64 fl = { local 68 long rc = invoke_test_syscall(F_SETLK64, &fl); 76 invoke_test_syscall(F_GETLK64, &fl); 81 invoke_test_syscall(F_SETLK64, &fl);
|
H A D | struct_flock.c | 57 struct_kernel_flock fl = { local 62 long rc = invoke_test_syscall(cmd, &fl); 65 (intmax_t) fl.l_start, (intmax_t) fl.l_len, sprintrc(rc)); 74 struct_kernel_flock fl = { local 78 long rc = invoke_test_syscall(F_SETLK, &fl); 85 invoke_test_syscall(F_GETLK, &fl); 90 invoke_test_syscall(F_SETLK, &fl);
|
H A D | fcntl.c | 43 struct_kernel_flock64 fl = { local 48 long rc = invoke_test_syscall(cmd, &fl); 50 TEST_SYSCALL_STR, name, &fl, sprintrc(rc));
|
/external/fio/t/ |
H A D | lfsr-test.c | 31 struct fio_lfsr *fl; local 56 fl = malloc(sizeof(struct fio_lfsr)); 57 if (!fl) { 62 r = lfsr_init(fl, numbers, seed, spin); 71 printf("Size is %u\n", 64 - __builtin_clzl(fl->cached_bit)); 72 printf("Max val is %lu\n", (unsigned long) fl->max_val); 73 printf("XOR-mask is 0x%lX\n", (unsigned long) fl->xormask); 74 printf("Seed is %lu\n", (unsigned long) fl->last_val); 75 printf("Spin is %u\n", fl->spin); 76 printf("Cycle length is %lu\n", (unsigned long) fl [all...] |
/external/ltp/testcases/kernel/syscalls/eventfd2/ |
H A D | eventfd2_02.c | 82 int fd, fl; local 97 fl = fcntl(fd, F_GETFL); 98 if (fl == -1) { 101 if (fl & O_NONBLOCK) { 110 fl = fcntl(fd, F_GETFL); 111 if (fl == -1) { 114 if ((fl & O_NONBLOCK) == 0) {
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl22.c | 44 struct flock fl; variable in typeref:struct:flock 66 TEST(fcntl(file, F_SETLK, &fl)); 113 fl.l_type = F_WRLCK; 114 fl.l_whence = 0; 115 fl.l_start = 0; 116 fl.l_len = 0; 118 if (fcntl(file, F_SETLK, &fl) < 0)
|
/external/ltp/testcases/kernel/syscalls/inotify_init/ |
H A D | inotify_init1_02.c | 121 int fd, fl; local 141 fl = fcntl(fd, F_GETFL); 142 if (fl == -1) { 146 if (fl & O_NONBLOCK) { 158 fl = fcntl(fd, F_GETFL); 159 if (fl == -1) { 163 if ((fl & O_NONBLOCK) == 0) {
|
/external/ltp/testcases/kernel/syscalls/pipe2/ |
H A D | pipe2_02.c | 122 int fds[2], fl, i; local 140 fl = fcntl(fds[i], F_GETFL); 141 if (fl == -1) { 145 if (fl & O_NONBLOCK) { 158 fl = fcntl(fds[i], F_GETFL); 159 if (fl == -1) { 163 if ((fl & O_NONBLOCK) == 0) {
|
/external/ltp/testcases/kernel/syscalls/signalfd4/ |
H A D | signalfd4_02.c | 124 int fd, fl; local 146 fl = fcntl(fd, F_GETFL); 147 if (fl == -1) { 150 if (fl & O_NONBLOCK) { 164 fl = fcntl(fd, F_GETFL); 165 if (fl == -1) { 168 if ((fl & O_NONBLOCK) == 0) {
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
H A D | timerfd03.c | 123 int fd, fl; local 143 fl = fcntl(fd, F_GETFL); 144 if (fl == -1) { 147 if (fl & O_NONBLOCK) { 161 fl = fcntl(fd, F_GETFL); 162 if (fl == -1) { 165 if ((fl & O_NONBLOCK) == 0) {
|
/external/valgrind/none/tests/ |
H A D | mmap_fcntl_bug.c | 18 struct flock fl; local 38 fl.l_type = F_WRLCK; 39 fl.l_whence = SEEK_SET; 40 fl.l_start = 0; 41 fl.l_len = 1; 44 if (fcntl(fd, F_SETLK, &fl) != 0) 56 if (fcntl(fd, F_SETLK, &fl) == 0)
|