Home
last modified time | relevance | path

Searched refs:dev_null (Results 1 – 6 of 6) sorted by relevance

/third_party/selinux/libsepol/fuzz/
Dsecilc-fuzzer.c18 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/
Dbind01.c21 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/
Dexec_process.cc226 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/
DGtest-dyn1.c162 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/
Dtest-spawn.c1514 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/
Dtest_subprocess.py3176 open(os.devnull, 'wb') as dev_null:
3179 mock_proc_stdin.fileno.return_value = dev_null.fileno()