Lines Matching refs:base
110 struct __locale_t *base) in newlocale() argument
114 (void) base; in newlocale()
124 if ((!base && category_mask == 0) in newlocale()
156 strcpy (new_categories[i], base ? base->categories[i] : "C"); in newlocale()
163 if (base && (((1 << i) & category_mask) == 0 in newlocale()
164 || !strcmp (base->categories[i], new_categories[i]))) in newlocale()
169 tmp_locale.wctomb = base->wctomb; in newlocale()
170 tmp_locale.mbtowc = base->mbtowc; in newlocale()
171 tmp_locale.cjk_lang = base->cjk_lang; in newlocale()
172 tmp_locale.ctype_ptr = base->ctype_ptr; in newlocale()
178 tmp_locale.lc_cat[i].ptr = base->lc_cat[i].ptr; in newlocale()
182 strcpy (tmp_locale.ctype_codeset, base->ctype_codeset); in newlocale()
184 strcpy (tmp_locale.message_codeset, base->message_codeset); in newlocale()
206 if (base) in newlocale()
215 tmp_locale.lc_cat[i].buf = base->lc_cat[i].buf; in newlocale()
216 if (base != __get_C_locale ()) in newlocale()
217 base->lc_cat[i].ptr = base->lc_cat[i].buf = NULL; in newlocale()
220 freelocale (base); in newlocale()