HelenOS sources
BUFFER_SIZE 37 kernel/test/print/print3.c char buffer[BUFFER_SIZE];
BUFFER_SIZE 40 kernel/test/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Short text without parameters.\"):\n");
BUFFER_SIZE 42 kernel/test/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Short text without parameters.");
BUFFER_SIZE 45 kernel/test/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Very very very long text without parameters.\"):\n");
BUFFER_SIZE 47 kernel/test/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Very very very long text without parameters.");
BUFFER_SIZE 50 kernel/test/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Short %%s.\", \"text\"):\n");
BUFFER_SIZE 52 kernel/test/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Short %s.", "text");
BUFFER_SIZE 55 kernel/test/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Very long %%s. This text's length is more than %%d. We are interested in the result.\", \"text\", " STRING(BUFFER_SIZE) "):\n");
BUFFER_SIZE 57 kernel/test/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Very long %s. This text's length is more than %d. We are interested in the result.", "text", BUFFER_SIZE);
BUFFER_SIZE 195 uspace/app/bdsh/cmds/modules/mkfile/mkfile.c buffer = calloc(BUFFER_SIZE, 1);
BUFFER_SIZE 203 uspace/app/bdsh/cmds/modules/mkfile/mkfile.c to_write = min(file_size - total_written, BUFFER_SIZE);
BUFFER_SIZE 51 uspace/app/hbench/fs/fileread.c char *buf = malloc(BUFFER_SIZE);
BUFFER_SIZE 53 uspace/app/hbench/fs/fileread.c return bench_run_fail(run, "failed to allocate %dB buffer", BUFFER_SIZE);
BUFFER_SIZE 76 uspace/app/hbench/fs/fileread.c fread(buf, 1, BUFFER_SIZE, file);
BUFFER_SIZE 72 uspace/app/taskdump/elf_core.c static uint8_t buffer[BUFFER_SIZE];
BUFFER_SIZE 308 uspace/app/taskdump/elf_core.c to_copy = min(area->size - total, BUFFER_SIZE);
BUFFER_SIZE 42 uspace/app/tester/print/print3.c char buffer[BUFFER_SIZE];
BUFFER_SIZE 45 uspace/app/tester/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Short text without parameters.\"):\n");
BUFFER_SIZE 47 uspace/app/tester/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Short text without parameters.");
BUFFER_SIZE 50 uspace/app/tester/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Very very very long text without parameters.\"):\n");
BUFFER_SIZE 52 uspace/app/tester/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Very very very long text without parameters.");
BUFFER_SIZE 55 uspace/app/tester/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Short %%s.\", \"text\"):\n");
BUFFER_SIZE 57 uspace/app/tester/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Short %s.", "text");
BUFFER_SIZE 60 uspace/app/tester/print/print3.c TPRINTF("Testing snprintf(buffer, " STRING(BUFFER_SIZE) ", \"Very long %%s. This text's length is more than %%d. We are interested in the result.\", \"text\", " STRING(BUFFER_SIZE) "):\n");
BUFFER_SIZE 62 uspace/app/tester/print/print3.c retval = snprintf(buffer, BUFFER_SIZE, "Very long %s. This text's length is more than %d. We are interested in the result.", "text", BUFFER_SIZE);
BUFFER_SIZE 80 uspace/app/websrv/websrv.c char rbuf[BUFFER_SIZE];
BUFFER_SIZE 84 uspace/app/websrv/websrv.c char lbuf[BUFFER_SIZE + 1];
BUFFER_SIZE 167 uspace/app/websrv/websrv.c rc = tcp_conn_recv_wait(recv->conn, recv->rbuf, BUFFER_SIZE, &nrecv);
BUFFER_SIZE 186 uspace/app/websrv/websrv.c while (bp < recv->lbuf + BUFFER_SIZE) {
BUFFER_SIZE 201 uspace/app/websrv/websrv.c if (bp == recv->lbuf + BUFFER_SIZE)
BUFFER_SIZE 251 uspace/app/websrv/websrv.c fbuf = calloc(BUFFER_SIZE, 1);
BUFFER_SIZE 280 uspace/app/websrv/websrv.c rc = vfs_read(fd, &pos, fbuf, BUFFER_SIZE, &nr);
BUFFER_SIZE 244 uspace/drv/char/i8042/i8042.c circ_buf_init(&dev->kbd->cbuf, dev->kbd->buf_data, BUFFER_SIZE, 1);
BUFFER_SIZE 245 uspace/drv/char/i8042/i8042.c circ_buf_init(&dev->aux->cbuf, dev->aux->buf_data, BUFFER_SIZE, 1);
BUFFER_SIZE 73 uspace/drv/char/i8042/i8042.h uint8_t buf_data[BUFFER_SIZE];
BUFFER_SIZE 681 uspace/drv/nic/rtl8169/driver.c buff_phys = rtl8169->rx_buff_phys + (BUFFER_SIZE * i);
BUFFER_SIZE 682 uspace/drv/nic/rtl8169/driver.c descr->control = BUFFER_SIZE | CONTROL_OWN;
BUFFER_SIZE 749 uspace/drv/nic/rtl8169/driver.c pio_write_16(rtl8169->regs + RMS, BUFFER_SIZE);
BUFFER_SIZE 1017 uspace/drv/nic/rtl8169/driver.c buffer = rtl8169->rx_buff + (BUFFER_SIZE * tail);
BUFFER_SIZE 1115 uspace/drv/nic/rtl8169/driver.c buff = rtl8169->tx_buff + (BUFFER_SIZE * head);
BUFFER_SIZE 1116 uspace/drv/nic/rtl8169/driver.c buff_phys = rtl8169->tx_buff_phys + (BUFFER_SIZE * head);
BUFFER_SIZE 46 uspace/drv/nic/rtl8169/driver.h #define TX_BUFFERS_SIZE (BUFFER_SIZE * TX_BUFFERS_COUNT)
BUFFER_SIZE 47 uspace/drv/nic/rtl8169/driver.h #define RX_BUFFERS_SIZE (BUFFER_SIZE * RX_BUFFERS_COUNT)
BUFFER_SIZE 55 uspace/drv/nic/virtio-net/virtio-net.c #define RX_BUF_SIZE BUFFER_SIZE
BUFFER_SIZE 56 uspace/drv/nic/virtio-net/virtio-net.c #define TX_BUF_SIZE BUFFER_SIZE
BUFFER_SIZE 57 uspace/drv/nic/virtio-net/virtio-net.c #define CT_BUF_SIZE BUFFER_SIZE
BUFFER_SIZE 115 uspace/lib/bithenge/src/script.c char buffer[BUFFER_SIZE];
BUFFER_SIZE 187 uspace/lib/bithenge/src/script.c if (state->buffer_pos + MAX_TOKEN_SIZE < BUFFER_SIZE)
BUFFER_SIZE 191 uspace/lib/bithenge/src/script.c size_t used_size = BUFFER_SIZE - 1 - state->buffer_pos;
BUFFER_SIZE 1298 uspace/lib/bithenge/src/script.c state->old_buffer_pos = state->buffer_pos = BUFFER_SIZE - 1;
BUFFER_SIZE 39 uspace/lib/c/test/sprintf.c snprintf(buffer, BUFFER_SIZE, actual_format, ##__VA_ARGS__); \
BUFFER_SIZE 47 uspace/lib/c/test/sprintf.c static char buffer[BUFFER_SIZE];
BUFFER_SIZE 51 uspace/lib/c/test/sprintf.c memset(buffer, 0, BUFFER_SIZE);
BUFFER_SIZE 35 uspace/lib/c/test/str.c #define SET_BUFFER(str) snprintf(buffer, BUFFER_SIZE, "%s", str)
BUFFER_SIZE 42 uspace/lib/c/test/str.c static char buffer[BUFFER_SIZE];
BUFFER_SIZE 46 uspace/lib/c/test/str.c memset(buffer, 0, BUFFER_SIZE);
BUFFER_SIZE 91 uspace/lib/pcut/src/report/report.c static char buffer_for_extra_output[BUFFER_SIZE];
BUFFER_SIZE 94 uspace/lib/pcut/src/report/report.c static char buffer_for_error_messages[BUFFER_SIZE];
BUFFER_SIZE 225 uspace/lib/pcut/src/report/report.c buffer_for_extra_output, BUFFER_SIZE,
BUFFER_SIZE 226 uspace/lib/pcut/src/report/report.c buffer_for_error_messages, BUFFER_SIZE);
BUFFER_SIZE 44 uspace/lib/pcut/tests/beforeafter.c buffer = malloc(BUFFER_SIZE);
BUFFER_SIZE 55 uspace/lib/pcut/tests/beforeafter.c _snprintf_s(buffer, BUFFER_SIZE - 1, _TRUNCATE, "%d-%s", 56, "abcd");
BUFFER_SIZE 57 uspace/lib/pcut/tests/beforeafter.c snprintf(buffer, BUFFER_SIZE - 1, "%d-%s", 56, "abcd");
BUFFER_SIZE 205 uspace/srv/hid/remcons/user.c BUFFER_SIZE, &recv_length);
BUFFER_SIZE 75 uspace/srv/hid/remcons/user.h char socket_buffer[BUFFER_SIZE];
BUFFER_SIZE 58 uspace/srv/hid/rfb/rfb.c static char rbuf[BUFFER_SIZE];
BUFFER_SIZE 72 uspace/srv/hid/rfb/rfb.c rc = tcp_conn_recv_wait(conn, rbuf, BUFFER_SIZE, &nrecv);
BUFFER_SIZE 102 uspace/srv/klog/klog.c errno_t rc = klog_read(buffer, BUFFER_SIZE, &len);
BUFFER_SIZE 222 uspace/srv/klog/klog.c buffer = malloc(BUFFER_SIZE);
HelenOS homepage, sources at GitHub