/external/toybox/toys/posix/ |
D | cpio.c | 166 if (!test) xwrite(fd, data, data == toybuf ? sizeof(toybuf) : size); in cpio_main() 249 xwrite(afd, toybuf, llen); in cpio_main() 250 xwrite(afd, name, nlen); in cpio_main() 254 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main() 260 xwrite(afd, toybuf, llen); in cpio_main() 268 xwrite(afd, toybuf, nlen); in cpio_main() 271 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main() 279 xwrite(afd, toybuf, in cpio_main()
|
D | tail.c | 68 xwrite(1, list->data, list->len); in dump_chunk() 218 if (offset<len) xwrite(1, toybuf+offset, len-offset); in do_tail() 264 xwrite(1, toybuf, len); in tail_main()
|
D | uname.c | 70 xwrite(1, c, len); in uname_main()
|
D | cat.c | 89 } else xwrite(1, toybuf, len); in do_cat()
|
D | head.c | 56 xwrite(1, toybuf, i);
|
D | iconv.c | 59 if (out != outstart) xwrite(1, outstart, out-outstart); in do_iconv()
|
D | patch.c | 77 xwrite(i, s, strlen(s)); in do_line() 78 xwrite(i, "\n", 1); in do_line()
|
D | uudecode.c | 101 xwrite(ofd, line, out-line);
|
D | split.c | 84 xwrite(outfd, toybuf+pos, j);
|
/external/toybox/toys/other/ |
D | count.c | 28 xwrite(1, toybuf, len); in count_main() 29 xwrite(2, buf, sprintf(buf, "%"PRIu64" bytes\r", size)); in count_main() 31 xwrite(2, "\n", 1); in count_main()
|
D | mkswap.c | 38 xwrite(fd, swap, 129*sizeof(unsigned int)); 40 xwrite(fd, "SWAPSPACE2", 10);
|
D | dos2unix.c | 61 xwrite(outfd, toybuf, out); 63 if (catch) xwrite(outfd, "\r", 1);
|
D | nsenter.c | 87 xwrite(fd, toybuf, bytes); 96 xwrite(fd, "deny", 4); in handle_r()
|
D | reset.c | 25 xwrite(fd<0 ? 1 : fd, "\033c\033[?7h", 2); in reset_main()
|
D | sysctl.c | 60 xwrite(fd, value, strlen(value)); in write_key()
|
/external/toybox/toys/pending/ |
D | fold.c | 50 xwrite(1, buf, pos); 81 xwrite(1, buf, split + 1); 89 xwrite(1, buf, bufsz);
|
D | mke2fs.c | 492 xwrite(TT.fsfd, toybuf, out); in put_zeroes() 659 xwrite(TT.fsfd, &sb, sizeof(struct ext2_superblock)); in mke2fs_main() 663 xwrite(TT.fsfd, toybuf, temp); in mke2fs_main() 674 if (j) xwrite(TT.fsfd, bg, TT.blocksize); in mke2fs_main() 709 xwrite(TT.fsfd, bg, TT.blocksize); in mke2fs_main() 725 xwrite(TT.fsfd, toybuf, TT.blocksize); in mke2fs_main() 737 xwrite(TT.fsfd, toybuf, TT.blocksize); in mke2fs_main() 743 if (j) xwrite(TT.fsfd, in, TT.blocksize); in mke2fs_main() 754 xwrite(TT.fsfd, in, TT.blocksize); in mke2fs_main()
|
D | telnet.c | 105 xwrite(1,"\r\nConsole escape. Commands are:\r\n\n" in handle_esc() 148 xwrite(1, "continuing...\r\n", 15); in handle_esc() 262 if (i) xwrite(STDIN_FILENO, toybuf, i); in read_server() 284 if(i) xwrite(TT.sfd, toybuf, i); in write_server()
|
D | bootchartd.c | 60 xwrite(wfd, TT.buf, strlen(TT.buf)); in dump_data_in_file() 63 xwrite(wfd, "\n", 1); in dump_data_in_file()
|
/external/toybox/toys/net/ |
D | microcom.c | 66 if (n > 0) xwrite(0, buf, n); in microcom_main() 79 xwrite(TT.fd, buf, 1); in microcom_main()
|
D | rfkill.c | 72 xwrite(fd, &rfevent, sizeof(rfevent)); in rfkill_main()
|
/external/toybox/lib/ |
D | deflate.c | 105 xwrite(bb->fd, bb->buf, (bb->bitpos+7)>>3); in bitbuf_flush() 137 xwrite(dd->outfd, dd->data, 32768); in output_byte() 308 xwrite(dd->outfd, dd->data, dd->pos&32767); in inflate() 437 xwrite(bb->fd, "\x1f\x8b\x08\0\0\0\0\0\x02\xff", 10); in gzip_fd()
|
D | xwrap.c | 491 void xwrite(int fd, void *buf, size_t len) in xwrite() function 796 xwrite(fd, spid, sprintf(spid, "%ld\n", (long)getpid())); in xpidfile() 814 xwrite(out, libbuf, len); in sendfile_len() 841 xwrite(out, libbuf, i); in xsendfile_pad()
|
/external/toybox/toys/android/ |
D | sendevent.c | 36 xwrite(fd, &ev, sizeof(ev)); in sendevent_main()
|
/external/toybox/toys/example/ |
D | logwrapper.c | 52 xwrite(i, s, ss-s); in logwrapper_main()
|