Home
last modified time | relevance | path

Searched refs:BUF_SIZE (Results 1 – 4 of 4) sorted by relevance

/busybox-1.35.0/scripts/kconfig/lxdialog/
Dtextbox.c63 if ((buf = malloc(BUF_SIZE + 1)) == NULL) { in dialog_textbox()
68 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { in dialog_textbox()
145 read(fd, buf, BUF_SIZE)) == -1) { in dialog_textbox()
170 if (lseek(fd, -BUF_SIZE, SEEK_END) == -1) { in dialog_textbox()
176 read(fd, buf, BUF_SIZE)) == -1) { in dialog_textbox()
331 if (fpos < BUF_SIZE / 2 + bytes_read) { in back_lines()
341 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR) == -1) { in back_lines()
347 page = buf + BUF_SIZE / 2; in back_lines()
350 read(fd, buf, BUF_SIZE)) == -1) { in back_lines()
379 if (fpos < BUF_SIZE / 2 + bytes_read) { in back_lines()
[all …]
Ddialog.h54 #define BUF_SIZE (10*1024) macro
/busybox-1.35.0/archival/
Dgzip.c403 #undef BUF_SIZE
404 #define BUF_SIZE (int)(8 * sizeof(G1.bi_buf)) macro
503 if (OPTIMIZED_PUT_32BIT && BUF_SIZE > 16) in flush_outbuf_if_32bit_optimized()
550 BUILD_BUG_ON(BUF_SIZE != 32 && BUF_SIZE != 16); in send_bits()
558 if (length >= BUF_SIZE) { in send_bits()
563 value >>= (BUF_SIZE - G1.bi_valid); in send_bits()
564 if (BUF_SIZE == 32) { in send_bits()
570 length -= BUF_SIZE; in send_bits()
/busybox-1.35.0/networking/
Difplugd.c481 enum { BUF_SIZE = 8 * 1024 }; in check_existence_through_netlink() enumerator
482 char *replybuf = xmalloc(BUF_SIZE); in check_existence_through_netlink()
489 bytes = recv(netlink_fd, replybuf, BUF_SIZE, MSG_DONTWAIT); in check_existence_through_netlink()