HomeSort by relevance Sort by last modified time
    Searched refs:null_fd (Results 1 - 4 of 4) sorted by null

  /external/libusb/tests/
libusb_testlib.h 59 int null_fd; member in struct:__anon24238
testlib.c 92 if (ctx->null_fd != INVALID_FD) {
93 close(ctx->null_fd);
94 ctx->null_fd = INVALID_FD;
128 ctx->null_fd = open(NULL_PATH, O_WRONLY);
129 if (ctx->null_fd < 0) {
130 ctx->null_fd = INVALID_FD;
135 if ((dup2(ctx->null_fd, STDOUT_FILENO) < 0) ||
136 (dup2(ctx->null_fd, STDERR_FILENO) < 0)) {
186 ctx.null_fd = INVALID_FD;
  /external/autotest/client/site_tests/kernel_SchedBandwith/
kernel_SchedBandwith.py 104 null_fd = open("/dev/null", "w")
106 task = subprocess.Popen(cmd, stdout=null_fd)
  /external/libchrome/base/process/
launch_posix.cc 380 base::ScopedFD null_fd(HANDLE_EINTR(open("/dev/null", O_RDONLY)));
381 if (!null_fd.is_valid()) {
386 int new_fd = HANDLE_EINTR(dup2(null_fd.get(), STDIN_FILENO));

Completed in 71 milliseconds