Lines Matching defs:base
220 static int dupcomponent(int type, locale_t base, locale_t new)
224 struct xlocale_component *src = base->components[type];
226 if (&__xlocale_global_locale == base) {
232 } else if (base->components[type]) {
233 new->components[type] = xlocale_retain(base->components[type]);
235 /* If the component was NULL, return success - if base is a
249 locale_t newlocale(int mask, const char *locale, locale_t base)
263 FIX_LOCALE(base);
264 copyflags(new, base);
287 if (!dupcomponent(type, base, new)) {
302 locale_t duplocale(locale_t base)
313 FIX_LOCALE(base);
314 copyflags(new, base);
317 dupcomponent(type, base, new);