Home
last modified time | relevance | path

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

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/solaris/
Dxlocale.h22 typedef struct _LC_locale_t* locale_t; typedef
33 #define LC_GLOBAL_LOCALE ((locale_t)-1)
35 size_t __mb_cur_max(locale_t l);
38 locale_t newlocale(int mask, const char * locale, locale_t base);
39 void freelocale(locale_t loc);
41 wint_t btowc_l(int __c, locale_t __l);
43 int wctob_l(wint_t __c, locale_t __l);
45 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l);
48 mbstate_t *__ps, locale_t __l);
50 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l);
[all …]
/ndk/sources/android/support/include/
Dctype.h42 int isalnum_l(int, locale_t);
43 int isalpha_l(int, locale_t);
44 int isblank_l(int, locale_t);
45 int iscntrl_l(int, locale_t);
46 int isgraph_l(int, locale_t);
47 int isprint_l(int, locale_t);
48 int ispunct_l(int, locale_t);
49 int isspace_l(int, locale_t);
51 int islower_l(int, locale_t);
52 int isupper_l(int, locale_t);
[all …]
Dwctype.h68 int iswalnum_l(wint_t, locale_t);
69 int iswgraph_l(wint_t, locale_t);
70 int iswctype_l(wint_t, wctype_t, locale_t);
72 wint_t towctrans_l(wint_t, wctrans_t, locale_t);
73 wctrans_t wctrans_l(const char *, locale_t);
74 wctype_t wctype_l(const char *, locale_t);
76 int iswalpha_l(wint_t, locale_t);
77 int iswblank_l(wint_t, locale_t);
78 int iswcntrl_l(wint_t, locale_t);
79 int iswdigit_l(wint_t, locale_t);
[all …]
Dstdlib.h47 long strtol_l(const char *nptr, char **endptr, int base, locale_t loc);
48 unsigned long strtoul_l(const char *nptr, char **endptr, int base, locale_t loc);
49 long long strtoll_l(const char *nptr, char **endptr, int base, locale_t loc);
50 unsigned long long strtoull_l(const char *nptr, char **endptr, int base, locale_t loc);
51 long double strtold_l(const char *nptr, char **endptr, locale_t loc);
Dstdio.h51 int asprintf_l(char**, locale_t, const char*, ...);
52 int sprintf_l(char*, locale_t, const char*, ...);
53 int snprintf_l(char*, size_t, locale_t, const char*, ...);
54 int sscanf_l(const char*, locale_t, const char*, ...);
Dlocale.h93 extern locale_t newlocale(int, const char*, locale_t);
94 extern locale_t uselocale(locale_t);
95 extern void freelocale(locale_t);
97 #define LC_GLOBAL_LOCALE ((locale_t) -1L)
Dstring.h41 int strcoll_l(const char*, const char*, locale_t);
42 size_t strxfrm_l(char *, const char *, size_t, locale_t);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/ibm/
Dxlocale.h35 typedef void* locale_t; typedef
39 locale_t newlocale(int category_mask, const char *locale, locale_t base) in newlocale()
45 return (locale_t)0; in newlocale()
50 return (locale_t)0; in newlocale()
67 return (locale_t)newloc; in newlocale()
70 void freelocale(locale_t locobj) in freelocale()
75 locale_t uselocale(locale_t newloc) in uselocale()
77 return (locale_t)0; in uselocale()
81 int isalnum_l(int c, locale_t locale) in isalnum_l()
86 int isalpha_l(int c, locale_t locale) in isalpha_l()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dlocale_win32.h21 #define locale_t _locale_t macro
36 locale_t newlocale( int mask, const char * locale, locale_t base );
37 locale_t uselocale( locale_t newloc );
38 lconv *localeconv_l( locale_t loc );
40 mbstate_t *__restrict ps, locale_t loc);
42 size_t len, mbstate_t *__restrict ps, locale_t loc );
44 locale_t loc);
46 size_t n, mbstate_t *__restrict ps, locale_t loc);
48 size_t nms, size_t len, mbstate_t *__restrict ps, locale_t loc);
50 size_t nwc, size_t len, mbstate_t *__restrict ps, locale_t loc);
[all …]
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/
Dc_locale_glibc2.c24 locale_t __cloc;
29 locale_t __cloc;
34 locale_t __cloc;
39 locale_t __cloc;
44 locale_t __cloc;
49 locale_t __cloc;
162 return ((locale_t)__loc)->__names[LC_CTYPE]; in _Locale_ctype_name()
172 return ((locale_t)__loc)->__names[LC_NUMERIC]; in _Locale_numeric_name()
177 return ((locale_t)__loc)->__names[LC_TIME]; in _Locale_time_name()
182 return ((locale_t)__loc)->__names[LC_COLLATE]; in _Locale_collate_name()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/
Dlocale_win32.cpp15 locale_t newlocale( int mask, const char * locale, locale_t /*base*/ ) in newlocale() argument
19 locale_t uselocale( locale_t newloc ) in uselocale()
21 locale_t old_locale = _get_current_locale(); in uselocale()
31 lconv *localeconv_l( locale_t loc ) in localeconv_l()
37 mbstate_t *__restrict ps, locale_t loc ) in mbrlen_l()
43 size_t len, mbstate_t *__restrict ps, locale_t loc ) in mbsrtowcs_l()
49 locale_t loc ) in wcrtomb_l()
55 size_t n, mbstate_t *__restrict ps, locale_t loc ) in mbrtowc_l()
61 size_t nms, size_t len, mbstate_t *__restrict ps, locale_t loc ) in mbsnrtowcs_l()
67 size_t nwc, size_t len, mbstate_t *__restrict ps, locale_t loc ) in wcsnrtombs_l()
[all …]
/ndk/sources/android/support/src/
Dlocale_support.c51 int vasprintf_l(char** strp, locale_t l, const char* fmt, va_list args) { in vasprintf_l()
56 int asprintf_l(char** strp, locale_t locale, const char* fmt, ...) { in asprintf_l()
64 int vsprintf_l(char* str, locale_t l, const char* fmt, va_list args) { in vsprintf_l()
69 int sprintf_l(char* str, locale_t l, const char* fmt, ...) { in sprintf_l()
77 int vsnprintf_l(char* str, size_t size, locale_t l, const char* fmt, va_list args) { in vsnprintf_l()
81 int snprintf_l(char* str, size_t size, locale_t l, const char* fmt, ...) { in snprintf_l()
89 int vsscanf_l(const char* str, locale_t l, const char* fmt, va_list args) { in vsscanf_l()
93 int sscanf_l(const char* str, locale_t l, const char* fmt, ...) { in sscanf_l()
104 long strtol_l(const char *nptr, char **endptr, int base, locale_t loc) { in strtol_l()
108 unsigned long strtoul_l(const char *nptr, char **endptr, int base, locale_t loc) { in strtoul_l()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/
Dxlocale.c29 size_t __mb_cur_max(locale_t __l) { in __mb_cur_max()
34 wint_t btowc_l(int __c, locale_t __l) { in btowc_l()
39 int wctob_l(wint_t __c, locale_t __l) { in wctob_l()
44 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) { in wcrtomb_l()
51 mbstate_t *__ps, locale_t __l) { in mbrtowc_l()
57 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l) { in mbtowc_l()
63 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) { in mbrlen_l()
69 struct lconv *localeconv_l(locale_t __l) { in localeconv_l()
75 mbstate_t *__ps, locale_t __l) { in mbsrtowcs_l()
81 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t __l) { in wcscoll_l()
[all …]
/ndk/sources/android/support/src/locale/
Dduplocale.c33 locale_t duplocale(locale_t loc) { in duplocale()
40 locale_t copy = calloc(1, sizeof(*loc)); in duplocale()
Duselocale.c38 locale_t uselocale(locale_t loc) in uselocale()
41 locale_t old_loc = pthread_getspecific(s_locale_key); in uselocale()
Dnewlocale.c32 locale_t newlocale(int category_mask, const char* locale, locale_t base) { in newlocale()
Dlocale_impl.h33 #define LC_NULL_LOCALE ((locale_t)0)
/ndk/sources/android/support/src/musl-locale/
Dnewlocale.c6 locale_t newlocale(int mask, const char *name, locale_t base) in newlocale()
Dtolower_l.c3 int tolower_l(int c, locale_t l) in tolower_l()
Disblank_l.c3 int isblank_l(int c, locale_t l) in isblank_l()
Disprint_l.c3 int isprint_l(int c, locale_t l) in isprint_l()
Dtoupper_l.c3 int toupper_l(int c, locale_t l) in toupper_l()
Dislower_l.c3 int islower_l(int c, locale_t l) in islower_l()
Disupper_l.c3 int isupper_l(int c, locale_t l) in isupper_l()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0003-Fallback-to-locale-C.patch17 @@ -54,6 +54,10 @@ locale_t __cloc() {
21 +inline locale_t __new_cloc() {
168 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
182 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
256 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
270 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
284 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
298 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);

1234