Lines Matching refs:name

33 static inline bool is_C_locale_name (const char* name)  in is_C_locale_name()  argument
34 { return ((name[0] == 'C') && (name[1] == 0)); } in is_C_locale_name()
75 : _Refcount_Base(0), name(s), facets_vec() { in _Locale_impl()
81 : _Refcount_Base(0), name(locimpl.name), facets_vec() { in _Locale_impl()
88 : _Refcount_Base(0), name(s), facets_vec(n, 0) { in _Locale_impl()
150 _Locale_name_hint* _Locale_impl::insert_ctype_facets(const char* &name, char *buf, _Locale_name_hin… in insert_ctype_facets() argument
151 if (name[0] == 0) in insert_ctype_facets()
152 name = _Locale_ctype_default(buf); in insert_ctype_facets()
154 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_ctype_facets()
170 _Locale_ctype *__lct = _STLP_PRIV __acquire_ctype(name, buf, hint, &__err_code); in insert_ctype_facets()
172 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in insert_ctype_facets()
184 cvt = new codecvt_byname<char, char, mbstate_t>(name); in insert_ctype_facets()
190 _Locale_ctype *__lwct = _STLP_PRIV __acquire_ctype(name, buf, hint, &__err_code); in insert_ctype_facets()
192 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in insert_ctype_facets()
201 _Locale_codecvt *__lwcvt = _STLP_PRIV __acquire_codecvt(name, buf, hint, &__err_code); in insert_ctype_facets()
222 _Locale_name_hint* _Locale_impl::insert_numeric_facets(const char* &name, char *buf, _Locale_name_h… in insert_numeric_facets() argument
223 if (name[0] == 0) in insert_numeric_facets()
224 name = _Locale_numeric_default(buf); in insert_numeric_facets()
240 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_numeric_facets()
253 _Locale_numeric *__lpunct = _STLP_PRIV __acquire_numeric(name, buf, hint, &__err_code); in insert_numeric_facets()
255 locale::_M_throw_on_creation_failure(__err_code, name, "numpunct"); in insert_numeric_facets()
266 _Locale_numeric *__lwpunct = _STLP_PRIV __acquire_numeric(name, buf, hint, &__err_code); in insert_numeric_facets()
269 locale::_M_throw_on_creation_failure(__err_code, name, "numpunct"); in insert_numeric_facets()
288 _Locale_name_hint* _Locale_impl::insert_time_facets(const char* &name, char *buf, _Locale_name_hint… in insert_time_facets() argument
289 if (name[0] == 0) in insert_time_facets()
290 name = _Locale_time_default(buf); in insert_time_facets()
292 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_time_facets()
313 _Locale_time *__time = _STLP_PRIV __acquire_time(name, buf, hint, &__err_code); in insert_time_facets()
350 _Locale_name_hint* _Locale_impl::insert_collate_facets(const char* &name, char *buf, _Locale_name_h… in insert_collate_facets() argument
351 if (name[0] == 0) in insert_collate_facets()
352 name = _Locale_collate_default(buf); in insert_collate_facets()
354 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_collate_facets()
368 _Locale_collate *__coll = _STLP_PRIV __acquire_collate(name, buf, hint, &__err_code); in insert_collate_facets()
383 _Locale_collate *__wcoll = _STLP_PRIV __acquire_collate(name, buf, hint, &__err_code); in insert_collate_facets()
406 _Locale_name_hint* _Locale_impl::insert_monetary_facets(const char* &name, char *buf, _Locale_name_… in insert_monetary_facets() argument
407 if (name[0] == 0) in insert_monetary_facets()
408 name = _Locale_monetary_default(buf); in insert_monetary_facets()
420 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_monetary_facets()
438 _Locale_monetary *__mon = _STLP_PRIV __acquire_monetary(name, buf, hint, &__err_code); in insert_monetary_facets()
453 _Locale_monetary *__imon = _STLP_PRIV __acquire_monetary(name, buf, hint, &__err_code); in insert_monetary_facets()
469 _Locale_monetary *__wmon = _STLP_PRIV __acquire_monetary(name, buf, hint, &__err_code); in insert_monetary_facets()
482 _Locale_monetary *__wimon = _STLP_PRIV __acquire_monetary(name, buf, hint, &__err_code); in insert_monetary_facets()
511 _Locale_name_hint* _Locale_impl::insert_messages_facets(const char* &name, char *buf, _Locale_name_… in insert_messages_facets() argument
512 if (name[0] == 0) in insert_messages_facets()
513 name = _Locale_messages_default(buf); in insert_messages_facets()
515 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_messages_facets()
529 _Locale_messages *__msg = _STLP_PRIV __acquire_messages(name, buf, hint, &__err_code); in insert_messages_facets()
544 _Locale_messages *__wmsg = _STLP_PRIV __acquire_messages(name, buf, hint, &__err_code); in insert_messages_facets()
718 loc_new->name = _Nameless; in _copy_Nameless_Locale_impl()