Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libc/port/locale/
H A Dlmonetary.c95 struct lc_monetary *lmon; in __lc_monetary_load() local
98 if ((ldata = __locdata_alloc(name, sizeof (*lmon))) == NULL) { in __lc_monetary_load()
101 lmon = ldata->l_data[0]; in __lc_monetary_load()
105 (const char **)lmon); in __lc_monetary_load()
114 clen = strlen(lmon->currency_symbol) + 2; in __lc_monetary_load()
116 lmon->crncystr = ldata->l_data[2]; in __lc_monetary_load()
118 lmon->mon_grouping = __fix_locale_grouping_str(lmon->mon_grouping); in __lc_monetary_load()
121 (((char *)lmon->NAME)[0] = cnv(lmon->NAME)) in __lc_monetary_load()
138 if (lmon->int_##NAME == NULL) \ in __lc_monetary_load()
139 lmon->int_##NAME = lmon->NAME; \ in __lc_monetary_load()
[all …]
H A Dstrfmon.c130 const struct lc_monetary *lmon; /* monetary structure */ in strfmon_impl() local
133 lmon = loc->monetary; in strfmon_impl()
242 currency_symbol = lmon->int_curr_symbol; in strfmon_impl()
247 currency_symbol = lmon->currency_symbol; in strfmon_impl()
260 pad_size = calc_left_pad(lmon, (flags ^ IS_NEGATIVE), in strfmon_impl()
262 calc_left_pad(lmon, flags, currency_symbol); in strfmon_impl()
269 asciivalue = format_grouped_double(lmon, lnum, value, &flags, in strfmon_impl()
276 setup_vars(lmon, flags, &cs_precedes, &sep_by_space, in strfmon_impl()
432 setup_vars(const struct lc_monetary *lmon, int flags, char *cs_precedes, in setup_vars() argument
436 *cs_precedes = lmon->int_n_cs_precedes[0]; in setup_vars()
[all …]
H A Dnl_langinfo.c51 const struct lc_monetary *lmon = loc->monetary; in nl_langinfo_l() local
161 ret = lmon->crncystr; in nl_langinfo_l()