/external/toybox/toys/posix/ |
split.c | 38 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/elfutils/tests/ |
ecp.c | 37 int infd = open (argv[1], O_RDONLY); local 38 if (infd == -1) 41 Elf *inelf = elf_begin (infd, ELF_C_READ, NULL);
|
/external/curl/docs/examples/ |
sendrecv.c | 32 fd_set infd, outfd, errfd; local 38 FD_ZERO(&infd); 46 FD_SET(sockfd, &infd); 54 res = select(sockfd + 1, &infd, &outfd, &errfd, &tv);
|
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_darwin_386.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_amd64.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_darwin_arm.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_arm64.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_dragonfly_amd64.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_freebsd_386.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
syscall_freebsd_amd64.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_freebsd_arm.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_darwin_386.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_amd64.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_darwin_arm.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_arm64.go | 57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 60 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_dragonfly_amd64.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_freebsd_386.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
syscall_freebsd_amd64.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_freebsd_arm.go | 46 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 48 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
/external/xmlrpcpp/src/ |
XmlRpcDispatch.cpp | 84 fd_set inFd, outFd, excFd; 85 FD_ZERO(&inFd); 93 if (it->getMask() & ReadableEvent) FD_SET(fd, &inFd); 102 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, NULL); 108 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, &tv); 127 if (FD_ISSET(fd, &inFd))
|
/system/extras/ext4_utils/ |
ext2simg.c | 124 int infd, outfd; local 166 infd = open(in, O_RDONLY); 168 if (infd < 0) 171 read_ext(infd, verbose); 175 build_sparse_ext(infd, in); 177 close(infd);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_posix_libcdep.cc | 105 int *infd = NULL; local 124 if (infd == NULL) { 125 infd = sock_pair[i]; 129 if (sock_pair[j] == infd) continue; 137 CHECK(infd); 144 internal_close(infd[0]); 145 internal_close(infd[1]); 156 internal_dup2(infd[1], STDOUT_FILENO); 159 internal_close(infd[0]); 160 internal_close(infd[1]) [all...] |
/system/extras/f2fs_utils/ |
f2fs_sparseblock.c | 541 int infd; member in struct:privdata 567 if(read_structure_blk(d->infd, (unsigned long long)pos, d->buf, 1)) { 597 int infd, outfd; local 599 if ((infd = open(in, O_RDONLY)) < 0) { 609 d.infd = infd; 612 struct f2fs_info *info = generate_f2fs_info(infd); 630 close(infd);
|
/external/llvm/lib/Support/Unix/ |
Program.inc | 110 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666); 111 if (InFD == -1) { 118 if (dup2(InFD, FD) == -1) { 120 close(InFD); 123 close(InFD); // Close the original FD
|
/cts/tests/tests/media/src/android/media/cts/ |
NativeDecoderTest.java | 473 AssetFileDescriptor infd = mResources.openRawResourceFd(res); local 483 infd.getParcelFileDescriptor().getFd(), infd.getStartOffset(), infd.getLength(), 488 org.setDataSource(infd.getFileDescriptor(), 489 infd.getStartOffset(), infd.getLength());
|