Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sort/
H A Dstreams_wide.c71 ASSERT(str->s_current.l_data_length >= -1); in stream_wide_prime()
73 (str->s_current.l_data_length + 1) * sizeof (wchar_t)); in stream_wide_prime()
76 if ((str->s_current.l_data_length == -1 || in stream_wide_prime()
79 str->s_current.l_data_length) != L'\0') && in stream_wide_prime()
109 str->s_current.l_data_length = MIN(wslen(current_position), in stream_wide_prime()
112 str->s_current.l_data_length = next_nl - current_position; in stream_wide_prime()
114 *(str->s_current.l_data.wp + str->s_current.l_data_length) = L'\0'; in stream_wide_prime()
134 graft_pt = str->s_current.l_data.wp + str->s_current.l_data_length + 1; in stream_wide_fetch()
138 else if (str->s_current.l_data_length > -1) in stream_wide_fetch()
145 str->s_current.l_data_length = -1; in stream_wide_fetch()
[all …]
H A Dstreams_stdio.c107 ASSERT(str->s_current.l_data_length >= -1); in stream_stdio_prime()
109 str->s_current.l_data_length + 1); in stream_stdio_prime()
116 if ((str->s_current.l_data_length == -1 || in stream_stdio_prime()
119 str->s_current.l_data_length) != '\n') && in stream_stdio_prime()
153 str->s_current.l_data_length = MIN(strlen(current_position), in stream_stdio_prime()
156 str->s_current.l_data_length = next_nl - current_position; in stream_stdio_prime()
181 graft_pt = str->s_current.l_data.sp + str->s_current.l_data_length + 1; in stream_stdio_fetch()
188 } else if (str->s_current.l_data_length > -1) { in stream_stdio_fetch()
209 str->s_current.l_data_length = -1; in stream_stdio_fetch()
227 str->s_current.l_data_length = strlen(str->s_current.l_data.sp); in stream_stdio_fetch()
[all …]
H A Dfields.c367 char *eol = S + L->l_data_length; in field_boundary()
375 return (L->l_data_length); in field_boundary()
390 if ((ret = MAX(T - S, 0) + offset) >= L->l_data_length) in field_boundary()
391 return (L->l_data_length); in field_boundary()
412 wchar_t *eol = S + L->l_data_length; in field_boundary_wide()
420 return (L->l_data_length); in field_boundary_wide()
435 if ((ret = MAX(T - S, 0) + offset) >= L->l_data_length) in field_boundary_wide()
436 return (L->l_data_length); in field_boundary_wide()
458 char *eol = S + L->l_data_length; in field_boundary_tabbed()
466 return (L->l_data_length); in field_boundary_tabbed()
[all …]
H A Dstreams_mmap.c54 str->s_current.l_data_length = str->s_buffer_size; in stream_mmap_prime()
56 str->s_current.l_data_length = nl - (char *)str->s_buffer; in stream_mmap_prime()
83 str->s_current.l_data_length + 1; in stream_mmap_fetch()
92 str->s_current.l_data_length = next_nl in stream_mmap_fetch()
96 str->s_current.l_data_length = dist_to_buf_end; in stream_mmap_fetch()
102 if (str->s_current.l_data.sp + str->s_current.l_data_length + 1 >= in stream_mmap_fetch()
169 (char *)str->s_buffer + str->s_current.l_data_length + 1 >= in stream_mmap_eos()
H A Dconvert.c77 cur_streamp->s_current.l_data_length, in convert()
81 cur_streamp->s_current.l_data_length, in convert()
H A Dcheck.c55 (void) wcstombs(line, L->l_data.wp, L->l_data_length); in fail_check()
59 length = L->l_data_length; in fail_check()
H A Dtypes.h60 ssize_t l_data_length; member