/external/curl/src/ |
tool_main.h | 35 #ifndef STDOUT_FILENO 36 # define STDOUT_FILENO fileno(stdout)
|
/device/generic/goldfish/network/netmgr/ |
log.cpp | 25 isTerminal = isatty(STDOUT_FILENO) != 0;
|
/external/curl/tests/libtest/ |
lib556.c | 31 #ifndef STDOUT_FILENO 32 #define STDOUT_FILENO 1 91 if(!write(STDOUT_FILENO, buf, iolen))
|
/external/protobuf/src/google/protobuf/testing/ |
zcgunzip.cc | 50 #ifndef STDOUT_FILENO 51 #define STDOUT_FILENO 1 74 int err = write(STDOUT_FILENO, inptr, inlen);
|
zcgzip.cc | 49 #ifndef STDOUT_FILENO 50 #define STDOUT_FILENO 1 61 FileOutputStream fout(STDOUT_FILENO);
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
daemon.c | 58 (void)dup2(fd, STDOUT_FILENO);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
closed-fds.cc | 21 close(STDOUT_FILENO);
|
/external/openssh/openbsd-compat/ |
daemon.c | 73 (void)dup2(fd, STDOUT_FILENO);
|
/external/vboot_reference/host/lib/ |
host_signature.c | 193 close(c_to_p[STDOUT_FILENO]); 196 if (write(p_to_c[STDOUT_FILENO], inbuf, size) != size) { 200 close(p_to_c[STDOUT_FILENO]); /* Send EOF to child (signer process). */ 217 close (p_to_c[STDOUT_FILENO]); 230 if (STDOUT_FILENO != c_to_p[STDOUT_FILENO]) { 231 if (dup2(c_to_p[STDOUT_FILENO], STDOUT_FILENO) != STDOUT_FILENO) { 233 close(c_to_p[STDOUT_FILENO]); [all...] |
/external/compiler-rt/test/tsan/ |
fd_stdout_race.cc | 21 write(STDOUT_FILENO, "a", 1);
|
/frameworks/av/media/libeffects/factory/test/ |
DumpConfig.cpp | 63 if (EffectDumpEffects(STDOUT_FILENO) != 0) {
|
/external/gptfdisk/ |
sgdisk.cc | 41 int stdout = dup(STDOUT_FILENO); 43 dup2(silence, STDOUT_FILENO);
|
/external/linux-kselftest/tools/testing/selftests/size/ |
get_size.c | 27 #define STDOUT_FILENO 1 31 return write(STDOUT_FILENO, s, __builtin_strlen(s));
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite02.c | 77 ret = write(STDOUT_FILENO, "get wrong signal\n", 80 ret = write(STDOUT_FILENO, "caught SIGXFSZ\n",
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/ |
CanonRead.c | 67 OutMode = IIO_GetOutputSize(STDOUT_FILENO, &MaxColumn, &MaxRow);
77 if (IIO_GetCursorPosition(STDOUT_FILENO, &This->InitialXY.Column, &This->InitialXY.Row) >= 0) {
85 fpOut = &gMD->fdarray[STDOUT_FILENO];
|
/bionic/tests/ |
fortify_filecheck_diagnostics_test.cpp | 269 pwrite64(STDOUT_FILENO, buf, 5, 0); 275 pwrite64(STDOUT_FILENO, buf, SIZE_MAX, 0); 281 pwrite64(STDOUT_FILENO, buf, SIZE_MAX, 0); 287 write(STDOUT_FILENO, buf, 5);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pty.py | 16 STDOUT_FILENO = 1
116 os.dup2(slave_fd, STDOUT_FILENO)
122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
150 os.write(STDOUT_FILENO, data)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-3.c | 75 #define WRITE(str) write(STDOUT_FILENO, str, sizeof(str) - 1)
|
/external/protobuf/src/google/protobuf/compiler/ |
plugin.cc | 44 #ifndef STDOUT_FILENO 45 #define STDOUT_FILENO 1 164 _setmode(STDOUT_FILENO, _O_BINARY); 178 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) {
|
/external/python/cpython2/Lib/ |
pty.py | 16 STDOUT_FILENO = 1 116 os.dup2(slave_fd, STDOUT_FILENO) 122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) 153 os.write(STDOUT_FILENO, data)
|
/external/python/cpython3/Lib/ |
pty.py | 16 STDOUT_FILENO = 1 105 os.dup2(slave_fd, STDOUT_FILENO) 111 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) 142 os.write(STDOUT_FILENO, data)
|
/external/tensorflow/tensorflow/core/platform/ |
stacktrace_handler_test.cc | 44 dup2(test_pipe[1], STDOUT_FILENO);
|
/frameworks/av/media/libaudioclient/tests/ |
test_create_utils.cpp | 78 int outputFileFd = STDOUT_FILENO; 126 if (outputFileFd >= 0 && outputFileFd != STDOUT_FILENO) {
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
libcontainer_target_unittest.cc | 30 original_stdout_fd_.reset(dup(STDOUT_FILENO)); 35 CHECK(dup2(pipe_fds[1], STDOUT_FILENO) != -1); 40 CHECK(dup2(original_stdout_fd_.get(), STDOUT_FILENO) != -1); 110 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; 145 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; 190 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO};
|
/external/selinux/policycoreutils/run_init/ |
open_init_pty.c | 212 setfd_block(STDOUT_FILENO); 260 if (tcgetattr(STDOUT_FILENO, &tty_attr) < 0) { 266 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &window_size) < 0) { 304 setfd_nonblock(STDOUT_FILENO); 341 FD_SET(STDOUT_FILENO, &writefds); 366 if (FD_ISSET(STDOUT_FILENO, &writefds)) { 370 ssize_t n = rb_write(&outbuf, STDOUT_FILENO);
|