Searched defs:dist_to_buf_end (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_mmap.c75 ssize_t dist_to_buf_end; local
87 dist_to_buf_end = str->s_buffer_size - (str->s_current.l_data.sp
89 ASSERT(dist_to_buf_end >= 0 && dist_to_buf_end <= str->s_buffer_size);
91 next_nl = memchr(str->s_current.l_data.sp, '\n', dist_to_buf_end);
98 str->s_current.l_data_length = dist_to_buf_end;
H A Dstreams_wide.c128 ssize_t dist_to_buf_end; local
143 dist_to_buf_end = str->s_buffer_size / sizeof (wchar_t) - (graft_pt -
146 if (dist_to_buf_end <= 1) {
151 if (fgetws(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) {
160 dist_to_buf_end)) == NULL) {
162 MIN(wslen(str->s_current.l_data.wp), dist_to_buf_end);
197 ssize_t dist_to_buf_end; local
203 dist_to_buf_end = str->s_buffer_size / sizeof (wchar_t);
205 if (fgetws(str->s_current.l_data.wp, dist_to_buf_end,
H A Dstreams_stdio.c175 ssize_t dist_to_buf_end; local
199 dist_to_buf_end = str->s_buffer_size - (graft_pt -
202 if (dist_to_buf_end <= 1) {
215 if (fgets(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) {
228 dist_to_buf_end)) == NULL) {
277 ssize_t dist_to_buf_end; local
284 dist_to_buf_end = str->s_buffer_size;
286 if (fgets(str->s_current.l_data.sp, dist_to_buf_end,

Completed in 1300 milliseconds