Searched refs:dev_null (Results 1 – 6 of 6) sorted by relevance
/third_party/selinux/libsepol/fuzz/ |
D | secilc-fuzzer.c | 18 FILE *dev_null = NULL; in LLVMFuzzerTestOneInput() local 55 dev_null = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput() 56 if (dev_null == NULL) in LLVMFuzzerTestOneInput() 62 sepol_policy_file_set_fp(pf, dev_null); in LLVMFuzzerTestOneInput() 67 if (dev_null != NULL) in LLVMFuzzerTestOneInput() 68 fclose(dev_null); in LLVMFuzzerTestOneInput()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 21 int dev_null; variable 36 { &dev_null, (struct sockaddr *)&sin1, sizeof(sin1), -1, 82 dev_null = SAFE_OPEN("/dev/null", O_WRONLY); in test_setup() 88 SAFE_CLOSE(dev_null); in test_cleanup()
|
/third_party/gn/src/gn/ |
D | exec_process.cc | 226 int dev_null = open("/dev/null", O_WRONLY); 227 if (dev_null < 0) 234 fd_shuffle1.push_back(base::InjectionArc(dev_null, STDIN_FILENO, true));
|
/third_party/libunwind/tests/ |
D | Gtest-dyn1.c | 162 dev_null (const char *format UNUSED, ...) in dev_null() function 219 (*funcp) (10, funcp, dev_null, "iteration %c%s\n", strarr); in main()
|
/third_party/libuv/test/ |
D | test-spawn.c | 1514 const char dev_null[] = "NUL"; in TEST_IMPL() local 1518 const char dev_null[] = "/dev/null"; in TEST_IMPL() local 1521 r = uv_fs_open(NULL, &fs_req, dev_null, O_RDWR, 0, NULL); in TEST_IMPL()
|
/third_party/python/Lib/test/ |
D | test_subprocess.py | 3176 open(os.devnull, 'wb') as dev_null: 3179 mock_proc_stdin.fileno.return_value = dev_null.fileno()
|