Searched defs:_dtconv (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dsetlocale.c113 struct dtconv *_dtconv = NULL; variable in typeref:struct:dtconv
758 if (_dtconv == NULL) {
767 _dtconv = (struct dtconv*)malloc(sizeof (struct dtconv));
768 if (_dtconv == NULL)
785 p = getstr(p, &(_dtconv->abbrev_month_names[i]));
788 p = getstr(p, &(_dtconv->month_names[i]));
791 p = getstr(p, &(_dtconv->abbrev_weekday_names[i]));
793 p = getstr(p, &(_dtconv->weekday_names[i]));
795 p = getstr(p, &_dtconv->time_format);
796 p = getstr(p, &_dtconv
[all...]
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c167 static struct dtconv _dtconv; local
171 return (&_dtconv);
175 _dtconv.date_time_format = strdup(nl_langinfo(D_T_FMT));
176 _dtconv.date_format = strdup(nl_langinfo(D_FMT));
177 _dtconv.time_format = strdup(nl_langinfo(T_FMT));
178 _dtconv.time_format_ampm = strdup(nl_langinfo(T_FMT_AMPM));
179 _dtconv.am_string = strdup(nl_langinfo(AM_STR));
180 _dtconv.pm_string = strdup(nl_langinfo(PM_STR));
181 _dtconv.abbrev_day_names[0] = strdup(nl_langinfo(ABDAY_1));
182 _dtconv
[all...]

Completed in 46 milliseconds