/bionic/libc/include/ |
D | wctype.h | 38 int iswalnum_l(wint_t __wc, locale_t _Nonnull __l); 39 int iswalpha_l(wint_t __wc, locale_t _Nonnull __l); 40 int iswblank_l(wint_t __wc, locale_t _Nonnull __l); 41 int iswcntrl_l(wint_t __wc, locale_t _Nonnull __l); 42 int iswdigit_l(wint_t __wc, locale_t _Nonnull __l); 43 int iswgraph_l(wint_t __wc, locale_t _Nonnull __l); 44 int iswlower_l(wint_t __wc, locale_t _Nonnull __l); 45 int iswprint_l(wint_t __wc, locale_t _Nonnull __l); 46 int iswpunct_l(wint_t __wc, locale_t _Nonnull __l); 47 int iswspace_l(wint_t __wc, locale_t _Nonnull __l); [all …]
|
D | ctype.h | 179 __BIONIC_CTYPE_INLINE int isalnum_l(int __ch, locale_t __l) { in isalnum_l() 184 __BIONIC_CTYPE_INLINE int isalpha_l(int __ch, locale_t __l) { in isalpha_l() 189 __BIONIC_CTYPE_INLINE int isblank_l(int __ch, locale_t __l) { in isblank_l() 194 __BIONIC_CTYPE_INLINE int iscntrl_l(int __ch, locale_t __l) { in iscntrl_l() 199 __BIONIC_CTYPE_INLINE int isdigit_l(int __ch, locale_t __l) { in isdigit_l() 204 __BIONIC_CTYPE_INLINE int isgraph_l(int __ch, locale_t __l) { in isgraph_l() 209 __BIONIC_CTYPE_INLINE int islower_l(int __ch, locale_t __l) { in islower_l() 214 __BIONIC_CTYPE_INLINE int isprint_l(int __ch, locale_t __l) { in isprint_l() 219 __BIONIC_CTYPE_INLINE int ispunct_l(int __ch, locale_t __l) { in ispunct_l() 224 __BIONIC_CTYPE_INLINE int isspace_l(int __ch, locale_t __l) { in isspace_l() [all …]
|
D | locale.h | 101 locale_t _Nullable duplocale(locale_t _Nonnull __l); 102 void freelocale(locale_t _Nonnull __l); 103 locale_t _Nullable newlocale(int __category_mask, const char* _Nonnull __locale_name, locale_t _Nul… 105 locale_t _Nullable uselocale(locale_t _Nullable __l); 107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L)
|
D | wchar.h | 61 … _Nullable * _Nonnull __src, size_t __dst_n, mbstate_t* _Nullable __ps, locale_t _Nonnull __l) __I… 78 int wcscasecmp_l(const wchar_t* _Nonnull __lhs, const wchar_t* _Nonnull __rhs, locale_t _Nonnull __… 86 …_t __n, const wchar_t* _Nullable __fmt, const struct tm* _Nonnull __tm, locale_t _Nonnull __l) __I… 89 …nst wchar_t* _Nonnull __lhs, const wchar_t* _Nonnull __rhs, size_t __n, locale_t _Nonnull __l) __I… 97 …_NULLNESS * _Nullable __src, size_t __dst_n, mbstate_t* _Nullable __ps, locale_t _Nonnull __l) __I… 101 …null __s, wchar_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __end_ptr, locale_t _Nonnull __l) __I… 103 …null __s, wchar_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __end_ptr, locale_t _Nonnull __l) __I… 106 …har_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __end_ptr, int __base, locale_t _Nonnull __l) __I… 110 …har_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __end_ptr, int __base, locale_t _Nonnull __l) __I… 127 …char_t* _Nonnull __s, wchar_t* _Nullable * _Nullable __end_ptr, int __base, locale_t _Nonnull __l); [all …]
|
D | stdlib.h | 83 … char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, int __base, locale_t _Nonnull __l) __I… 208 …onst char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, int __base, locale_t _Nonnull __l); 209 …onst char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, int __base, locale_t _Nonnull __l); 210 long double strtold_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, locale_t _No… 213 double strtod_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, locale_t _Nonnull … 214 float strtof_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, locale_t _Nonnull _… 215 long strtol_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, int, locale_t _Nonnu…
|
D | xlocale.h | 49 typedef struct __locale_t* locale_t; typedef
|
/bionic/tests/headers/posix/ |
D | wctype_h.c | 37 TYPE(locale_t); in wctype_h() 42 FUNCTION(iswalnum_l, int (*f)(wint_t, locale_t)); in wctype_h() 44 FUNCTION(iswalpha_l, int (*f)(wint_t, locale_t)); in wctype_h() 46 FUNCTION(iswblank_l, int (*f)(wint_t, locale_t)); in wctype_h() 48 FUNCTION(iswcntrl_l, int (*f)(wint_t, locale_t)); in wctype_h() 50 FUNCTION(iswctype_l, int (*f)(wint_t, wctype_t, locale_t)); in wctype_h() 52 FUNCTION(iswdigit_l, int (*f)(wint_t, locale_t)); in wctype_h() 54 FUNCTION(iswgraph_l, int (*f)(wint_t, locale_t)); in wctype_h() 56 FUNCTION(iswlower_l, int (*f)(wint_t, locale_t)); in wctype_h() 58 FUNCTION(iswprint_l, int (*f)(wint_t, locale_t)); in wctype_h() [all …]
|
D | ctype_h.c | 35 FUNCTION(isalnum_l, int (*f)(int, locale_t)); in ctype_h() 37 FUNCTION(isalpha_l, int (*f)(int, locale_t)); in ctype_h() 40 FUNCTION(isblank_l, int (*f)(int, locale_t)); in ctype_h() 42 FUNCTION(iscntrl_l, int (*f)(int, locale_t)); in ctype_h() 44 FUNCTION(isdigit_l, int (*f)(int, locale_t)); in ctype_h() 46 FUNCTION(isgraph_l, int (*f)(int, locale_t)); in ctype_h() 48 FUNCTION(islower_l, int (*f)(int, locale_t)); in ctype_h() 50 FUNCTION(isprint_l, int (*f)(int, locale_t)); in ctype_h() 52 FUNCTION(ispunct_l, int (*f)(int, locale_t)); in ctype_h() 54 FUNCTION(isspace_l, int (*f)(int, locale_t)); in ctype_h() [all …]
|
D | locale_h.c | 77 MACRO_TYPE(locale_t, LC_GLOBAL_LOCALE); in locale_h() 78 TYPE(locale_t); in locale_h() 80 FUNCTION(duplocale, locale_t (*f)(locale_t)); in locale_h() 81 FUNCTION(freelocale, void (*f)(locale_t)); in locale_h() 83 FUNCTION(newlocale, locale_t (*f)(int, const char*, locale_t)); in locale_h() 85 FUNCTION(uselocale, locale_t (*f)(locale_t)); in locale_h()
|
D | strings_h.c | 40 FUNCTION(strcasecmp_l, int (*f)(const char*, const char*, locale_t)); in strings_h() 42 FUNCTION(strncasecmp_l, int (*f)(const char*, const char*, size_t, locale_t)); in strings_h() 44 TYPE(locale_t); in strings_h()
|
D | string_h.c | 36 TYPE(locale_t); in string_h() 50 FUNCTION(strcoll_l, int (*f)(const char*, const char*, locale_t)); in string_h() 55 FUNCTION(strerror_l, char* (*f)(int, locale_t)); in string_h() 71 FUNCTION(strxfrm_l, size_t (*f)(char*, const char*, size_t, locale_t)); in string_h()
|
D | wchar_h.c | 35 TYPE(locale_t); in wchar_h() 79 FUNCTION(wcscasecmp_l, int (*f)(const wchar_t*, const wchar_t*, locale_t)); in wchar_h() 84 FUNCTION(wcscoll_l, int (*f)(const wchar_t*, const wchar_t*, locale_t)); in wchar_h() 91 FUNCTION(wcsncasecmp_l, int (*f)(const wchar_t*, const wchar_t*, size_t, locale_t)); in wchar_h() 112 FUNCTION(wcsxfrm_l, size_t (*f)(wchar_t*, const wchar_t*, size_t, locale_t)); in wchar_h()
|
D | langinfo_h.c | 34 TYPE(locale_t); in langinfo_h() 94 FUNCTION(nl_langinfo_l, char* (*f)(nl_item, locale_t)); in langinfo_h()
|
D | time_h.c | 43 TYPE(locale_t); in time_h() 97 FUNCTION(strftime_l, size_t (*f)(char*, size_t, const char*, const struct tm*, locale_t)); in time_h()
|
/bionic/libc/bionic/ |
D | wchar_l.cpp | 32 int wcscasecmp_l(const wchar_t* ws1, const wchar_t* ws2, locale_t) { in wcscasecmp_l() argument 36 int wcsncasecmp_l(const wchar_t* ws1, const wchar_t* ws2, size_t n, locale_t) { in wcsncasecmp_l() argument 40 int wcscoll_l(const wchar_t* ws1, const wchar_t* ws2, locale_t) { in wcscoll_l() argument 44 double wcstod_l(const wchar_t* s, wchar_t** end_ptr, locale_t) { in wcstod_l() argument 48 float wcstof_l(const wchar_t* s, wchar_t** end_ptr, locale_t) { in wcstof_l() argument 52 long wcstol_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstol_l() argument 56 long long wcstoll_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstoll_l() argument 60 unsigned long wcstoul_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstoul_l() argument 64 unsigned long long wcstoull_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstoull_l() argument 68 long double wcstold_l(const wchar_t* s, wchar_t** end_ptr, locale_t) { in wcstold_l() argument [all …]
|
D | wctype.cpp | 84 int iswalnum_l(wint_t c, locale_t) { return iswalnum(c); } in iswalnum_l() argument 85 int iswalpha_l(wint_t c, locale_t) { return iswalpha(c); } in iswalpha_l() argument 86 int iswblank_l(wint_t c, locale_t) { return iswblank(c); } in iswblank_l() argument 87 int iswcntrl_l(wint_t c, locale_t) { return iswcntrl(c); } in iswcntrl_l() argument 88 int iswdigit_l(wint_t c, locale_t) { return iswdigit(c); } in iswdigit_l() argument 89 int iswgraph_l(wint_t c, locale_t) { return iswgraph(c); } in iswgraph_l() argument 90 int iswlower_l(wint_t c, locale_t) { return iswlower(c); } in iswlower_l() argument 91 int iswprint_l(wint_t c, locale_t) { return iswprint(c); } in iswprint_l() argument 92 int iswpunct_l(wint_t c, locale_t) { return iswpunct(c); } in iswpunct_l() argument 93 int iswspace_l(wint_t c, locale_t) { return iswspace(c); } in iswspace_l() argument [all …]
|
D | stdlib_l.cpp | 32 double strtod_l(const char* s, char** end_ptr, locale_t) { in strtod_l() argument 36 float strtof_l(const char* s, char** end_ptr, locale_t) { in strtof_l() argument 40 long strtol_l(const char* s, char** end_ptr, int base, locale_t) { in strtol_l() argument 44 long double strtold_l(const char* s, char** end_ptr, locale_t) { in strtold_l() argument 48 long long strtoll_l(const char* s, char** end_ptr, int base, locale_t) { in strtoll_l() argument 52 unsigned long strtoul_l(const char* s, char** end_ptr, int base, locale_t) { in strtoul_l() argument 56 unsigned long long strtoull_l(const char* s, char** end_ptr, int base, locale_t) { in strtoull_l() argument
|
D | locale.cpp | 66 static inline locale_t __alloc_locale(size_t mb_cur_max) { in __alloc_locale() 73 static inline size_t get_locale_mb_cur_max(locale_t l) { in get_locale_mb_cur_max() 86 static thread_local locale_t g_current_locale; 139 locale_t duplocale(locale_t l) { in duplocale() 143 void freelocale(locale_t l) { in freelocale() 147 locale_t newlocale(int category_mask, const char* locale_name, locale_t /*base*/) { in newlocale() argument 182 static locale_t* get_current_locale_ptr() { in get_current_locale_ptr() 190 locale_t uselocale(locale_t new_locale) { in uselocale() 191 locale_t old_locale = *get_current_locale_ptr(); in uselocale()
|
D | string_l.cpp | 32 int strcoll_l(const char* s1, const char* s2, locale_t) { in strcoll_l() argument 36 char* strerror_l(int error, locale_t) { in strerror_l() argument 40 size_t strxfrm_l(char* dst, const char* src, size_t n, locale_t) { in strxfrm_l() argument
|
D | strings_l.cpp | 32 int strcasecmp_l(const char* s1, const char* s2, locale_t) { in strcasecmp_l() argument 36 int strncasecmp_l(const char* s1, const char* s2, size_t n, locale_t) { in strncasecmp_l() argument
|
D | time_l.cpp | 32 char* strptime_l(const char* buf, const char* fmt, struct tm* tm, locale_t) { in strptime_l() argument
|
/bionic/tests/ |
D | locale_test.cpp | 99 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST() 105 locale_t cloned_global = duplocale(LC_GLOBAL_LOCALE); in TEST() 111 locale_t original = uselocale(nullptr); in TEST() 115 locale_t n = newlocale(LC_ALL, "C", nullptr); in TEST() 119 locale_t old = uselocale(n); in TEST() 130 locale_t cloc = newlocale(LC_ALL, "C", nullptr); in TEST() 131 locale_t cloc_utf8 = newlocale(LC_ALL, "C.UTF-8", nullptr); in TEST() 133 locale_t old_locale = uselocale(cloc); in TEST()
|
D | strings_test.cpp | 90 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST() 105 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST()
|
/bionic/libc/include/android/ |
D | legacy_stdlib_inlines.h | 41 … strtod_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, locale_t _Nonnull __l) { in strtod_l() 45 … strtof_l(const char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, locale_t _Nonnull __l) { in strtof_l() 49 …nst char* _Nonnull __s, char* _Nullable * _Nullable __end_ptr, int __base, locale_t _Nonnull __l) { in strtol_l()
|
/bionic/libc/include/bits/ |
D | strcasecmp.h | 54 int strcasecmp_l(const char* _Nonnull __s1, const char* _Nonnull __s2, locale_t _Nonnull __l) __att… 69 int strncasecmp_l(const char* _Nonnull __s1, const char* _Nonnull __s2, size_t __n, locale_t _Nonnu…
|