Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dos_unix.c89 int devnull; in os_daemon() local
94 devnull = open("/dev/null", O_RDWR); in os_daemon()
95 if (devnull < 0) in os_daemon()
98 if (dup2(devnull, STDIN_FILENO) < 0) { in os_daemon()
99 close(devnull); in os_daemon()
103 if (dup2(devnull, STDOUT_FILENO) < 0) { in os_daemon()
104 close(devnull); in os_daemon()
108 if (dup2(devnull, STDERR_FILENO) < 0) { in os_daemon()
109 close(devnull); in os_daemon()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c125 int devnull; in os_daemon() local
130 devnull = open("/dev/null", O_RDWR); in os_daemon()
131 if (devnull < 0) in os_daemon()
134 if (dup2(devnull, STDIN_FILENO) < 0) { in os_daemon()
135 close(devnull); in os_daemon()
139 if (dup2(devnull, STDOUT_FILENO) < 0) { in os_daemon()
140 close(devnull); in os_daemon()
144 if (dup2(devnull, STDERR_FILENO) < 0) { in os_daemon()
145 close(devnull); in os_daemon()
/external/dropbear/
Dcli-session.c217 int devnull; in cli_sessionloop() local
220 devnull = open(_PATH_DEVNULL, O_RDONLY); in cli_sessionloop()
221 if (devnull < 0) { in cli_sessionloop()
225 dup2(devnull, STDIN_FILENO); in cli_sessionloop()
/external/webkit/Tools/Scripts/
Drun-api-tests139 open(DEVNULL, ">", File::Spec->devnull()) or die "Failed to open /dev/null";
194 open(DEVNULL, ">", File::Spec->devnull()) or die "Failed to open /dev/null";
255 open(DEVNULL, ">", File::Spec->devnull()) or die "Failed to open /dev/null";
Drun-jsc48 $jsc .= " 2> " . File::Spec->devnull() unless $verbose;
Drun-mangleme-tests156 …while (system("/usr/bin/curl -q --silent --stderr - --output " . File::Spec->devnull() . " $listen…
Dwebkitdirs.pm143 …ts read com.apple.Xcode PBXApplicationwideBuildSettings 2> " . File::Spec->devnull() . " |" or die;
151 …UCT, "defaults read com.apple.Xcode PBXProductDirectory 2> " . File::Spec->devnull() . " |" or die;
704 my $devnull = File::Spec->devnull();
705 return `$command --version 2> $devnull`;
DVCSUtils.pm197 return system("cd $dir && git rev-parse > " . File::Spec->devnull() . " 2>&1") == 0;
307 open INFO, "svn info '$path' 2> " . File::Spec->devnull() . " |" or die;
1666 … open(PATCH, "| patch --force --fuzz=3 --binary $fileNewer > " . File::Spec->devnull()) or die $!;
Dsvn-create-patch81 my $devNull = File::Spec->devnull();
Dresolve-ChangeLogs375 open(PATCH, "| patch -p1 $file > " . File::Spec->devnull()) or die $!;
Dbisect-builds369 my $devNull = File::Spec->devnull();
Dold-run-webkit-tests1434 open(DEVNULL, ">", File::Spec->devnull()) or die "Failed to open /dev/null";
/external/chromium/chrome/browser/
Dshell_integration_linux.cc51 int devnull = open("/dev/null", O_RDONLY); in LaunchXdgUtility() local
52 if (devnull < 0) in LaunchXdgUtility()
55 no_stdin.push_back(std::make_pair(devnull, STDIN_FILENO)); in LaunchXdgUtility()
59 close(devnull); in LaunchXdgUtility()
62 close(devnull); in LaunchXdgUtility()
/external/sepolicy/
Dinitial_sids33 sid devnull
Dinitial_sid_contexts27 sid devnull u:object_r:null_device:s0
/external/openssl/ssl/
Dd1_both.c630 unsigned char devnull [256]; in dtls1_reassemble_fragment() local
635 devnull, in dtls1_reassemble_fragment()
636 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0); in dtls1_reassemble_fragment()
720 unsigned char devnull [256]; in dtls1_process_out_of_seq_message() local
725 devnull, in dtls1_process_out_of_seq_message()
726 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0); in dtls1_process_out_of_seq_message()
/external/openssh/
Dmux.c1639 int devnull, rawmode; in mux_client_request_session() local
1651 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_session()
1653 if (dup2(devnull, STDIN_FILENO) == -1) in mux_client_request_session()
1655 if (devnull > STDERR_FILENO) in mux_client_request_session()
1656 close(devnull); in mux_client_request_session()
1802 int devnull; in mux_client_request_stdio_fwd() local
1814 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_stdio_fwd()
1816 if (dup2(devnull, STDIN_FILENO) == -1) in mux_client_request_stdio_fwd()
1818 if (devnull > STDERR_FILENO) in mux_client_request_stdio_fwd()
1819 close(devnull); in mux_client_request_stdio_fwd()
Dssh.c960 int devnull; in control_persist_detach() local
987 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in control_persist_detach()
991 if (dup2(devnull, STDIN_FILENO) == -1 || in control_persist_detach()
992 dup2(devnull, STDOUT_FILENO) == -1) in control_persist_detach()
994 if (devnull > STDERR_FILENO) in control_persist_detach()
995 close(devnull); in control_persist_detach()
/external/webkit/PerformanceTests/SunSpider/
Dsunspider168 …llArgs . " -f $prefixFile -f resources/sunspider-standalone-driver.js 2> " . File::Spec->devnull();
DChangeLog318 * sunspider: Using File::Spec->devnull() instead of /dev/null and NUL.
/external/clang/tools/scan-view/
Dstartfile.py45 inout = file(os.devnull, 'r+')
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dwebsocket_server.py200 stdin=open(os.devnull, 'r'),
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dexecutive.py147 dev_null = open(os.devnull, "w") # FIXME: Does this need an encoding?
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dscm_unittest.py234 self.dev_null = open(os.devnull, "w") # Used to make our Popen calls quiet.
/external/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf82 sid devnull
1654 sid devnull system_u:object_r:null_device_t:s0

12