Home
last modified time | relevance | path

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

/glibc-2.36/libio/
Dwfileops.c227 char accbuf[MB_LEN_MAX]; in libc_hidden_def() local
262 to_copy = MIN (sizeof (accbuf) - naccbuf, count); in libc_hidden_def()
263 to = __mempcpy (&accbuf[naccbuf], from, to_copy); in libc_hidden_def()
265 from = accbuf; in libc_hidden_def()
274 fp->_IO_read_ptr += MAX (0, read_ptr_copy - &accbuf[naccbuf - to_copy]); in libc_hidden_def()
303 if (naccbuf >= sizeof (accbuf)) in libc_hidden_def()
306 memcpy (accbuf, fp->_IO_read_ptr, naccbuf); in libc_hidden_def()
310 size_t used = read_ptr_copy - accbuf; in libc_hidden_def()
313 memmove (accbuf, read_ptr_copy, naccbuf - used); in libc_hidden_def()
317 if (naccbuf == sizeof (accbuf)) in libc_hidden_def()