| /freebsd-13-stable/include/xlocale/ |
| HD | _wchar.h | 33 typedef struct _xlocale *locale_t; typedef 39 locale_t); 41 locale_t); 42 int wcscoll_l(const wchar_t *, const wchar_t *, locale_t); 44 const wchar_t * __restrict, size_t, locale_t); 56 wint_t btowc_l(int, locale_t); 57 wint_t fgetwc_l(FILE *, locale_t); 59 locale_t); 60 wint_t fputwc_l(wchar_t, FILE *, locale_t); 62 locale_t); [all …]
|
| HD | _stdlib.h | 36 double atof_l(const char *, locale_t); 37 int atoi_l(const char *, locale_t); 38 long atol_l(const char *, locale_t); 39 long long atoll_l(const char *, locale_t); 40 int mblen_l(const char *, size_t, locale_t); 42 const char * __restrict, size_t, locale_t); 44 const char * __restrict, size_t, locale_t); 45 double strtod_l(const char *, char **, locale_t); 46 float strtof_l(const char *, char **, locale_t); 47 long strtol_l(const char *, char **, int, locale_t); [all …]
|
| HD | _ctype.h | 43 typedef struct _xlocale *locale_t; typedef 48 unsigned long ___runetype_l(__ct_rune_t, locale_t) __pure; 49 __ct_rune_t ___tolower_l(__ct_rune_t, locale_t) __pure; 50 __ct_rune_t ___toupper_l(__ct_rune_t, locale_t) __pure; 51 _RuneLocale *__runes_for_locale(locale_t, int*); 71 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc); 73 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc); 76 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __maskrune_l() 85 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __istype_l() 91 _XLOCALE_INLINE int isw##fname##_l(int, locale_t);\ [all …]
|
| HD | _stdio.h | 31 int asprintf_l(char **, locale_t, const char *, ...) __printflike(3, 4); 32 int dprintf_l(int, locale_t, const char * __restrict, ...) 34 int fprintf_l(FILE * __restrict, locale_t, const char * __restrict, ...) 36 int fscanf_l(FILE * __restrict, locale_t, const char * __restrict, ...) 38 int printf_l(locale_t, const char * __restrict, ...) __printflike(2, 3); 39 int scanf_l(locale_t, const char * __restrict, ...) __scanflike(2, 3); 40 int snprintf_l(char * __restrict, size_t, locale_t, 42 int sprintf_l(char * __restrict, locale_t, const char * __restrict, ...) 44 int sscanf_l(const char * __restrict, locale_t, const char * __restrict, 46 int vfprintf_l(FILE * __restrict, locale_t, const char * __restrict, [all …]
|
| HD | _locale.h | 44 #define LC_GLOBAL_LOCALE ((locale_t)-1) 48 typedef struct _xlocale *locale_t; typedef 51 locale_t duplocale(locale_t base); 52 void freelocale(locale_t loc); 53 locale_t newlocale(int mask, const char *locale, locale_t base); 54 const char *querylocale(int mask, locale_t loc); 55 locale_t uselocale(locale_t loc);
|
| HD | _string.h | 30 typedef struct _xlocale *locale_t; typedef 45 int strcoll_l(const char *, const char *, locale_t); 46 char *strerror_l(int num, locale_t); 47 size_t strxfrm_l(char *, const char *, size_t, locale_t); 56 char *strcasestr_l(const char *, const char *, locale_t);
|
| HD | _uchar.h | 31 typedef struct _xlocale *locale_t; typedef 38 locale_t); 40 locale_t); 42 mbstate_t * __restrict, locale_t); 44 mbstate_t * __restrict, locale_t);
|
| HD | _inttypes.h | 37 int, locale_t); 39 locale_t); 41 int , locale_t); 43 int, locale_t);
|
| HD | _strings.h | 28 typedef struct _xlocale *locale_t; typedef 43 int strcasecmp_l(const char *, const char *, locale_t); 44 int strncasecmp_l(const char *, const char *, size_t, locale_t);
|
| HD | _time.h | 33 typedef struct _xlocale *locale_t; typedef 45 const struct tm * __restrict, locale_t) __strftimelike(3, 0); 54 struct tm * __restrict, locale_t);
|
| HD | _langinfo.h | 36 typedef struct _xlocale *locale_t; typedef 39 char *nl_langinfo_l(nl_item, locale_t);
|
| HD | _monetary.h | 33 typedef struct _xlocale *locale_t; typedef 40 ssize_t strfmon_l(char *, size_t, locale_t, const char *, ...)
|
| /freebsd-13-stable/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/ |
| HD | win32.h | 91 class locale_t { 93 locale_t() : __locale_(nullptr), __locale_str_(nullptr), __lc_(nullptr) {} in locale_t() function 94 locale_t(std::nullptr_t) : __locale_(nullptr), __locale_str_(nullptr), __lc_(nullptr) {} in locale_t() function 95 locale_t(_locale_t __xlocale, const char* __xlocale_str) in locale_t() function 97 …locale_t(const locale_t& __l) : __locale_(__l.__locale_), __locale_str_(__l.__locale_str_), __lc_(… in locale_t() function 99 ~locale_t() { delete __lc_; } in ~locale_t() 101 locale_t& operator=(const locale_t& __l) { 108 friend bool operator==(const locale_t& __left, const locale_t& __right) { 112 …friend bool operator==(const locale_t& __left, int __right) { return __left.__locale_ == nullptr &… 114 friend bool operator==(const locale_t& __left, long long __right) { [all …]
|
| HD | ibm.h | 32 explicit __setAndRestore(locale_t locale) { in __setAndRestore() 33 if (locale == (locale_t)0) { in __setAndRestore() 34 __cloc = newlocale(LC_ALL_MASK, "C", /* base */ (locale_t)0); in __setAndRestore() 48 locale_t __stored = (locale_t)0; 49 locale_t __cloc = (locale_t)0; 56 …DE_FROM_ABI long long strtoll_l(const char* __nptr, char** __endptr, int __base, locale_t locale) { in strtoll_l() 61 inline _LIBCPP_HIDE_FROM_ABI double strtod_l(const char* __nptr, char** __endptr, locale_t locale) { in strtod_l() 66 inline _LIBCPP_HIDE_FROM_ABI float strtof_l(const char* __nptr, char** __endptr, locale_t locale) { in strtof_l() 71 inline _LIBCPP_HIDE_FROM_ABI long double strtold_l(const char* __nptr, char** __endptr, locale_t lo… in strtold_l() 77 strtoull_l(const char* __nptr, char** __endptr, int __base, locale_t locale) { in strtoull_l()
|
| HD | bsd_locale_fallbacks.h | 31 inline _LIBCPP_HIDE_FROM_ABI decltype(MB_CUR_MAX) __libcpp_mb_cur_max_l(locale_t __l) { in decltype() 37 inline _LIBCPP_HIDE_FROM_ABI wint_t __libcpp_btowc_l(int __c, locale_t __l) { in __libcpp_btowc_l() 42 inline _LIBCPP_HIDE_FROM_ABI int __libcpp_wctob_l(wint_t __c, locale_t __l) { in __libcpp_wctob_l() 48 …l(char* __dest, const wchar_t** __src, size_t __nwc, size_t __len, mbstate_t* __ps, locale_t __l) { in __libcpp_wcsnrtombs_l() 53 …P_HIDE_FROM_ABI size_t __libcpp_wcrtomb_l(char* __s, wchar_t __wc, mbstate_t* __ps, locale_t __l) { in __libcpp_wcrtomb_l() 59 …l(wchar_t* __dest, const char** __src, size_t __nms, size_t __len, mbstate_t* __ps, locale_t __l) { in __libcpp_mbsnrtowcs_l() 65 __libcpp_mbrtowc_l(wchar_t* __pwc, const char* __s, size_t __n, mbstate_t* __ps, locale_t __l) { in __libcpp_mbrtowc_l() 70 …IDE_FROM_ABI int __libcpp_mbtowc_l(wchar_t* __pwc, const char* __pmb, size_t __max, locale_t __l) { in __libcpp_mbtowc_l() 75 …IDE_FROM_ABI size_t __libcpp_mbrlen_l(const char* __s, size_t __n, mbstate_t* __ps, locale_t __l) { in __libcpp_mbrlen_l() 81 inline _LIBCPP_HIDE_FROM_ABI lconv* __libcpp_localeconv_l(locale_t __l) { in __libcpp_localeconv_l() [all …]
|
| HD | locale_guard.h | 24 _LIBCPP_HIDE_FROM_ABI __libcpp_locale_guard(locale_t& __loc) : __old_loc_(uselocale(__loc)) {} in __libcpp_locale_guard() 31 locale_t __old_loc_; 38 __libcpp_locale_guard(locale_t __l) : __status(_configthreadlocale(_ENABLE_PER_THREAD_LOCALE)) {
|
| HD | musl.h | 23 …BCPP_HIDE_FROM_ABI long long strtoll_l(const char* __nptr, char** __endptr, int __base, locale_t) { in strtoll_l() argument 27 …FROM_ABI unsigned long long strtoull_l(const char* __nptr, char** __endptr, int __base, locale_t) { in strtoull_l() argument
|
| HD | android.h | 37 inline _LIBCPP_HIDE_FROM_ABI float strtof_l(const char* __nptr, char** __endptr, locale_t) { in strtof_l() argument 41 inline _LIBCPP_HIDE_FROM_ABI double strtod_l(const char* __nptr, char** __endptr, locale_t) { in strtod_l() argument
|
| /freebsd-13-stable/lib/libc/locale/ |
| HD | xlocale.c | 58 _Thread_local locale_t __thread_locale; 100 static void *(*constructors[])(const char *, locale_t) = 112 static locale_t thread_local_locale; 137 static locale_t 148 set_thread_locale(locale_t loc) in set_thread_locale() 150 locale_t l = (loc == LC_GLOBAL_LOCALE) ? 0 : loc; in set_thread_locale() 157 locale_t old = get_thread_locale(); in set_thread_locale() 177 locale_t loc = l; in destruct_locale() 193 static locale_t 196 locale_t new = calloc(sizeof(struct _xlocale), 1); in alloc_locale() [all …]
|
| HD | xlocale_private.h | 166 extern void* __collate_load(const char*, locale_t); 167 extern void* __ctype_load(const char*, locale_t); 168 extern void* __messages_load(const char*, locale_t); 169 extern void* __monetary_load(const char*, locale_t); 170 extern void* __numeric_load(const char*, locale_t); 171 extern void* __time_load(const char*, locale_t); 179 void __set_thread_rune_locale(locale_t loc); 190 extern _Thread_local locale_t __thread_locale; 198 static inline locale_t __get_locale(void) in __get_locale() 211 static inline locale_t get_real_locale(locale_t locale) in get_real_locale()
|
| /freebsd-13-stable/contrib/llvm-project/libcxx/src/support/ibm/ |
| HD | xlocale_zos.cpp | 18 locale_t newlocale(int category_mask, const char* locale, locale_t base) { in newlocale() 25 return (locale_t)0; in newlocale() 31 return (locale_t)0; in newlocale() 37 locale_t newloc = new locale_struct(); in newlocale() 65 return (locale_t)newloc; in newlocale() 68 void freelocale(locale_t locobj) { delete locobj; } in freelocale() 70 locale_t uselocale(locale_t newloc) { in uselocale() 87 return (locale_t)0; in uselocale() 92 locale_t previous_loc = new locale_struct(); in uselocale()
|
| /freebsd-13-stable/lib/libc/stdio/ |
| HD | local.h | 63 extern wint_t __fgetwc_mbs(FILE *, mbstate_t *, int *, locale_t); 64 extern wint_t __fputwc(wchar_t, FILE *, locale_t); 78 extern int __svfscanf(FILE *, locale_t, const char *, __va_list); 82 extern wint_t __ungetwc(wint_t, FILE *, locale_t); 83 extern int __vfprintf(FILE *, locale_t, int, const char *, __va_list); 85 extern int __vfwprintf(FILE *, locale_t, const wchar_t *, __va_list); 86 extern int __vfwscanf(FILE * __restrict, locale_t, const wchar_t * __restrict, 93 __fgetwc(FILE *fp, locale_t locale) in __fgetwc()
|
| HD | vfwscanf.c | 101 static int parsefloat(FILE *, wchar_t *, wchar_t *, locale_t); 141 convert_char(FILE *fp, char * mbp, int width, locale_t locale) in convert_char() 165 convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wchar() 183 locale_t locale) in convert_ccl() 211 locale_t locale) in convert_wccl() 240 convert_string(FILE *fp, char * mbp, int width, locale_t locale) in convert_string() 267 convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wstring() 301 locale_t locale) in parseint() 423 vfwscanf_l(FILE * __restrict fp, locale_t locale, in vfwscanf_l() 445 __vfwscanf(FILE * __restrict fp, locale_t locale, in __vfwscanf() [all …]
|
| HD | printfcommon.h | 87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) in io_print() 116 locale_t locale) in io_pad() 135 int len, const CHAR * __restrict with, locale_t locale) in io_printandpad() 152 io_flush(struct io_state *iop, locale_t locale) in io_flush()
|
| HD | vfwprintf.c | 76 static int __sprint(FILE *, struct __suio *, locale_t); 77 static int __sbprintf(FILE *, locale_t, const wchar_t *, va_list) __noinline; 78 static wint_t __xfputwc(wchar_t, FILE *, locale_t); 95 get_decpt(locale_t locale) in get_decpt() 109 get_thousep(locale_t locale) in get_thousep() 129 grouping_init(struct grouping_state *gs, int ndigits, locale_t locale) in grouping_init() 155 const CHAR *cp, const CHAR *ep, locale_t locale) in grouping_print() 190 __sprint(FILE *fp, struct __suio *uio, locale_t locale) in __sprint() 215 __sbprintf(FILE *fp, locale_t locale, const wchar_t *fmt, va_list ap) in __sbprintf() 252 __xfputwc(wchar_t wc, FILE *fp, locale_t locale) in __xfputwc() [all …]
|