Home
last modified time | relevance | path

Searched refs:locale_t (Results 1 – 25 of 35) sorted by relevance

12

/bionic/libc/bionic/
Dctype.cpp34 int isalnum_l(int c, locale_t) { in isalnum_l() argument
38 int isalpha_l(int c, locale_t) { in isalpha_l() argument
42 int isblank_l(int c, locale_t) { in isblank_l() argument
46 int iscntrl_l(int c, locale_t) { in iscntrl_l() argument
50 int isdigit_l(int c, locale_t) { in isdigit_l() argument
54 int isgraph_l(int c, locale_t) { in isgraph_l() argument
58 int islower_l(int c, locale_t) { in islower_l() argument
62 int isprint_l(int c, locale_t) { in isprint_l() argument
66 int ispunct_l(int c, locale_t) { in ispunct_l() argument
70 int isspace_l(int c, locale_t) { in isspace_l() argument
[all …]
Dwchar_l.cpp32 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 size_t wcsftime_l(wchar_t* buf, size_t n, const wchar_t* fmt, const struct tm* tm, locale_t) { in wcsftime_l() argument
48 size_t wcsxfrm_l(wchar_t* dst, const wchar_t* src, size_t n, locale_t) { in wcsxfrm_l() argument
52 double wcstod_l(const wchar_t* s, wchar_t** end_ptr, locale_t) { in wcstod_l() argument
56 float wcstof_l(const wchar_t* s, wchar_t** end_ptr, locale_t) { in wcstof_l() argument
60 long wcstol_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstol_l() argument
64 long long wcstoll_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstoll_l() argument
68 unsigned long wcstoul_l(const wchar_t* s, wchar_t** end_ptr, int base, locale_t) { in wcstoul_l() argument
[all …]
Dstdlib_l.cpp32 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
Dwctype.cpp84 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 …]
Dlocale.cpp73 locale_t l = uselocale(nullptr); in __ctype_get_mb_cur_max()
82 static thread_local locale_t g_current_locale;
135 locale_t duplocale(locale_t l) { in duplocale()
139 void freelocale(locale_t l) { in freelocale()
143 locale_t newlocale(int category_mask, const char* locale_name, locale_t /*base*/) { in newlocale() argument
178 static locale_t* get_current_locale_ptr() { in get_current_locale_ptr()
186 locale_t uselocale(locale_t new_locale) { in uselocale()
187 locale_t old_locale = *get_current_locale_ptr(); in uselocale()
Dstring_l.cpp32 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
Dstrings_l.cpp32 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
/bionic/libc/include/
Dwctype.h39 int iswalnum_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
40 int iswalpha_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
41 int iswblank_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
42 int iswcntrl_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
43 int iswdigit_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
44 int iswgraph_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
45 int iswlower_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
46 int iswprint_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
47 int iswpunct_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
48 int iswspace_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
[all …]
Dlocale.h101 locale_t duplocale(locale_t __l) __INTRODUCED_IN(21);
102 void freelocale(locale_t __l) __INTRODUCED_IN(21);
103 locale_t newlocale(int __category_mask, const char* __locale_name, locale_t __base) __INTRODUCED_IN…
105 locale_t uselocale(locale_t __l) __INTRODUCED_IN(21);
107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L)
Dwchar.h76 int wcscasecmp_l(const wchar_t* __lhs, const wchar_t* __rhs, locale_t __l) __INTRODUCED_IN(23);
84 size_t wcsftime_l(wchar_t* __buf, size_t __n, const wchar_t* __fmt, const struct tm* __tm, locale_t
87 int wcsncasecmp_l(const wchar_t* __lhs, const wchar_t* __rhs, size_t __n, locale_t __l) __INTRODUCE…
98 double wcstod_l(const wchar_t* __s, wchar_t** __end_ptr, locale_t __l) __INTRODUCED_IN(28);
100 float wcstof_l(const wchar_t* __s, wchar_t** __end_ptr, locale_t __l) __INTRODUCED_IN(28);
103 long wcstol_l(const wchar_t* __s, wchar_t** __end_ptr, int __base, locale_t __l) __INTRODUCED_IN(28…
107 unsigned long wcstoul_l(const wchar_t* __s, wchar_t** __end_ptr, int __base, locale_t __l) __INTROD…
125 long long wcstoll_l(const wchar_t* __s, wchar_t** __end_ptr, int __base, locale_t __l) __INTRODUCED…
126 unsigned long long wcstoull_l(const wchar_t* __s, wchar_t** __end_ptr, int __base, locale_t __l) __…
127 long double wcstold_l(const wchar_t* __s, wchar_t** __end_ptr, locale_t __l) __INTRODUCED_IN(21);
[all …]
Dstdlib.h87 unsigned long strtoul_l(const char* __s, char** __end_ptr, int __base, locale_t __l) __INTRODUCED_I…
203 long long strtoll_l(const char* __s, char** __end_ptr, int __base, locale_t __l) __INTRODUCED_IN(21…
204 unsigned long long strtoull_l(const char* __s, char** __end_ptr, int __base, locale_t __l) __INTROD…
205 long double strtold_l(const char* __s, char** __end_ptr, locale_t __l) __INTRODUCED_IN(21);
211 double strtod_l(const char* __s, char** __end_ptr, locale_t __l) __INTRODUCED_IN(26);
212 float strtof_l(const char* __s, char** __end_ptr, locale_t __l) __INTRODUCED_IN(26);
213 long strtol_l(const char* __s, char** __end_ptr, int, locale_t __l) __INTRODUCED_IN(26);
Dxlocale.h49 typedef struct __locale_t* locale_t; typedef
Dtime.h78 char* strptime_l(const char* __s, const char* __fmt, struct tm* __tm, locale_t __l) __strftimelike(…
82 size_t strftime_l(char* __buf, size_t __n, const char* __fmt, const struct tm* __tm, locale_t __l) …
/bionic/tests/headers/posix/
Dwctype_h.c37 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 …]
Dctype_h.c35 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 …]
Dlocale_h.c77 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()
Dstrings_h.c40 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()
Dstring_h.c36 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()
Dwchar_h.c35 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()
Dlanginfo_h.c34 TYPE(locale_t); in langinfo_h()
94 FUNCTION(nl_langinfo_l, char* (*f)(nl_item, locale_t)); in langinfo_h()
/bionic/libc/include/bits/
Dctype_inlines.h178 int isalnum_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
180 int isalpha_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
182 int isblank_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
184 int iscntrl_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
186 int isdigit_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
188 int isgraph_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
190 int islower_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
192 int isprint_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
194 int ispunct_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
196 int isspace_l(int __ch, locale_t __l) __INTRODUCED_IN(21);
[all …]
Dstrcasecmp.h54 int strcasecmp_l(const char* __s1, const char* __s2, locale_t __l) __attribute_pure__ __INTRODUCED_…
69 int strncasecmp_l(const char* __s1, const char* __s2, size_t __n, locale_t __l) __attribute_pure__ …
/bionic/tests/
Dlocale_test.cpp94 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST()
100 locale_t cloned_global = duplocale(LC_GLOBAL_LOCALE); in TEST()
106 locale_t original = uselocale(nullptr); in TEST()
110 locale_t n = newlocale(LC_ALL, "C", nullptr); in TEST()
114 locale_t old = uselocale(n); in TEST()
125 locale_t cloc = newlocale(LC_ALL, "C", nullptr); in TEST()
126 locale_t cloc_utf8 = newlocale(LC_ALL, "C.UTF-8", nullptr); in TEST()
128 locale_t old_locale = uselocale(cloc); in TEST()
Dstrings_test.cpp90 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/
Dlegacy_stdlib_inlines.h98 static __inline double strtod_l(const char* __s, char** __end_ptr, locale_t __l) { in strtod_l()
102 static __inline float strtof_l(const char* __s, char** __end_ptr, locale_t __l) { in strtof_l()
106 static __inline long strtol_l(const char* __s, char** __end_ptr, int __base, locale_t __l) { in strtol_l()

12