Home
last modified time | relevance | path

Searched refs:readall (Results 1 – 25 of 25) sorted by relevance

/external/toybox/toys/posix/
Dcmp.c47 len1 = readall(TT.fd, toybuf, size);
48 len2 = readall(fd, buf2, size);
Dexpand.c39 len = readall(fd, toybuf, sizeof(toybuf)); in do_expand()
Dtail.c53 line->len = readall(fd, line->data, len); in get_chunk()
Dcpio.c265 if (nlen != readall(fd, toybuf, nlen)) in cpio_main()
Dod.c208 len = readall(fd, buf, len); in do_od()
/external/toybox/toys/pending/
Dgetty.c188 size = readall(STDIN_FILENO, TT.buff, sizeof(TT.buff)-1); in sense_baud()
227 while ((size = readall(fd, buff, 1)) > 0) { in write_issue()
231 if (readall(fd, buff, 1) <= 0) perror_exit("readall"); in write_issue()
317 while (readall(STDIN_FILENO, &ch, 1) != 1) in getty_main()
Dlogger.c66 toybuf[readall(0, toybuf, 4096-1)] = '\0'; in logger_main()
Ddumpleases.c53 (readall(fd, &lease_struct, sizeof(lease_struct)))) { in dumpleases_main()
Dbootchartd.c85 if ((len = readall(fd, toybuf, sizeof(toybuf)-1)) < 0) { in dump_proc_data()
232 if ((len = readall(kcmd_line_fd, toybuf, sizeof(toybuf)-1)) > 0) { in stop_logging()
Dtelnetd.c165 while ((size = readall(fd, &ch, 1)) > 0) { in write_issue()
167 if (readall(fd, &ch, 1) <= 0) perror_exit("readall!"); in write_issue()
Dfile.c107 || dllen!=readall(fd, toybuf+128, dllen)) break;
Dtftpd.c148 len = readall(fd, ptr, blksize); in do_action()
Dtar.c526 if (readall(tar->src_fd, buf, size) != size) error_exit("short read"); in process_extended_hdr()
583 i = readall(tar_hdl->src_fd, &tar, 512); in unpack_tar()
Dcompress.c428 len = readall(TT.infd, data+(TT.len&32768), 32768); in deflate()
Dtftp.c207 nbytesread = readall(fd, &packet[TFTP_DATAHEADERSIZE], TFTP_DATASIZE); in mkpkt_data()
Dfdisk.c262 if (g_sect_size != readall(dev_fd, sec_buf, g_sect_size)) { in read_ebr()
361 if (SECTOR_SIZE != readall(dev_fd, MBRbuf, SECTOR_SIZE)) { in read_mbr()
/external/toybox/toys/other/
Drfkill.c75 while (sizeof(rfevent) == readall(fd, &rfevent, sizeof(rfevent))) { in rfkill_main()
Dxxd.c43 while (0<(len = readall(fd, toybuf, (TT.l && TT.l-pos<TT.c)?TT.l-pos:TT.c))) {
Dinotifyd.c82 len = readall(fds.fd, buf, len); in inotifyd_main()
Dblkid.c71 len = readall(fd, toybuf, sizeof(toybuf)); in do_blkid()
Dacpi.c57 len = readall(fd, toybuf, sizeof(toybuf)); in acpi_callback()
/external/toybox/lib/
Dlib.c105 ssize_t readall(int fd, void *buf, size_t len) in readall() function
150 or = readall(fd, libbuf, try); in lskip()
469 rlen = readall(fd, rbuf, len); in readfileat()
Dlib.h163 ssize_t readall(int fd, void *buf, size_t len);
Dxwrap.c360 if (len != readall(fd, buf, len)) perror_exit("xreadall"); in xreadall()
/external/toybox/toys/lsb/
Dmount.c236 len = readall(pipe, toybuf, sizeof(toybuf)-1); in mount_filesystem()