Home
last modified time | relevance | path

Searched refs:_dtconv (Results 1 – 3 of 3) sorted by relevance

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