/external/u-boot/tools/ |
D | mxsboot.c | 419 static int mx28_nand_write_firmware(struct mx28_nand_fcb *fcb, int infd, in mx28_nand_write_firmware() argument 426 size = lseek(infd, 0, SEEK_END); in mx28_nand_write_firmware() 427 lseek(infd, 0, SEEK_SET); in mx28_nand_write_firmware() 432 ret = read(infd, buf + offset1, size); in mx28_nand_write_firmware() 464 static int mx28_create_nand_image(int infd, int outfd) in mx28_create_nand_image() argument 507 ret = mx28_nand_write_firmware(fcb, infd, buf); in mx28_create_nand_image() 531 static int mx28_create_sd_image(int infd, int outfd) in mx28_create_sd_image() argument 540 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image() 541 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image() 550 ret = read(infd, (uint8_t *)buf + 4 * 512, fsize); in mx28_create_sd_image() [all …]
|
/external/toybox/toys/posix/ |
D | split.c | 36 static void do_split(int infd, char *in) 44 fstat(infd, &st); 52 if (!(len = xread(infd, toybuf, sizeof(toybuf)))) break; 90 if (infd) close(infd);
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_write_buffer.c | 195 int sg_fd, infd, res, c, len, k, n; in main() local 391 infd = STDIN_FILENO; in main() 393 if ((infd = open(file_name, O_RDONLY)) < 0) { in main() 399 } else if (sg_set_binary_mode(infd) < 0) in main() 402 if (lseek(infd, wb_skip, SEEK_SET) < 0) { in main() 406 close(infd); in main() 412 res = read(infd, dop, wb_len); in main() 418 close(infd); in main() 442 close(infd); in main()
|
/external/u-boot/tools/patman/ |
D | test.py | 73 infd = os.fdopen(inhandle, 'w') 74 infd.write(data) 75 infd.close() 211 infd = os.fdopen(inhandle, 'w') 213 infd.write(data) 214 infd.close()
|
D | patchstream.py | 348 def ProcessStream(self, infd, outfd): argument 362 line = infd.readline() 456 infd = open(fname, 'r') 459 ps.ProcessStream(infd, outfd) 460 infd.close()
|
/external/curl/docs/examples/ |
D | sendrecv.c | 35 fd_set infd, outfd, errfd; in wait_on_socket() local 41 FD_ZERO(&infd); in wait_on_socket() 48 FD_SET(sockfd, &infd); in wait_on_socket() 55 res = select((int)sockfd + 1, &infd, &outfd, &errfd, &tv); in wait_on_socket()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_posix_libcdep.cc | 159 int *infd = NULL; in StartSymbolizerSubprocess() local 178 if (infd == NULL) { in StartSymbolizerSubprocess() 179 infd = sock_pair[i]; in StartSymbolizerSubprocess() 183 if (sock_pair[j] == infd) continue; in StartSymbolizerSubprocess() 191 CHECK(infd); in StartSymbolizerSubprocess() 197 /* stdout */ infd[1]); in StartSymbolizerSubprocess() 199 internal_close(infd[0]); in StartSymbolizerSubprocess() 204 input_fd_ = infd[0]; in StartSymbolizerSubprocess()
|
/external/elfutils/tests/ |
D | ecp.c | 37 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/toybox/lib/ |
D | deflate.c | 29 int infd, outfd; member 324 len = readall(dd->infd, data+(dd->len&32768), 32768); in deflate() 425 long long gzip_fd(int infd, int outfd) in gzip_fd() argument 436 dd->infd = infd; in gzip_fd() 459 long long gunzip_fd(int infd, int outfd) in gunzip_fd() argument 461 struct bitbuf *bb = bitbuf_init(infd, 4096); in gunzip_fd()
|
D | lib.h | 345 long long gzip_fd(int infd, int outfd); 346 long long gunzip_fd(int infd, int outfd);
|
/external/curl/src/ |
D | tool_operate.c | 495 int infd; in operate_do() local 510 infd = STDIN_FILENO; in operate_do() 676 infd = -1; in operate_do() 683 infd = open(uploadfile, O_RDONLY | O_BINARY); in operate_do() 686 infd = open(uploadfile, O_RDONLY | O_BINARY, in operate_do() 690 if(infd == -1) in operate_do() 692 infd = open(uploadfile, O_RDONLY | O_BINARY); in operate_do() 693 if((infd == -1) || fstat(infd, &fileinfo)) in operate_do() 697 if(infd != -1) { in operate_do() 698 close(infd); in operate_do() [all …]
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | syscall_freebsd_arm.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offs…
|
D | syscall_freebsd_386.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offs…
|
D | syscall_freebsd_amd64.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count)…
|
D | syscall_dragonfly_amd64.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count)…
|
D | syscall_darwin_386.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offse…
|
D | syscall_darwin_arm64.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 …_, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe…
|
D | syscall_darwin_amd64.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 …_, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe…
|
D | syscall_darwin_arm.go | 49 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 52 …_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offse…
|
D | syscall_unix.go | 362 func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 366 return sendfile(outfd, infd, offset, count)
|
D | syscall_openbsd.go | 81 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
D | syscall_netbsd.go | 128 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
D | zsyscall_solaris_amd64.go | 1611 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 1612 …r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendfile)), 4, uintptr(outfd), uintptr(infd), …
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 213 int infd; member 247 int infd; member 2212 int infd, outfd, blocks; in do_scsi_device_read_write() local 2255 infd = STDIN_FILENO; in do_scsi_device_read_write() 2268 if ((infd = open(inf, O_RDWR)) < 0) { in do_scsi_device_read_write() 2276 res = ioctl(infd, SG_SET_RESERVED_SIZE, &t); in do_scsi_device_read_write() 2279 res = ioctl(infd, SG_GET_VERSION_NUM, &t); in do_scsi_device_read_write() 2294 infd = open(inf, O_RDONLY | O_DIRECT); in do_scsi_device_read_write() 2296 infd = open(inf, O_RDONLY); in do_scsi_device_read_write() 2297 if (infd < 0) { in do_scsi_device_read_write() [all …]
|
/external/ppp/pppd/ |
D | main.c | 1565 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument 1602 if (infd == 1 || infd == 2) in safe_fork() 1603 infd = dup(infd); in safe_fork() 1612 if (infd != 0) in safe_fork() 1613 dup2(infd, 0); in safe_fork() 1627 if (infd != 0) in safe_fork() 1628 close(infd); in safe_fork()
|