Lines Matching refs:components
180 if (loc->components[type]) { in destruct_locale()
181 xlocale_release(loc->components[type]); in destruct_locale()
221 struct xlocale_component *src = base->components[type]; in dupcomponent()
224 new->components[type] = constructors[type](src->locale, new); in dupcomponent()
225 if (new->components[type]) { in dupcomponent()
226 strncpy(new->components[type]->locale, src->locale, in dupcomponent()
228 strncpy(new->components[type]->version, src->version, in dupcomponent()
231 } else if (base->components[type]) { in dupcomponent()
232 new->components[type] = xlocale_retain(base->components[type]); in dupcomponent()
240 return (0 != new->components[type]); in dupcomponent()
279 new->components[type] = in newlocale()
281 if (new->components[type]) { in newlocale()
282 strncpy(new->components[type]->locale, in newlocale()
358 if (loc->components[type]) in querylocale()
359 return (loc->components[type]->version); in querylocale()
362 if (loc->components[type]) in querylocale()
363 return (loc->components[type]->locale); in querylocale()