/illumos-gate/usr/src/cmd/sort/ |
H A D | streams_wide.c | 72 (void) memcpy(str->s_buffer, str->s_current.l_data.wp, in stream_wide_prime() 74 str->s_current.l_data.wp = str->s_buffer; in stream_wide_prime() 78 *(str->s_current.l_data.wp + in stream_wide_prime() 104 str->s_current.l_data.wp = 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() 137 str->s_current.l_data.wp = graft_pt; in stream_wide_fetch() 157 if ((next_nl = xmemwchar(str->s_current.l_data.wp, L'\n', in stream_wide_fetch() 160 MIN(wslen(str->s_current.l_data.wp), dist_to_buf_end); in stream_wide_fetch() 163 str->s_current.l_data.wp; in stream_wide_fetch() [all …]
|
H A D | streams_mmap.c | 49 str->s_current.l_data.sp = str->s_buffer; in stream_mmap_prime() 82 str->s_current.l_data.sp = str->s_current.l_data.sp + in stream_mmap_fetch() 85 dist_to_buf_end = str->s_buffer_size - (str->s_current.l_data.sp in stream_mmap_fetch() 89 next_nl = memchr(str->s_current.l_data.sp, '\n', dist_to_buf_end); in stream_mmap_fetch() 93 - str->s_current.l_data.sp; in stream_mmap_fetch() 102 if (str->s_current.l_data.sp + str->s_current.l_data_length + 1 >= in stream_mmap_fetch() 168 (stream_is_primed(str) && str->s_current.l_data.sp - in stream_mmap_eos() 194 while ((caddr_t)((ulong_t)str->s_current.l_data.sp & ALIGNED) - in stream_mmap_release_line()
|
H A D | streams_stdio.c | 108 (void) memcpy(str->s_buffer, str->s_current.l_data.sp, in stream_stdio_prime() 110 str->s_current.l_data.sp = str->s_buffer; in stream_stdio_prime() 118 *(str->s_current.l_data.sp + in stream_stdio_prime() 145 str->s_current.l_data.sp = 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() 187 str->s_current.l_data.sp = graft_pt; in stream_stdio_fetch() 225 if ((next_nl = memchr(str->s_current.l_data.sp, '\n', in stream_stdio_fetch() 227 str->s_current.l_data_length = strlen(str->s_current.l_data.sp); in stream_stdio_fetch() 230 str->s_current.l_data.sp; in stream_stdio_fetch() 235 if (*(str->s_current.l_data.sp + str->s_current.l_data_length) != in stream_stdio_fetch() [all …]
|
H A D | fields.c | 365 char *S = L->l_data.sp; in field_boundary() 410 wchar_t *S = L->l_data.wp; in field_boundary_wide() 456 char *S = L->l_data.sp; in field_boundary_tabbed() 519 wchar_t *S = L->l_data.wp; in field_boundary_tabbed_wide() 592 while (IS_BLANK(*(L->l_data.sp + month_offset))) { in field_convert_month() 598 month_candidate[j] = toupper((L->l_data.sp + month_offset)[j]); in field_convert_month() 643 while (W_IS_BLANK(*(L->l_data.wp + month_offset))) { in field_convert_month_wide() 648 month = L->l_data.wp + month_offset; in field_convert_month_wide() 693 char t = (L->l_data.sp)[i]; in field_convert_alpha() 734 (void) memcpy(compose, L->l_data.sp + data_offset, data_length); in field_convert_alpha_simple() [all …]
|
H A D | check.c | 48 if ((length = (ssize_t)wcstombs(NULL, L->l_data.wp, 0)) < 0) in fail_check() 55 (void) wcstombs(line, L->l_data.wp, L->l_data_length); in fail_check() 58 line = L->l_data.sp; in fail_check()
|
H A D | convert.c | 78 cur_streamp->s_current.l_data.wp); in convert() 82 cur_streamp->s_current.l_data.usp); in convert()
|
H A D | types.h | 57 vcharptr_t l_data; /* raw data */ member
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | localeimpl.c | 179 if ((ldata->l_data[0] = libc_malloc(memsz)) == NULL) { in __locdata_alloc() 197 libc_free(ldata->l_data[i]); in __locdata_free() 440 loc->collate = loc->locdata[LC_COLLATE]->l_data[0]; in duplocale() 441 loc->ctype = loc->locdata[LC_CTYPE]->l_data[0]; in duplocale() 442 loc->runelocale = loc->locdata[LC_CTYPE]->l_data[1]; in duplocale() 443 loc->messages = loc->locdata[LC_MESSAGES]->l_data[0]; in duplocale() 444 loc->monetary = loc->locdata[LC_MONETARY]->l_data[0]; in duplocale() 445 loc->numeric = loc->locdata[LC_NUMERIC]->l_data[0]; in duplocale() 446 loc->time = loc->locdata[LC_TIME]->l_data[0]; in duplocale() 502 loc->collate = loc->locdata[LC_COLLATE]->l_data[0]; in newlocale() [all …]
|
H A D | lmonetary.c | 77 .l_data = { &lc_monetary_posix } 101 lmon = ldata->l_data[0]; in __lc_monetary_load() 103 ret = __part_load_locale(name, (char **)&ldata->l_data[1], in __lc_monetary_load() 115 ldata->l_data[2] = libc_malloc(clen); in __lc_monetary_load() 116 lmon->crncystr = ldata->l_data[2]; in __lc_monetary_load()
|
H A D | timelocal.c | 88 .l_data = { &lc_time_posix } 102 ltime = ldata->l_data[0]; in __lc_time_load() 104 ret = __part_load_locale(name, (char **)&ldata->l_data[1], in __lc_time_load()
|
H A D | lmessages.c | 51 .l_data = { &lc_messages_posix } 63 lmsgs = ldata->l_data[0]; in __lc_messages_load() 65 ret = __part_load_locale(name, (char **)&ldata->l_data[1], in __lc_messages_load()
|
H A D | lnumeric.c | 50 .l_data = { &lc_numeric_posix } 68 lnum = ldata->l_data[0]; in __lc_numeric_load() 70 ret = __part_load_locale(name, (char **)&ldata->l_data[1], in __lc_numeric_load()
|
H A D | setrunelocale.c | 69 .l_data = { &lc_ctype_posix, &_DefaultRuneLocale } 107 lct = ldata->l_data[0]; in __lc_ctype_load() 120 ldata->l_data[1] = rl; in __lc_ctype_load()
|
H A D | localeconv.c | 67 mptr = loc->locdata[LC_MONETARY]->l_data[0]; in localeconv() 97 nptr = loc->locdata[LC_NUMERIC]->l_data[0]; in localeconv()
|
H A D | setlocale.c | 153 lnum = loc->locdata[LC_NUMERIC]->l_data[0]; in install_legacy() 160 lct = loc->locdata[LC_CTYPE]->l_data[0]; in install_legacy()
|
H A D | localeimpl.h | 49 void *l_data[NLOCDATA]; /* storage area */ member
|
H A D | collate.c | 70 .l_data = { &lc_collate_posix } 150 lcc = ldata->l_data[0]; in __lc_collate_load()
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 319 sunFmModule_data_t *l_data = (sunFmModule_data_t *)l; in module_compare_name() local 322 ASSERT(l_data != NULL && r_data != NULL); in module_compare_name() 324 return (strcmp(l_data->d_ami_name, r_data->d_ami_name)); in module_compare_name() 331 sunFmModule_data_t *l_data = (sunFmModule_data_t *)l; in module_compare_index() local 334 ASSERT(l_data != NULL && r_data != NULL); in module_compare_index() 336 return (l_data->d_index < r_data->d_index ? -1 : in module_compare_index() 337 l_data->d_index > r_data->d_index ? 1 : 0); in module_compare_index()
|
H A D | resource.c | 315 sunFmResource_data_t *l_data = (sunFmResource_data_t *)l; in resource_compare_fmri() local 318 ASSERT(l_data != NULL && r_data != NULL); in resource_compare_fmri() 320 return (strcmp(l_data->d_ari_fmri, r_data->d_ari_fmri)); in resource_compare_fmri() 327 sunFmResource_data_t *l_data = (sunFmResource_data_t *)l; in resource_compare_index() local 330 ASSERT(l_data != NULL && r_data != NULL); in resource_compare_index() 332 return (l_data->d_index < r_data->d_index ? -1 : in resource_compare_index() 333 l_data->d_index > r_data->d_index ? 1 : 0); in resource_compare_index()
|
H A D | problem.c | 323 sunFmProblem_data_t *l_data = (sunFmProblem_data_t *)l; in problem_compare_uuid() local 326 ASSERT(l_data != NULL && r_data != NULL); in problem_compare_uuid() 328 return (strcmp(l_data->d_aci_uuid, r_data->d_aci_uuid)); in problem_compare_uuid()
|