Home
last modified time | relevance | path

Searched refs:infd (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_posix_libcdep.cc105 int *infd = NULL; in StartSymbolizerSubprocess() local
124 if (infd == NULL) { in StartSymbolizerSubprocess()
125 infd = sock_pair[i]; in StartSymbolizerSubprocess()
129 if (sock_pair[j] == infd) continue; in StartSymbolizerSubprocess()
137 CHECK(infd); in StartSymbolizerSubprocess()
144 internal_close(infd[0]); in StartSymbolizerSubprocess()
145 internal_close(infd[1]); in StartSymbolizerSubprocess()
156 internal_dup2(infd[1], STDOUT_FILENO); in StartSymbolizerSubprocess()
159 internal_close(infd[0]); in StartSymbolizerSubprocess()
160 internal_close(infd[1]); in StartSymbolizerSubprocess()
[all …]
/external/toybox/toys/posix/
Dsplit.c38 static void do_split(int infd, char *in)
46 fstat(infd, &st);
54 if (!(len = xread(infd, toybuf, sizeof(toybuf)))) break;
92 if (infd) close(infd);
/external/curl/docs/examples/
Dsendrecv.c32 fd_set infd, outfd, errfd; in wait_on_socket() local
38 FD_ZERO(&infd); in wait_on_socket()
46 FD_SET(sockfd, &infd); in wait_on_socket()
54 res = select(sockfd + 1, &infd, &outfd, &errfd, &tv); in wait_on_socket()
/external/elfutils/tests/
Decp.c37 int infd = open (argv[1], O_RDONLY); in main() local
38 if (infd == -1) in main()
41 Elf *inelf = elf_begin (infd, ELF_C_READ, NULL); in main()
/external/curl/src/
Dtool_operate.c468 int infd; in operate_do() local
483 infd = STDIN_FILENO; in operate_do()
658 infd = -1; in operate_do()
665 infd = open(uploadfile, O_RDONLY | O_BINARY); in operate_do()
668 infd = open(uploadfile, O_RDONLY | O_BINARY, in operate_do()
672 if(infd == -1) in operate_do()
674 infd = open(uploadfile, O_RDONLY | O_BINARY); in operate_do()
675 if((infd == -1) || fstat(infd, &fileinfo)) in operate_do()
679 if(infd != -1) { in operate_do()
680 close(infd); in operate_do()
[all …]
/external/ppp/pppd/
Dmain.c1591 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument
1628 if (infd == 1 || infd == 2) in safe_fork()
1629 infd = dup(infd); in safe_fork()
1638 if (infd != 0) in safe_fork()
1639 dup2(infd, 0); in safe_fork()
1653 if (infd != 0) in safe_fork()
1654 close(infd); in safe_fork()
/external/toybox/toys/pending/
Dcompress.c133 int infd, outfd;
428 len = readall(TT.infd, data+(TT.len&32768), 32768); in deflate()
535 TT.infd = fd; in do_gzip()
/external/toybox/generated/
Dglobals.h410 int infd, outfd; member