/external/ltp/testcases/kernel/syscalls/dup2/ |
D | dup201.c | 76 int badfd = -1; variable 86 {&badfd, &goodfd, EBADF, NULL}, 90 {&mystdout, &badfd, EBADF, NULL},
|
/external/selinux/libsemanage/tests/ |
D | test_semanage_store.c | 311 int sourcefd, goodfd, badfd, err; in test_semanage_nc_sort() local 338 badfd = open("nc_sort_malformed", O_RDONLY); in test_semanage_nc_sort() 339 if (badfd < 0) { in test_semanage_nc_sort() 343 fstat(badfd, &sb); in test_semanage_nc_sort() 346 (char *)mmap(NULL, bad_buf_len, PROT_READ, MAP_PRIVATE, badfd, 0); in test_semanage_nc_sort() 368 close(badfd); in test_semanage_nc_sort()
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 87 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, badfd = variable 143 &badfd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0, 147 &olddirfd, TEST_FILE1, &badfd, TEST_DIR2 "/" TEST_FILE1, 0, 151 &badfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 154 &olddirfd, TEST_FILE1, &badfd, dpathname, 0,
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice03.c | 42 static int badfd = -1; variable 56 { &badfd, NULL, &pipes[1], NULL, EBADF }, 57 { &pipes[0], NULL, &badfd, NULL, EBADF },
|
/external/ltp/testcases/kernel/syscalls/flock/ |
D | flock02.c | 20 static int badfd = -1; variable 28 {&badfd, LOCK_SH, EBADF},
|
/external/ltp/testcases/kernel/syscalls/read/ |
D | read02.c | 38 static int badfd = -1; variable 53 {&badfd, &bufaddr, 1, EBADF},
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 78 static int badfd = 100; variable 98 { &badfd, TESTFILE, &badfd, NEW_TESTFILE, EBADF },
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 176 goto badfd; in check_fd() 184 goto badfd; in check_fd() 189 badfd: in check_fd()
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 3384 badfd = -0x5555 variable in SCMRightsTest 3596 array.array("i", [self.badfd]).tobytes()[:-1])]) 3624 array.array("i", [fd0, self.badfd]).tobytes()[:-1]),
|