/external/toybox/toys/other/ |
H A D | clear.c | 18 xwrite(1, "\e[2J\e[H", 7);
|
H A D | reset.c | 22 xwrite(xgettty(), "\033c", 2);
|
H A D | count.c | 28 xwrite(1, toybuf, len); 29 xwrite(2, buf, sprintf(buf, "%"PRIu64" bytes\r", size)); 31 xwrite(2, "\n", 1);
|
H A D | mkswap.c | 30 xwrite(fd, swap, 129*sizeof(unsigned int)); 32 xwrite(fd, "SWAPSPACE2", 10);
|
H A D | dos2unix.c | 61 xwrite(outfd, toybuf, out); 63 if (catch) xwrite(outfd, "\r", 1);
|
H A D | nsenter.c | 83 xwrite(fd, toybuf, bytes); 92 xwrite(fd, "deny", 4);
|
H A D | rfkill.c | 72 xwrite(fd, &rfevent, sizeof(rfevent));
|
H A D | sysctl.c | 60 xwrite(fd, value, strlen(value));
|
H A D | netcat.c | 201 xwrite(i ? pollfds[0].fd : 1, toybuf, len);
|
/external/toybox/toys/pending/ |
H A D | fold.c | 50 xwrite(1, buf, pos); 81 xwrite(1, buf, split + 1); 89 xwrite(1, buf, bufsz);
|
H A D | iconv.c | 61 xwrite(1, outstart, out-outstart);
|
H A D | mke2fs.c | 381 xwrite(TT.fsfd, toybuf, out); 547 xwrite(TT.fsfd, &TT.sb, sizeof(struct ext2_superblock)); 551 xwrite(TT.fsfd, toybuf, temp); 562 if (j) xwrite(TT.fsfd, bg, TT.blocksize); 597 xwrite(TT.fsfd, bg, TT.blocksize); 613 xwrite(TT.fsfd, toybuf, TT.blocksize); 625 xwrite(TT.fsfd, toybuf, TT.blocksize); 631 if (j) xwrite(TT.fsfd, in, TT.blocksize); 642 xwrite(TT.fsfd, in, TT.blocksize);
|
H A D | compress.c | 210 xwrite(bb->fd, bb->buf, (bb->bitpos+7)/8); 240 xwrite(TT.outfd, TT.data, 32768); 410 xwrite(TT.outfd, TT.data, TT.pos & 32767); 534 xwrite(bb->fd, "\x1f\x8b\x08\0\0\0\0\0\x02\xff", 10);
|
H A D | bootchartd.c | 59 xwrite(wfd, TT.buf, strlen(TT.buf)); 62 xwrite(wfd, "\n", 1);
|
/external/toybox/toys/posix/ |
H A D | uname.c | 69 xwrite(1, c, len);
|
H A D | cpio.c | 157 if (!test) xwrite(fd, data, data == toybuf ? sizeof(toybuf) : size); 237 xwrite(afd, toybuf, llen); 238 xwrite(afd, name, nlen); 242 if (llen) xwrite(afd, &zero, 4-llen); 248 xwrite(afd, toybuf, llen); 256 xwrite(afd, toybuf, nlen); 259 if (llen) xwrite(afd, &zero, 4-llen); 266 xwrite(afd, toybuf,
|
H A D | cat.c | 86 } else xwrite(1, toybuf, len);
|
H A D | head.c | 47 xwrite(1, toybuf, i);
|
H A D | tail.c | 66 xwrite(1, list->data, list->len); 208 if (offset<len) xwrite(1, toybuf+offset, len-offset);
|
H A D | split.c | 86 xwrite(outfd, toybuf+pos, j);
|
H A D | uudecode.c | 100 xwrite(ofd, line, out-line);
|
H A D | patch.c | 77 xwrite(i, s, strlen(s)); 78 xwrite(i, "\n", 1);
|
H A D | sort.c | 387 xwrite(fd, s, strlen(s)); 389 xwrite(fd, "\n", 1);
|
/external/toybox/toys/lsb/ |
H A D | dmesg.c | 66 xwrite(1, data, to-data);
|
/external/toybox/lib/ |
H A D | xwrap.c | 307 // There's no xwriteall(), just xwrite(). When we read, there may or may not 311 void xwrite(int fd, void *buf, size_t len) function 313 if (len != writeall(fd, buf, len)) perror_exit("xwrite"); 608 xwrite(fd, spid, sprintf(spid, "%ld\n", (long)getpid())); 622 xwrite(out, libbuf, len);
|