Home
last modified time | relevance | path

Searched refs:_LOCALE_UTF8 (Results 1 – 7 of 7) sorted by relevance

/openbsd/regress/lib/libc/locale/uselocale/
H A Duselocale.c32 #define _LOCALE_UTF8 (locale_t)2 macro
254 TEST_R(duplocale, _LOCALE_UTF8, _LOCALE_UTF8); in child_func()
263 TEST_R(iswalpha_l, 1, 0x00E9, _LOCALE_UTF8); in child_func()
281 TEST_R(isalpha_l, 0, 0x30, _LOCALE_UTF8); in child_func()
284 TEST_R(tolower_l, 0x61, 0x41, _LOCALE_UTF8); in child_func()
287 TEST_R(tolower_l, 0x40, 0x40, _LOCALE_UTF8); in child_func()
290 TEST_R(iswalpha_l, 1, 0x00E9, _LOCALE_UTF8); in child_func()
293 TEST_R(iswalpha_l, 1, 0x0153, _LOCALE_UTF8); in child_func()
310 wctyu = wctype_l("upper", _LOCALE_UTF8); in child_func()
330 wctru = wctrans_l("tolower", _LOCALE_UTF8); in child_func()
[all …]
/openbsd/lib/libc/locale/
H A Dduplocale.c26 if (oldloc == _LOCALE_UTF8 && _Utf8RuneLocale != NULL) in duplocale()
27 return _LOCALE_UTF8; in duplocale()
32 _LOCALE_UTF8 : _LOCALE_C; in duplocale()
H A Dnewlocale.c47 return oldloc == _LOCALE_UTF8 ? _LOCALE_UTF8 : _LOCALE_C; in newlocale()
54 return strchr(locname, '.') == NULL ? _LOCALE_C : _LOCALE_UTF8; in newlocale()
H A Duselocale.c33 if (newloc == _LOCALE_UTF8 && _Utf8RuneLocale != NULL) in uselocale()
44 oldrunes == _Utf8RuneLocale ? _LOCALE_UTF8 : _LOCALE_C; in uselocale()
H A Drune.h46 #define _LOCALE_UTF8 (locale_t)2 macro
H A Dnl_langinfo_l.c33 if (locale == _LOCALE_UTF8) in nl_langinfo_l()
H A Diswctype_l.c64 if (locale == _LOCALE_UTF8) in __runelocale()