/external/toybox/toys/other/ |
clear.c | 18 xwrite(1, "\e[2J\e[H", 7);
|
reset.c | 22 xwrite(xgettty(), "\033c", 2);
|
count.c | 28 xwrite(1, toybuf, len); 29 xwrite(2, buf, sprintf(buf, "%"PRIu64" bytes\r", size)); 31 xwrite(2, "\n", 1);
|
dos2unix.c | 61 xwrite(outfd, toybuf, out); 63 if (catch) xwrite(outfd, "\r", 1);
|
mkswap.c | 38 xwrite(fd, swap, 129*sizeof(unsigned int)); 40 xwrite(fd, "SWAPSPACE2", 10);
|
nsenter.c | 85 xwrite(fd, toybuf, bytes); 94 xwrite(fd, "deny", 4);
|
sysctl.c | 60 xwrite(fd, value, strlen(value));
|
/external/toybox/toys/pending/ |
fold.c | 50 xwrite(1, buf, pos); 81 xwrite(1, buf, split + 1); 89 xwrite(1, buf, bufsz);
|
iconv.c | 61 xwrite(1, outstart, out-outstart);
|
mke2fs.c | 356 xwrite(TT.fsfd, toybuf, out); 522 xwrite(TT.fsfd, &TT.sb, sizeof(struct ext2_superblock)); 526 xwrite(TT.fsfd, toybuf, temp); 537 if (j) xwrite(TT.fsfd, bg, TT.blocksize); 572 xwrite(TT.fsfd, bg, TT.blocksize); 588 xwrite(TT.fsfd, toybuf, TT.blocksize); 600 xwrite(TT.fsfd, toybuf, TT.blocksize); 606 if (j) xwrite(TT.fsfd, in, TT.blocksize); 617 xwrite(TT.fsfd, in, TT.blocksize);
|
telnet.c | 105 xwrite(1,"\r\nConsole escape. Commands are:\r\n\n" 148 xwrite(1, "continuing...\r\n", 15); 262 if (i) xwrite(STDIN_FILENO, toybuf, i); 284 if(i) xwrite(TT.sfd, toybuf, i);
|
compress.c | 142 xwrite(bb->fd, bb->buf, (bb->bitpos+7)/8); 174 xwrite(TT.outfd, TT.data, 32768); 344 xwrite(TT.outfd, TT.data, TT.pos & 32767); 468 xwrite(bb->fd, "\x1f\x8b\x08\0\0\0\0\0\x02\xff", 10);
|
bootchartd.c | 60 xwrite(wfd, TT.buf, strlen(TT.buf)); 63 xwrite(wfd, "\n", 1);
|
/external/toybox/toys/android/ |
sendevent.c | 36 xwrite(fd, &ev, sizeof(ev));
|
/external/toybox/toys/posix/ |
uname.c | 69 xwrite(1, c, len);
|
cpio.c | 168 if (!test) xwrite(fd, data, data == toybuf ? sizeof(toybuf) : size); 251 xwrite(afd, toybuf, llen); 252 xwrite(afd, name, nlen); 256 if (llen) xwrite(afd, &zero, 4-llen); 262 xwrite(afd, toybuf, llen); 270 xwrite(afd, toybuf, nlen); 273 if (llen) xwrite(afd, &zero, 4-llen); 281 xwrite(afd, toybuf,
|
cat.c | 89 } else xwrite(1, toybuf, len);
|
head.c | 56 xwrite(1, toybuf, i);
|
split.c | 86 xwrite(outfd, toybuf+pos, j);
|
uudecode.c | 101 xwrite(ofd, line, out-line);
|
tail.c | 69 xwrite(1, list->data, list->len); 219 if (offset<len) xwrite(1, toybuf+offset, len-offset); 266 xwrite(1, toybuf, len);
|
patch.c | 77 xwrite(i, s, strlen(s)); 78 xwrite(i, "\n", 1);
|
/external/toybox/toys/net/ |
microcom.c | 90 if (n > 0) xwrite(0, buf, n); 103 xwrite(TT.fd, buf, 1);
|
rfkill.c | 72 xwrite(fd, &rfevent, sizeof(rfevent));
|
/external/toybox/lib/ |
net.c | 82 else xwrite(i ? out2 : out1, libbuf, len);
|