Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 7 of 7) sorted by relevance

/picolibc-latest/newlib/libc/stdio/
Dfputws.c100 size_t nbytes; in fputws() local
116 nbytes = wcsrtombs(buf, &ws, sizeof (buf), &fp->_mbstate); in fputws()
117 if (nbytes == (size_t) -1) in fputws()
119 iov.iov_len = uio.uio_resid = nbytes; in fputws()
138 nbytes = wcsrtombs (buf, &ws, sizeof (buf), &fp->_mbstate); in fputws()
139 if (nbytes == (size_t) -1) in fputws()
141 while (i < nbytes) in fputws()
Dvfscanf.c399 int nbytes = 1; /* number of bytes read from fmt string */ in _SVFSCANF() local
592 nbytes = __MBTOWC (&wc, (char *) fmt, MB_CUR_MAX, &state); in _SVFSCANF()
593 if (nbytes < 0) { in _SVFSCANF()
595 nbytes = 1; in _SVFSCANF()
599 fmt += nbytes; in _SVFSCANF()
603 if (nbytes == 1 && isspace (wc)) in _SVFSCANF()
634 lptr = fmt - nbytes; in _SVFSCANF()
635 for (n = 0; n < nbytes; ++n) in _SVFSCANF()
Dvfprintf.c1812 int nbytes; in get_arg() local
1828 while ((nbytes = __MBTOWC (data, &wc, fmt, MB_CUR_MAX, &wc_state)) > 0) in get_arg()
1830 fmt += nbytes; in get_arg()
1835 if (nbytes <= 0) in get_arg()
/picolibc-latest/newlib/libc/machine/amdgcn/
Dmlock.c40 sbrk (ptrdiff_t nbytes) in sbrk() argument
61 if ((__heap_ptr + nbytes) >= __heap_end) in sbrk()
68 __heap_ptr += nbytes; in sbrk()
/picolibc-latest/newlib/libc/search/
Dhash_buf.c293 __buf_init(HTAB *hashp, int nbytes) in __buf_init() argument
299 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init()
/picolibc-latest/newlib/libc/stdlib/
Dmallocr.c405 #define MALLOC_ZERO(charp, nbytes) \ argument
407 INTERNAL_SIZE_T mzsz = (nbytes); \
422 #define MALLOC_COPY(dest,src,nbytes) \ argument
424 INTERNAL_SIZE_T mcsz = (nbytes); \
444 #define MALLOC_ZERO(charp, nbytes) \ argument
447 long mctmp = (nbytes)/sizeof(INTERNAL_SIZE_T), mcn; \
461 #define MALLOC_COPY(dest,src,nbytes) \ argument
465 long mctmp = (nbytes)/sizeof(INTERNAL_SIZE_T), mcn; \
/picolibc-latest/newlib/libc/posix/
Dregcomp.c1164 size_t nbytes; in allocset() local
1174 nbytes = nc / CHAR_BIT * css; in allocset()
1183 setbits = realloc(p->g->setbits, nbytes); in allocset()
1193 (void) memset(setbits + (nbytes - css), 0, css); in allocset()