Searched refs:tmp_locale (Results 1 – 2 of 2) sorted by relevance
134 struct __locale_t tmp_locale, *new_locale; in newlocale() local138 tmp_locale = *__get_C_locale (); in newlocale()166 strcpy (tmp_locale.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()179 tmp_locale.lc_cat[i].buf = (void *) -1; in newlocale()182 strcpy (tmp_locale.ctype_codeset, base->ctype_codeset); in newlocale()[all …]
77 struct __locale_t tmp_locale, *new_locale; in duplocale() local83 (void) tmp_locale; in duplocale()94 tmp_locale = *locobj; in duplocale()101 tmp_locale.lc_cat[i].ptr = NULL; in duplocale()102 tmp_locale.lc_cat[i].buf = NULL; in duplocale()103 tmp_locale.categories[i][0] = '\0'; /* __loadlocale tests this! */ in duplocale()104 if (!__loadlocale (&tmp_locale, i, locobj->categories[i])) in duplocale()113 *new_locale = tmp_locale; in duplocale()121 if (tmp_locale.lc_cat[i].buf) in duplocale()123 free ((void *) tmp_locale.lc_cat[i].ptr); in duplocale()[all …]