Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/sort/common/
H A Dstreams_wide.c73 ASSERT(str->s_current.l_data_length >= -1); in stream_wide_prime()
75 (str->s_current.l_data_length + 1) * sizeof (wchar_t)); in stream_wide_prime()
78 if ((str->s_current.l_data_length == -1 || in stream_wide_prime()
81 str->s_current.l_data_length) != L'\0') && in stream_wide_prime()
111 str->s_current.l_data_length = MIN(wslen(current_position), in stream_wide_prime()
114 str->s_current.l_data_length = next_nl - current_position; in stream_wide_prime()
116 *(str->s_current.l_data.wp + str->s_current.l_data_length) = L'\0'; in stream_wide_prime()
136 graft_pt = str->s_current.l_data.wp + str->s_current.l_data_length + 1; in stream_wide_fetch()
140 else if (str->s_current.l_data_length > -1) in stream_wide_fetch()
147 str->s_current.l_data_length = -1; in stream_wide_fetch()
[all …]
H A Dstreams_stdio.c109 ASSERT(str->s_current.l_data_length >= -1); in stream_stdio_prime()
111 str->s_current.l_data_length + 1); in stream_stdio_prime()
118 if ((str->s_current.l_data_length == -1 || in stream_stdio_prime()
121 str->s_current.l_data_length) != '\n') && in stream_stdio_prime()
155 str->s_current.l_data_length = MIN(strlen(current_position), in stream_stdio_prime()
158 str->s_current.l_data_length = next_nl - current_position; in stream_stdio_prime()
183 graft_pt = str->s_current.l_data.sp + str->s_current.l_data_length + 1; in stream_stdio_fetch()
190 } else if (str->s_current.l_data_length > -1) { in stream_stdio_fetch()
211 str->s_current.l_data_length = -1; in stream_stdio_fetch()
229 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.c56 str->s_current.l_data_length = str->s_buffer_size; in stream_mmap_prime()
58 str->s_current.l_data_length = nl - (char *)str->s_buffer; in stream_mmap_prime()
85 str->s_current.l_data_length + 1; in stream_mmap_fetch()
94 str->s_current.l_data_length = next_nl in stream_mmap_fetch()
98 str->s_current.l_data_length = dist_to_buf_end; in stream_mmap_fetch()
104 if (str->s_current.l_data.sp + str->s_current.l_data_length + 1 >= in stream_mmap_fetch()
171 (char *)str->s_buffer + str->s_current.l_data_length + 1 >= in stream_mmap_eos()
H A Dconvert.c79 cur_streamp->s_current.l_data_length, in convert()
83 cur_streamp->s_current.l_data_length, in convert()
H A Dcheck.c57 (void) wcstombs(line, L->l_data.wp, L->l_data_length); in fail_check()
61 length = L->l_data_length; in fail_check()
H A Dtypes.h62 ssize_t l_data_length; member