/external/toybox/toys/posix/ |
D | cpio.c | 157 if (!test) xwrite(fd, data, data == toybuf ? sizeof(toybuf) : size); in cpio_main() 237 xwrite(afd, toybuf, llen); in cpio_main() 238 xwrite(afd, name, nlen); in cpio_main() 242 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main() 248 xwrite(afd, toybuf, llen); in cpio_main() 256 xwrite(afd, toybuf, nlen); in cpio_main() 259 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main() 266 xwrite(afd, toybuf, in cpio_main()
|
D | tail.c | 66 xwrite(1, list->data, list->len); in dump_chunk() 208 if (offset<len) xwrite(1, toybuf+offset, len-offset); in do_tail()
|
D | uname.c | 69 xwrite(1, c, len); in uname_main()
|
D | head.c | 47 xwrite(1, toybuf, i);
|
D | cat.c | 86 } else xwrite(1, toybuf, len); in do_cat()
|
D | uudecode.c | 100 xwrite(ofd, line, out-line);
|
D | split.c | 86 xwrite(outfd, toybuf+pos, j);
|
D | patch.c | 77 xwrite(i, s, strlen(s)); 78 xwrite(i, "\n", 1);
|
D | sort.c | 387 xwrite(fd, s, strlen(s)); in sort_main() 389 xwrite(fd, "\n", 1); in sort_main()
|
/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 | 30 xwrite(fd, swap, 129*sizeof(unsigned int)); in mkswap_main() 32 xwrite(fd, "SWAPSPACE2", 10); in mkswap_main()
|
D | dos2unix.c | 61 xwrite(outfd, toybuf, out); 63 if (catch) xwrite(outfd, "\r", 1);
|
D | nsenter.c | 83 xwrite(fd, toybuf, bytes); 92 xwrite(fd, "deny", 4); in handle_r()
|
D | clear.c | 18 xwrite(1, "\e[2J\e[H", 7); in clear_main()
|
D | reset.c | 22 xwrite(xgettty(), "\033c", 2); in reset_main()
|
D | rfkill.c | 72 xwrite(fd, &rfevent, sizeof(rfevent)); in rfkill_main()
|
D | sysctl.c | 60 xwrite(fd, value, strlen(value)); in write_key()
|
D | netcat.c | 201 xwrite(i ? pollfds[0].fd : 1, toybuf, len); in netcat_main()
|
/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 | 381 xwrite(TT.fsfd, toybuf, out); in put_zeroes() 547 xwrite(TT.fsfd, &TT.sb, sizeof(struct ext2_superblock)); in mke2fs_main() 551 xwrite(TT.fsfd, toybuf, temp); in mke2fs_main() 562 if (j) xwrite(TT.fsfd, bg, TT.blocksize); in mke2fs_main() 597 xwrite(TT.fsfd, bg, TT.blocksize); in mke2fs_main() 613 xwrite(TT.fsfd, toybuf, TT.blocksize); in mke2fs_main() 625 xwrite(TT.fsfd, toybuf, TT.blocksize); in mke2fs_main() 631 if (j) xwrite(TT.fsfd, in, TT.blocksize); in mke2fs_main() 642 xwrite(TT.fsfd, in, TT.blocksize); in mke2fs_main()
|
D | compress.c | 210 xwrite(bb->fd, bb->buf, (bb->bitpos+7)/8); in bitbuf_flush() 240 xwrite(TT.outfd, TT.data, 32768); in data_crc() 410 xwrite(TT.outfd, TT.data, TT.pos & 32767); in inflate() 534 xwrite(bb->fd, "\x1f\x8b\x08\0\0\0\0\0\x02\xff", 10); in do_gzip()
|
D | iconv.c | 61 xwrite(1, outstart, out-outstart);
|
D | bootchartd.c | 59 xwrite(wfd, TT.buf, strlen(TT.buf)); in dump_data_in_file() 62 xwrite(wfd, "\n", 1); in dump_data_in_file()
|
/external/toybox/toys/lsb/ |
D | dmesg.c | 66 xwrite(1, data, to-data);
|
/external/toybox/lib/ |
D | xwrap.c | 311 void xwrite(int fd, void *buf, size_t len) in xwrite() function 608 xwrite(fd, spid, sprintf(spid, "%ld\n", (long)getpid())); in xpidfile() 622 xwrite(out, libbuf, len); in xsendfile()
|