/glibc-2.36/libio/ |
D | wfileops.c | 127 if (fp->_wide_data->_IO_read_ptr < fp->_wide_data->_IO_read_end) in libc_hidden_def() 128 return *fp->_wide_data->_IO_read_ptr; in libc_hidden_def() 133 if (fp->_IO_read_ptr < fp->_IO_read_end) in libc_hidden_def() 136 const char *read_stop = (const char *) fp->_IO_read_ptr; in libc_hidden_def() 139 fp->_wide_data->_IO_read_base = fp->_wide_data->_IO_read_ptr = in libc_hidden_def() 142 fp->_IO_read_ptr, fp->_IO_read_end, in libc_hidden_def() 144 fp->_wide_data->_IO_read_ptr, in libc_hidden_def() 148 fp->_IO_read_base = fp->_IO_read_ptr; in libc_hidden_def() 149 fp->_IO_read_ptr = (char *) read_stop; in libc_hidden_def() 152 if (fp->_wide_data->_IO_read_ptr < fp->_wide_data->_IO_read_end) in libc_hidden_def() [all …]
|
D | wgenops.c | 66 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_read_base; in libc_hidden_def() 86 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_read_end; in libc_hidden_def() 109 if (fp->_wide_data->_IO_read_ptr > fp->_wide_data->_IO_read_base in libc_hidden_def() 111 && (wint_t) fp->_IO_read_ptr[-1] == c) in libc_hidden_def() 112 --fp->_IO_read_ptr; in libc_hidden_def() 120 if (fp->_wide_data->_IO_read_ptr > fp->_wide_data->_IO_read_base in libc_hidden_def() 123 if (save_for_wbackup (fp, fp->_wide_data->_IO_read_ptr)) in libc_hidden_def() 140 fp->_wide_data->_IO_read_base = fp->_wide_data->_IO_read_ptr; in libc_hidden_def() 143 else if (fp->_wide_data->_IO_read_ptr <= fp->_wide_data->_IO_read_base) in libc_hidden_def() 159 fp->_wide_data->_IO_backup_base = fp->_wide_data->_IO_read_ptr; in libc_hidden_def() [all …]
|
D | genops.c | 140 fp->_IO_read_ptr = fp->_IO_read_base; in _IO_switch_to_main_get_area() 159 fp->_IO_read_ptr = fp->_IO_read_end; in _IO_switch_to_backup_area() 176 fp->_IO_read_ptr = fp->_IO_write_ptr; in _IO_switch_to_get_mode() 178 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = fp->_IO_read_ptr; in _IO_switch_to_get_mode() 278 if (fp->_IO_read_ptr < fp->_IO_read_end) in __underflow() 279 return *(unsigned char *) fp->_IO_read_ptr; in __underflow() 283 if (fp->_IO_read_ptr < fp->_IO_read_end) in __underflow() 284 return *(unsigned char *) fp->_IO_read_ptr; in __underflow() 308 if (fp->_IO_read_ptr < fp->_IO_read_end) in libc_hidden_def() 309 return *(unsigned char *) fp->_IO_read_ptr++; in libc_hidden_def() [all …]
|
D | strops.c | 50 fp->_IO_read_ptr = ptr; in _IO_str_init_static_internal() 90 fp->_IO_write_ptr = fp->_IO_read_ptr; in _IO_str_overflow() 91 fp->_IO_read_ptr = fp->_IO_read_end; in _IO_str_overflow() 123 fp->_IO_read_ptr = new_buf + (fp->_IO_read_ptr - old_buf); in _IO_str_overflow() 151 fp->_IO_read_ptr = fp->_IO_write_ptr; in libc_hidden_def() 154 if (fp->_IO_read_ptr < fp->_IO_read_end) in libc_hidden_def() 155 return *((unsigned char *) fp->_IO_read_ptr); in libc_hidden_def() 207 fp->_IO_read_ptr = newbuf + (fp->_IO_read_ptr - oldbuf); in enlarge_userbuf() 215 fp->_IO_read_ptr = newbuf + (fp->_IO_read_ptr - oldbuf); in enlarge_userbuf() 245 fp->_IO_read_ptr = fp->_IO_read_end = fp->_IO_write_ptr; in _IO_str_switch_to_get_mode() [all …]
|
D | iogetline.c | 57 ssize_t len = fp->_IO_read_end - fp->_IO_read_ptr; in libc_hidden_def() 85 t = (char *) memchr ((void *) fp->_IO_read_ptr, delim, len); in libc_hidden_def() 89 len = t - fp->_IO_read_ptr; in libc_hidden_def() 96 memcpy ((void *) ptr, (void *) fp->_IO_read_ptr, len); in libc_hidden_def() 97 fp->_IO_read_ptr = t; in libc_hidden_def() 100 memcpy ((void *) ptr, (void *) fp->_IO_read_ptr, len); in libc_hidden_def() 101 fp->_IO_read_ptr += len; in libc_hidden_def()
|
D | fileops.c | 324 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_read_end; in libc_hidden_def() 474 if (fp->_IO_read_ptr < fp->_IO_read_end) in _IO_new_file_underflow() 475 return *(unsigned char *) fp->_IO_read_ptr; in _IO_new_file_underflow() 511 fp->_IO_read_base = fp->_IO_read_ptr = fp->_IO_buf_base; in _IO_new_file_underflow() 536 return *(unsigned char *) fp->_IO_read_ptr; in _IO_new_file_underflow() 598 fp->_offset -= fp->_IO_read_end - fp->_IO_read_ptr; in libc_hidden_ver() 643 if (fp->_IO_read_ptr < fp->_IO_read_end) in _IO_file_underflow_mmap() 644 return *(unsigned char *) fp->_IO_read_ptr; in _IO_file_underflow_mmap() 650 if (fp->_IO_read_ptr < fp->_IO_read_end) in _IO_file_underflow_mmap() 651 return *(unsigned char *) fp->_IO_read_ptr; in _IO_file_underflow_mmap() [all …]
|
D | iogetdelim.c | 70 len = fp->_IO_read_end - fp->_IO_read_ptr; in __getdelim() 78 len = fp->_IO_read_end - fp->_IO_read_ptr; in __getdelim() 85 t = (char *) memchr ((void *) fp->_IO_read_ptr, delimiter, len); in __getdelim() 87 len = (t - fp->_IO_read_ptr) + 1; in __getdelim() 111 memcpy (*lineptr + cur_len, (void *) fp->_IO_read_ptr, len); in __getdelim() 112 fp->_IO_read_ptr += len; in __getdelim() 116 len = fp->_IO_read_end - fp->_IO_read_ptr; in __getdelim()
|
D | iogetwline.c | 58 - fp->_wide_data->_IO_read_ptr); in _IO_getwline_info() 86 t = wmemchr ((void *) fp->_wide_data->_IO_read_ptr, delim, len); in _IO_getwline_info() 90 len = t - fp->_wide_data->_IO_read_ptr; in _IO_getwline_info() 97 __wmemcpy ((void *) ptr, (void *) fp->_wide_data->_IO_read_ptr, in _IO_getwline_info() 99 fp->_wide_data->_IO_read_ptr = t; in _IO_getwline_info() 102 __wmemcpy ((void *) ptr, (void *) fp->_wide_data->_IO_read_ptr, len); in _IO_getwline_info() 103 fp->_wide_data->_IO_read_ptr += len; in _IO_getwline_info()
|
D | wstrops.c | 52 fp->_wide_data->_IO_read_ptr = ptr; in _IO_wstr_init_static() 79 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_read_ptr; in _IO_wstr_overflow() 80 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_read_end; in _IO_wstr_overflow() 117 fp->_wide_data->_IO_read_ptr = in _IO_wstr_overflow() 118 new_buf + (fp->_wide_data->_IO_read_ptr - old_buf); in _IO_wstr_overflow() 148 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_write_ptr; in _IO_wstr_underflow() 151 if (fp->_wide_data->_IO_read_ptr < fp->_wide_data->_IO_read_end) in _IO_wstr_underflow() 152 return *fp->_wide_data->_IO_read_ptr; in _IO_wstr_underflow() 210 wd->_IO_read_ptr = newbuf + (wd->_IO_read_ptr - oldbuf); in enlarge_userbuf() 218 wd->_IO_read_ptr = newbuf + (wd->_IO_read_ptr - oldbuf); in enlarge_userbuf() [all …]
|
D | oldfileops.c | 304 if (fp->_IO_read_ptr < fp->_IO_read_end) in _IO_old_file_underflow() 305 return *(unsigned char *) fp->_IO_read_ptr; in _IO_old_file_underflow() 329 fp->_IO_read_base = fp->_IO_read_ptr = fp->_IO_buf_base; in _IO_old_file_underflow() 348 return *(unsigned char *) fp->_IO_read_ptr; in _IO_old_file_underflow() 377 if (f->_IO_read_ptr == f->_IO_buf_end) in _IO_old_file_overflow() 378 f->_IO_read_end = f->_IO_read_ptr = f->_IO_buf_base; in _IO_old_file_overflow() 379 f->_IO_write_ptr = f->_IO_read_ptr; in _IO_old_file_overflow() 382 f->_IO_read_base = f->_IO_read_ptr = f->_IO_read_end; in _IO_old_file_overflow() 411 delta = fp->_IO_read_ptr - fp->_IO_read_end; in _IO_old_file_sync() 420 fp->_IO_read_end = fp->_IO_read_ptr; in _IO_old_file_sync() [all …]
|
D | libio.h | 123 wchar_t *_IO_read_ptr; /* Current read pointer */ member 165 (__glibc_unlikely ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end) \ 168 : *(unsigned char *) (_fp)->_IO_read_ptr) 173 || ((_fp)->_wide_data->_IO_read_ptr \ 175 ? __wuflow (_fp) : (wint_t) *(_fp)->_wide_data->_IO_read_ptr++)
|
D | __fpurge.c | 30 fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_read_ptr; in __fpurge() 39 fp->_IO_read_end = fp->_IO_read_ptr; in __fpurge()
|
D | ioseekoff.c | 49 offset -= fp->_IO_read_end - fp->_IO_read_ptr; in _IO_seekoff_unlocked()
|
D | vsnprintf.c | 54 fp->_IO_read_ptr = snf->overflow_buf; in _IO_strn_overflow()
|
D | vswprintf.c | 51 fp->_wide_data->_IO_read_ptr = snf->overflow_buf; in _IO_wstrn_overflow()
|
D | iofwide.c | 68 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_read_end; in _IO_fwide()
|
D | libioP.h | 521 (fp)->_IO_read_ptr = (g), (fp)->_IO_read_end = (eg)) 523 (fp)->_wide_data->_IO_read_ptr = (g), \
|
/glibc-2.36/libio/bits/types/ |
D | struct_FILE.h | 54 char *_IO_read_ptr; /* Current read pointer */ member 103 (__glibc_unlikely ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end) \ 104 ? __uflow (_fp) : *(unsigned char *) (_fp)->_IO_read_ptr++)
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.9 | 4863 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr 4865 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
|