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

/seL4-refos-master/libs/libmuslc/src/stdio/
H A D__stdio_read.c7 { .iov_base = buf, .iov_len = len - !!f->buf_size },
8 { .iov_base = f->buf, .iov_len = f->buf_size }
21 if (f->buf_size) buf[len-1] = *f->rpos++;
H A Dsetvbuf.c17 f->buf_size = 0;
H A Dstderr.c6 .buf_size = 0,
H A Dstdin.c6 .buf_size = sizeof buf-UNGET,
H A Dstdout.c6 .buf_size = sizeof buf-UNGET,
H A Dvdprintf.c12 .buf = (void *)fmt, .buf_size = 0,
H A Dvswscanf.c12 k = wcsrtombs((void *)f->buf, &src, f->buf_size, 0);
32 .buf = buf, .buf_size = sizeof buf,
H A D__towrite.c15 f->wend = f->buf + f->buf_size;
H A D__fopen_rb_ca.c15 f->buf_size = len - UNGET;
H A D__toread.c12 f->rpos = f->rend = f->buf + f->buf_size;
H A Dext.c42 return f->buf_size;
H A Dvswprintf.c32 f->wend = f->buf + f->buf_size;
47 f.buf_size = sizeof buf;
H A Dfmemopen.c38 if (rem > f->buf_size) rem = f->buf_size;
95 f->buf_size = BUFSIZ;
H A D__fdopen.c41 f->buf_size = BUFSIZ;
H A D__stdio_write.c17 f->wend = f->buf + f->buf_size;
H A Dopen_memstream.c81 f->buf_size = BUFSIZ;
H A Dopen_wmemstream.c83 f->buf_size = 0;
H A Dvfprintf.c701 if (!f->buf_size) {
704 f->buf_size = sizeof internal_buf;
712 f->buf_size = 0;
/seL4-refos-master/libs/libmuslc/src/stdlib/
H A Dwcstod.c17 for (i=0; i<f->buf_size && wcs[i]; i++)
38 f.buf_size = sizeof buf - 4;
H A Dwcstol.c19 for (i=0; i<f->buf_size && wcs[i]; i++)
40 f.buf_size = sizeof buf - 4;
/seL4-refos-master/projects/util_libs/libethdrivers/src/
H A Dlwip.c66 static uintptr_t lwip_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument
69 if (buf_size > CONFIG_LIB_ETHDRIVER_PREALLOCATED_BUF_SIZE) {
70 LOG_ERROR("Requested RX buffer of size %zu which can never be fullfilled by preallocated buffers of size %d", buf_size,
87 ps_dma_cache_invalidate(&lwip_iface->dma_man, buf->virt, buf_size);
238 static uintptr_t lwip_pbuf_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument
242 buf_size += ETH_PAD_SIZE; /* allow room for Ethernet padding */
245 buf_size += lwip_iface->driver.dma_alignment;
246 struct pbuf *p = pbuf_alloc(PBUF_RAW, buf_size, PBUF_RAM);
262 uintptr_t phys = ps_dma_pin(&lwip_iface->dma_man, p->payload, buf_size);
267 ps_dma_cache_invalidate(&lwip_iface->dma_man, p->payload, buf_size);
[all...]
H A Dpico_dev_eth.c140 static uintptr_t pico_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument
144 if (buf_size > CONFIG_LIB_ETHDRIVER_PREALLOCATED_BUF_SIZE) {
146 buf_size, CONFIG_LIB_ETHDRIVER_PREALLOCATED_BUF_SIZE);
165 ps_dma_cache_invalidate(&pico_iface->dma_man, buf->virt, buf_size);
/seL4-refos-master/projects/util_libs/libethdrivers/include/ethdrivers/
H A Draw.h79 * @param buf_size Size of buffer to allocate
86 typedef uintptr_t (*ethif_raw_allocate_rx_buf)(void *cb_cookie, size_t buf_size, void **cookie);
/seL4-refos-master/libs/libmuslc/src/internal/
H A Dstdio_impl.h33 size_t buf_size; member in struct:_IO_FILE
/seL4-refos-master/libs/libmuslc/ldso/
H A Ddynlink.c719 static int path_open(const char *name, const char *s, char *buf, size_t buf_size) argument
727 if (snprintf(buf, buf_size, "%.*s/%s", (int)l, s, name) < buf_size) {
745 static int fixup_rpath(struct dso *p, char *buf, size_t buf_size) argument
774 l = readlink("/proc/self/exe", buf, buf_size);
783 if (l >= buf_size)

Completed in 173 milliseconds