Home
last modified time | relevance | path

Searched refs:xwrite (Results 1 - 25 of 40) sorted by relevance

12

/third_party/toybox/toys/posix/
H A Dcpio.c166 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()
H A Dtail.c61 xwrite(1, list->data, list->len); in dump_chunk()
209 if (offset<len) xwrite(1, toybuf+offset, len-offset); in do_tail()
245 xwrite(1, toybuf, len); in tail_main()
H A Dcat.c61 } else xwrite(1, toybuf, len); in do_cat()
H A Duname.c80 xwrite(1, c, len); in uname_main()
H A Dhead.c55 xwrite(1, toybuf, i); in do_head()
H A Dtar.c141 xwrite(TT.fd, &tmp, 512); in write_longname()
142 xwrite(TT.fd, name, sz); in write_longname()
143 if (sz%512) xwrite(TT.fd, toybuf, 512-(sz%512)); in write_longname()
344 xwrite(TT.fd, &hdr, 512); in add_to_tar()
355 xwrite(TT.fd, buf, 512); in add_to_tar()
885 xwrite(0, hdr, len); in tar_main()
892 xwrite(0, toybuf, i); in tar_main()
H A Diconv.c59 if (out != outstart) xwrite(1, outstart, out-outstart); in do_iconv()
H A Dsplit.c87 xwrite(outfd, toybuf+pos, j); in do_split()
/third_party/toybox/toys/pending/
H A Dfold.c50 xwrite(1, buf, pos); in do_fold()
81 xwrite(1, buf, split + 1); in do_fold()
89 xwrite(1, buf, bufsz); in do_fold()
H A Dmke2fs.c492 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()
H A Dtelnet.c105 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()
H A Dwget.c206 xwrite(TT.sock, buf, len); in wget_write()
350 xwrite(fd, toybuf, len); in wget_main()
354 xwrite(fd, toybuf, c_len); in wget_main()
380 xwrite(fd, toybuf, len); in wget_main()
H A Dbootchartd.c44 xwrite(wfd, TT.timestamp, strlen(TT.timestamp)); in dump_data_in_file()
47 xwrite(wfd, "\n", 1); in dump_data_in_file()
/third_party/toybox/toys/other/
H A Ddos2unix.c61 xwrite(outfd, toybuf, out); in do_dos2unix()
63 if (catch) xwrite(outfd, "\r", 1); in do_dos2unix()
H A Dmkswap.c38 xwrite(fd, swap, 129*sizeof(unsigned int)); in mkswap_main()
40 xwrite(fd, "SWAPSPACE2", 10); in mkswap_main()
H A Dreset.c25 xwrite(fd<0 ? 1 : fd, "\033c\033[?7h", 2); in reset_main()
H A Dcount.c30 xwrite(1, buf, len); in count_main()
/third_party/toybox/toys/net/
H A Dmicrocom.c66 if (n > 0) xwrite(0, buf, n); in microcom_main()
79 xwrite(TT.fd, buf, 1); in microcom_main()
H A Drfkill.c72 xwrite(fd, &rfevent, sizeof(rfevent)); in rfkill_main()
/third_party/toybox/lib/
H A Ddeflate.c113 xwrite(bb->fd, bb->buf, (bb->bitpos+7)>>3); in bitbuf_flush()
145 xwrite(dd->outfd, dd->data, 32768); in output_byte()
317 xwrite(dd->outfd, dd->data, dd->pos&32767); in inflate()
459 xwrite(bb->fd, "\x1f\x8b\x08\0\0\0\0\0\x02\xff", 10); in gzip_fd()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcat.c61 } else xwrite(1, toybuf, len); in do_cat()
H A Duname.c80 xwrite(1, c, len); in uname_main()
/third_party/toybox/toys/android/
H A Dsendevent.c36 xwrite(fd, &ev, sizeof(ev)); in sendevent_main()
/third_party/alsa-utils/aplay/
H A Daplay.c445 static ssize_t xwrite(int fd, const void *buf, size_t count) in xwrite() function
2605 if (xwrite(2, data, l) != l) { /* to stderr */
2662 if (xwrite(fd, &vh, sizeof(VocHeader)) != sizeof(VocHeader)) {
2671 if (xwrite(fd, &bt, sizeof(VocBlockType)) != sizeof(VocBlockType)) {
2678 if (xwrite(fd, &eb, sizeof(VocExtBlock)) != sizeof(VocExtBlock)) {
2688 if (xwrite(fd, &bt, sizeof(VocBlockType)) != sizeof(VocBlockType)) {
2694 if (xwrite(fd, &vd, sizeof(VocVoiceData)) != sizeof(VocVoiceData)) {
2763 if (xwrite(fd, &h, sizeof(WaveHeader)) != sizeof(WaveHeader) ||
2764 xwrite(fd, &cf, sizeof(WaveChunkHeader)) != sizeof(WaveChunkHeader) ||
2765 xwrite(f
[all...]
/third_party/toybox/toys/example/
H A Dlogwrapper.c52 xwrite(i, s, ss-s); in logwrapper_main()

Completed in 13 milliseconds

12