/netbsd-src/external/gpl2/xcvs/dist/lib/ |
H A D | sunos57-select.c | 53 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 D | wordexp.c | 133 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 D | 01-test_symbol_presence.t | 38 open STDERR, ">", devnull(); 39 open STDOUT, ">", devnull();
|
H A D | 15-test_out_option.t | 65 my $path = File::Spec->canonpath(File::Spec->devnull());
|
/netbsd-src/usr.bin/patch/ |
H A D | inp.c | 144 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 D | 01-test_symbol_presence.t | 50 open STDERR, ">", devnull(); 51 open STDOUT, ">", devnull();
|
H A D | 04-test_provider_pkey.t | 16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
|
H A D | 04-test_provider_fallback.t | 16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
|
H A D | 15-test_out_option.t | 65 my $path = File::Spec->canonpath(File::Spec->devnull());
|
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/ |
H A D | compiler.py | 220 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 D | buffer.c | 1982 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 D | statem_dtls.c | 576 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 D | statem_dtls.c | 641 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 D | makewhatis.c | 777 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 D | mingw.py | 122 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 D | mingw.py | 122 with open(os.devnull, 'w') as devnull: 123 subprocess.check_call(cmd, stdout = devnull)
|
/netbsd-src/tests/fs/common/ |
H A D | fstest_nfs.c | 85 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 D | headerutils.py | 480 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 D | headerutils.py | 480 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 D | creduce-clang-crash.py | 211 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 D | format.py | 24 …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 D | Test.pm | 456 open STDOUT, ">", devnull(); 457 open STDERR, ">", devnull(); 1172 my $null = devnull();
|
/netbsd-src/crypto/external/bsd/openssh/dist/ |
H A D | misc.c | 2628 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 D | Test.pm | 460 open STDOUT, ">", devnull(); 461 open STDERR, ">", devnull(); 1253 my $null = devnull();
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/ |
H A D | gn.py | 41 if subprocess.call('gn --version', stdout=open(os.devnull, 'w'),
|