Home
last modified time | relevance | path

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

/glibc-2.36/libio/
Dwgenops.c432 size_t needed_size = ((end_p - fp->_wide_data->_IO_read_base) in libc_hidden_def() local
440 if (needed_size > current_Bsize) in libc_hidden_def()
444 new_buffer = (wchar_t *) malloc ((avail + needed_size) in libc_hidden_def()
460 needed_size); in libc_hidden_def()
464 fp->_wide_data->_IO_save_end = new_buffer + avail + needed_size; in libc_hidden_def()
468 avail = current_Bsize - needed_size; in libc_hidden_def()
478 else if (needed_size > 0) in libc_hidden_def()
481 needed_size); in libc_hidden_def()
Dgenops.c213 size_t needed_size = (end_p - fp->_IO_read_base) - least_mark; in libc_hidden_def() local
219 if (needed_size > current_Bsize) in libc_hidden_def()
223 new_buffer = (char *) malloc (avail + needed_size); in libc_hidden_def()
237 needed_size); in libc_hidden_def()
240 fp->_IO_save_end = new_buffer + avail + needed_size; in libc_hidden_def()
244 avail = current_Bsize - needed_size; in libc_hidden_def()
254 else if (needed_size > 0) in libc_hidden_def()
257 needed_size); in libc_hidden_def()