Home
last modified time | relevance | path

Searched refs:devnull (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dsunos57-select.c53 static struct stat devnull; variable
70 devnull_set = stat ("/dev/null", &devnull); in rpl_select()
97 && sb.st_dev == devnull.st_dev in rpl_select()
98 && sb.st_ino == devnull.st_ino in rpl_select()
99 && sb.st_mode == devnull.st_mode in rpl_select()
100 && sb.st_uid == devnull.st_uid in rpl_select()
101 && sb.st_gid == devnull.st_gid in rpl_select()
102 && sb.st_size == devnull.st_size in rpl_select()
103 && sb.st_blocks == devnull.st_blocks in rpl_select()
104 && sb.st_blksize == devnull.st_blksize) in rpl_select()
/netbsd-src/lib/libc/gen/
H A Dwordexp.c133 int devnull; in we_askshell() local
142 if ((devnull = open(_PATH_DEVNULL, O_RDWR, 0666)) < 0) in we_askshell()
144 if (dup2(devnull, STDERR_FILENO) < 0) in we_askshell()
146 close(devnull); in we_askshell()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D01-test_symbol_presence.t38 open STDERR, ">", devnull();
39 open STDOUT, ">", devnull();
H A D15-test_out_option.t65 my $path = File::Spec->canonpath(File::Spec->devnull());
/netbsd-src/usr.bin/patch/
H A Dinp.c144 int ifd, statfailed, devnull, pstat; in plan_a() local
232 devnull = open("/dev/null", O_RDONLY); in plan_a()
233 if (devnull == -1) { in plan_a()
237 (void)dup2(devnull, STDOUT_FILENO); in plan_a()
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D01-test_symbol_presence.t50 open STDERR, ">", devnull();
51 open STDOUT, ">", devnull();
H A D04-test_provider_pkey.t16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
H A D04-test_provider_fallback.t16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
H A D15-test_out_option.t65 my $path = File::Spec->canonpath(File::Spec->devnull());
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/
H A Dcompiler.py220 source_files = os.devnull
247 cmd, out, err, rc = self.compile(os.devnull, out=os.devnull,
288 cmd = self.compileCmd('-', os.devnull, flags)
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dbuffer.c1982 static struct stat devnull; variable
2013 devnull_set = stat ("/dev/null", &devnull); in fd_buffer_block()
2018 && sb.st_dev == devnull.st_dev in fd_buffer_block()
2019 && sb.st_ino == devnull.st_ino in fd_buffer_block()
2020 && sb.st_mode == devnull.st_mode in fd_buffer_block()
2021 && sb.st_uid == devnull.st_uid in fd_buffer_block()
2022 && sb.st_gid == devnull.st_gid in fd_buffer_block()
2023 && sb.st_size == devnull.st_size in fd_buffer_block()
2024 && sb.st_blocks == devnull.st_blocks in fd_buffer_block()
2025 && sb.st_blksize == devnull.st_blksize); in fd_buffer_block()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_dtls.c576 unsigned char devnull[256]; in dtls1_reassemble_fragment() local
580 devnull, in dtls1_reassemble_fragment()
582 sizeof(devnull) ? sizeof(devnull) : in dtls1_reassemble_fragment()
673 unsigned char devnull[256]; in dtls1_process_out_of_seq_message() local
677 devnull, in dtls1_process_out_of_seq_message()
679 sizeof(devnull) ? sizeof(devnull) : in dtls1_process_out_of_seq_message()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dstatem_dtls.c641 unsigned char devnull[256]; in dtls1_reassemble_fragment() local
645 devnull, in dtls1_reassemble_fragment()
647 sizeof(devnull) ? sizeof(devnull) : in dtls1_reassemble_fragment()
738 unsigned char devnull[256]; in dtls1_process_out_of_seq_message() local
742 devnull, in dtls1_process_out_of_seq_message()
744 sizeof(devnull) ? sizeof(devnull) : in dtls1_process_out_of_seq_message()
/netbsd-src/libexec/makewhatis/
H A Dmakewhatis.c777 static int devnull = -1; in nroff() local
783 if ((devnull < 0) && in nroff()
784 ((devnull = open(_PATH_DEVNULL, O_WRONLY, 0)) < 0)) in nroff()
832 if (devnull != STDERR_FILENO) { in nroff()
833 (void)dup2(devnull, STDERR_FILENO); in nroff()
834 (void)close(devnull); in nroff()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/
H A Dmingw.py122 with open(os.devnull, 'w') as devnull:
123 subprocess.check_call(cmd, stdout = devnull)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/
H A Dmingw.py122 with open(os.devnull, 'w') as devnull:
123 subprocess.check_call(cmd, stdout = devnull)
/netbsd-src/tests/fs/common/
H A Dfstest_nfs.c85 int devnull; in donewfs() local
135 if (read(pipes[0], &devnull, 4) == -1) in donewfs()
/netbsd-src/external/gpl3/gcc.old/dist/contrib/header-tools/
H A Dheaderutils.py480 devnull = open('/dev/null', 'w')
487 process = subprocess.Popen(command, stdout=devnull, stderr=subprocess.PIPE, shell=True)
493 devnull = open('/dev/null', 'w')
501 c = subprocess.Popen(command, bufsize=-1, stdout=devnull, stderr=subprocess.PIPE, shell=True)
/netbsd-src/external/gpl3/gcc/dist/contrib/header-tools/
H A Dheaderutils.py480 devnull = open('/dev/null', 'w')
487 process = subprocess.Popen(command, stdout=devnull, stderr=subprocess.PIPE, shell=True)
493 devnull = open('/dev/null', 'w')
501 c = subprocess.Popen(command, bufsize=-1, stdout=devnull, stderr=subprocess.PIPE, shell=True)
/netbsd-src/external/apache2/llvm/dist/clang/utils/
H A Dcreduce-clang-crash.py211 with open(os.devnull, 'w') as devnull:
212 returncode = subprocess.call(testfile, stdout=devnull)
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dformat.py24 …nd = "%{{cxx}} -xc++ {} -Werror -fsyntax-only -Xclang -verify-ignore-unexpected".format(os.devnull)
27 devNull = open(os.devnull, 'w')
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/perl/OpenSSL/
H A DTest.pm456 open STDOUT, ">", devnull();
457 open STDERR, ">", devnull();
1172 my $null = devnull();
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dmisc.c2628 int devnull, ret = 0; in stdfd_devnull() local
2630 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in stdfd_devnull()
2635 if ((do_stdin && dup2(devnull, STDIN_FILENO) == -1) || in stdfd_devnull()
2636 (do_stdout && dup2(devnull, STDOUT_FILENO) == -1) || in stdfd_devnull()
2637 (do_stderr && dup2(devnull, STDERR_FILENO) == -1)) { in stdfd_devnull()
2641 if (devnull > STDERR_FILENO) in stdfd_devnull()
2642 close(devnull); in stdfd_devnull()
2662 int fd, devnull, p[2], i; in subprocess() local
2747 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in subprocess()
2752 if (dup2(devnull, STDIN_FILENO) == -1) { in subprocess()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/util/perl/OpenSSL/
H A DTest.pm460 open STDOUT, ">", devnull();
461 open STDERR, ">", devnull();
1253 my $null = devnull();
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/
H A Dgn.py41 if subprocess.call('gn --version', stdout=open(os.devnull, 'w'),

12