Home
last modified time | relevance | path

Searched refs:wchar_t (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/third_party/musl/libc-test/src/api/
Dwchar.c14 T(wchar_t) in f()
23 {wchar_t*(*p)(wchar_t*restrict,int,FILE*restrict) = fgetws;} in f()
24 {wint_t(*p)(wchar_t,FILE*) = fputwc;} in f()
25 {int(*p)(const wchar_t*restrict,FILE*restrict) = fputws;} in f()
27 {int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwprintf;} in f()
28 {int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwscanf;} in f()
32 {size_t(*p)(wchar_t*restrict,const char*restrict,size_t,mbstate_t*restrict) = mbrtowc;} in f()
34 {size_t(*p)(wchar_t*restrict,const char**restrict,size_t,mbstate_t*restrict) = mbsrtowcs;} in f()
35 {wint_t(*p)(wchar_t,FILE*) = putwc;} in f()
36 {wint_t(*p)(wchar_t) = putwchar;} in f()
[all …]
Dstdio.c99 {wchar_t*(*p)(wchar_t*restrict,int,FILE*restrict) = fgetws;} in g()
100 {wint_t(*p)(wchar_t,FILE*) = fputwc;} in g()
101 {int(*p)(const wchar_t*restrict,FILE*restrict) = fputws;} in g()
103 {int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwprintf;} in g()
104 {int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwscanf;} in g()
106 {wint_t(*p)(wchar_t,FILE*) = putwc;} in g()
107 {int(*p)(wchar_t*restrict,size_t,const wchar_t*restrict,...) = swprintf;} in g()
108 {int(*p)(const wchar_t*restrict,const wchar_t*restrict,...) = swscanf;} in g()
111 {int(*p)(const wchar_t*restrict,...) = wprintf;} in g()
112 {int(*p)(const wchar_t*restrict,...) = wscanf;} in g()
[all …]
/third_party/musl/porting/liteos_a/kernel/include/
Dwchar.h52 wchar_t *wcscpy (wchar_t *__restrict, const wchar_t *__restrict);
53 wchar_t *wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t);
55 wchar_t *wcscat (wchar_t *__restrict, const wchar_t *__restrict);
56 wchar_t *wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t);
58 int wcscmp (const wchar_t *, const wchar_t *);
59 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
61 int wcscoll(const wchar_t *, const wchar_t *);
62 size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
64 wchar_t *wcschr (const wchar_t *, wchar_t);
65 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
/third_party/musl/porting/liteos_m/kernel/include/
Dwchar.h52 wchar_t *wcscpy (wchar_t *__restrict, const wchar_t *__restrict);
53 wchar_t *wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t);
55 wchar_t *wcscat (wchar_t *__restrict, const wchar_t *__restrict);
56 wchar_t *wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t);
58 int wcscmp (const wchar_t *, const wchar_t *);
59 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
61 int wcscoll(const wchar_t *, const wchar_t *);
62 size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
64 wchar_t *wcschr (const wchar_t *, wchar_t);
65 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
/third_party/musl/porting/uniproton/kernel/include/
Dwchar.h52 wchar_t *wcscpy (wchar_t *__restrict, const wchar_t *__restrict);
53 wchar_t *wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t);
55 wchar_t *wcscat (wchar_t *__restrict, const wchar_t *__restrict);
56 wchar_t *wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t);
58 int wcscmp (const wchar_t *, const wchar_t *);
59 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
61 int wcscoll(const wchar_t *, const wchar_t *);
62 size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
64 wchar_t *wcschr (const wchar_t *, wchar_t);
65 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
/third_party/musl/include/
Dwchar.h52 wchar_t *wcscpy (wchar_t *__restrict, const wchar_t *__restrict);
53 wchar_t *wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t);
55 wchar_t *wcscat (wchar_t *__restrict, const wchar_t *__restrict);
56 wchar_t *wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t);
58 int wcscmp (const wchar_t *, const wchar_t *);
59 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
61 int wcscoll(const wchar_t *, const wchar_t *);
62 size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
64 wchar_t *wcschr (const wchar_t *, wchar_t);
65 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
/third_party/musl/ndk_musl_include/
Dwchar.h50 wchar_t *wcscpy (wchar_t *__restrict, const wchar_t *__restrict);
51 wchar_t *wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t);
53 wchar_t *wcscat (wchar_t *__restrict, const wchar_t *__restrict);
54 wchar_t *wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t);
56 int wcscmp (const wchar_t *, const wchar_t *);
57 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
59 int wcscoll(const wchar_t *, const wchar_t *);
60 size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
62 wchar_t *wcschr (const wchar_t *, wchar_t);
63 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
/third_party/python/Include/cpython/
Dinitconfig.h35 wchar_t **items;
39 const wchar_t *item);
42 const wchar_t *item);
149 wchar_t *filesystem_encoding;
150 wchar_t *filesystem_errors;
151 wchar_t *pycache_prefix;
170 wchar_t *stdio_encoding;
171 wchar_t *stdio_errors;
175 wchar_t *check_hash_pycs_mode;
179 wchar_t *program_name;
[all …]
Dfileutils.h21 wchar_t **wstr,
28 const wchar_t *text,
36 const wchar_t *text,
98 const wchar_t *path,
99 const wchar_t *mode);
122 const wchar_t *path,
123 wchar_t *buf,
130 PyAPI_FUNC(wchar_t*) _Py_wrealpath(
131 const wchar_t *path,
132 wchar_t *resolved_path,
[all …]
/third_party/bounds_checking_function/src/
Dwcstok_s.c17 SECUREC_INLINE int SecIsInDelimitW(wchar_t ch, const wchar_t *strDelimit) in SecIsInDelimitW()
19 const wchar_t *ctl = strDelimit; in SecIsInDelimitW()
30 SECUREC_INLINE wchar_t *SecFindBeginW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindBeginW()
32 wchar_t *token = strToken; in SecFindBeginW()
47 SECUREC_INLINE wchar_t *SecFindRestW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindRestW()
49 wchar_t *token = strToken; in SecFindRestW()
65 SECUREC_INLINE wchar_t *SecUpdateTokenW(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **con… in SecUpdateTokenW()
95 wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context) in wcstok_s()
97 wchar_t *orgToken = strToken; in wcstok_s()
/third_party/python/Modules/
Dgetpath.c126 wchar_t *path_env; /* PATH environment variable */
128 wchar_t *pythonpath_macro; /* PYTHONPATH macro */
129 wchar_t *prefix_macro; /* PREFIX macro */
130 wchar_t *exec_prefix_macro; /* EXEC_PREFIX macro */
131 wchar_t *vpath_macro; /* VPATH macro */
133 wchar_t *lib_python; /* <platlibdir> / "pythonX.Y" */
139 const wchar_t *pythonpath_env;
140 const wchar_t *platlibdir;
142 wchar_t *argv0_path;
143 wchar_t *zip_path;
[all …]
/third_party/python/PC/
Dgetpathp.c125 const wchar_t *path_env; /* PATH environment variable */
126 const wchar_t *home; /* PYTHONHOME environment variable */
130 wchar_t *machine_path; /* from HKEY_LOCAL_MACHINE */
131 wchar_t *user_path; /* from HKEY_CURRENT_USER */
133 const wchar_t *pythonpath_env;
139 is_sep(wchar_t ch) in is_sep()
152 reduce(wchar_t *dir) in reduce()
166 change_ext(wchar_t *dest, const wchar_t *src, const wchar_t *ext) in change_ext()
192 wchar_t *s = wcsrchr(dest, L'.'); in change_ext()
208 exists(const wchar_t *filename) in exists()
[all …]
Dlauncher.c57 static wchar_t *
58 skip_whitespace(wchar_t * p) in skip_whitespace()
66 debug(wchar_t * format, ...) in debug()
78 winerror(int rc, wchar_t * message, int size) in winerror()
87 error(int rc, wchar_t * format, ... ) in error()
90 wchar_t message[MSGSIZE]; in error()
91 wchar_t win_message[MSGSIZE]; in error()
119 static wchar_t * get_env(wchar_t * key) in get_env()
122 static wchar_t buf[BUFSIZE]; in get_env()
127 wchar_t *buf2 = (wchar_t*)malloc(sizeof(wchar_t) * (result+1)); in get_env()
[all …]
/third_party/musl/src/stdlib/
Dwcstol.c16 const wchar_t *wcs = f->cookie; in do_read()
32 static unsigned long long wcstox(const wchar_t *s, wchar_t **p, int base, unsigned long long lim) in wcstox()
34 wchar_t *t = (wchar_t *)s; in wcstox()
48 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
53 unsigned long long wcstoull(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoull()
58 long long wcstoll(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoll()
63 unsigned long wcstoul(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoul()
68 long wcstol(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstol()
73 intmax_t wcstoimax(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoimax()
78 uintmax_t wcstoumax(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoumax()
Dwcstod.c14 const wchar_t *wcs = f->cookie; in do_read()
30 static long double wcstox(const wchar_t *s, wchar_t **p, int prec) in wcstox()
32 wchar_t *t = (wchar_t *)s; in wcstox()
46 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
51 float wcstof(const wchar_t *restrict s, wchar_t **restrict p) in wcstof()
56 double wcstod(const wchar_t *restrict s, wchar_t **restrict p) in wcstod()
61 long double wcstold(const wchar_t *restrict s, wchar_t **restrict p) in wcstold()
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
Dwcstof.c37 wchar_t str0[] = L"3.14wcstof"; in wcstof_0100()
38 wchar_t *end = NULL; in wcstof_0100()
40 wchar_t str1[] = L"wcstof"; in wcstof_0100()
55 wchar_t str[] = L"3.14"; in wcstof_0200()
56 wchar_t *end = NULL; in wcstof_0200()
69 wchar_t str[] = L" 3.14"; in wcstof_0300()
70 wchar_t *end = NULL; in wcstof_0300()
83 wchar_t str[] = L"wcstof3.14"; in wcstof_0400()
84 wchar_t *end = NULL; in wcstof_0400()
99 wchar_t str[] = L"-3.14"; in wcstof_0500()
[all …]
Dwcstod.c37 wchar_t str0[] = L"3.14wcstod"; in wcstod_0100()
38 wchar_t *end = NULL; in wcstod_0100()
40 wchar_t str1[] = L"wcstod"; in wcstod_0100()
55 wchar_t str[] = L"3.14"; in wcstod_0200()
56 wchar_t *end = NULL; in wcstod_0200()
69 wchar_t str[] = L" 3.14"; in wcstod_0300()
70 wchar_t *end = NULL; in wcstod_0300()
83 wchar_t str[] = L"wcstod3.14"; in wcstod_0400()
84 wchar_t *end = NULL; in wcstod_0400()
99 wchar_t str[] = L"-3.14"; in wcstod_0500()
[all …]
Dwcstold.c37 wchar_t str0[] = L"3.14wcstold"; in wcstold_0100()
38 wchar_t *end = NULL; in wcstold_0100()
40 wchar_t str1[] = L"wcstold"; in wcstold_0100()
55 wchar_t str[] = L"3.14"; in wcstold_0200()
56 wchar_t *end = NULL; in wcstold_0200()
69 wchar_t str[] = L" 3.14"; in wcstold_0300()
70 wchar_t *end = NULL; in wcstold_0300()
83 wchar_t str[] = L"wcstold3.14"; in wcstold_0400()
84 wchar_t *end = NULL; in wcstold_0400()
99 wchar_t str[] = L"-3.14"; in wcstold_0500()
[all …]
/third_party/bounds_checking_function/include/
Dsecurec.h395 SECUREC_API errno_t wmemcpy_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count);
408 SECUREC_API errno_t wmemmove_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count);
420 SECUREC_API errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc);
433 SECUREC_API errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count…
445 SECUREC_API errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc);
459 SECUREC_API errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t count…
471 SECUREC_API wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context);
484 SECUREC_API int vswprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, va_list argLis…
496 SECUREC_API int swprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, ...);
506 SECUREC_API int fwscanf_s(FILE *stream, const wchar_t *format, ...);
[all …]
/third_party/python/Python/
Dpathconfig.c23 copy_wstr(wchar_t **dst, const wchar_t *src) in copy_wstr()
112 static wchar_t*
113 _PyWideStringList_Join(const PyWideStringList *list, wchar_t sep) in _PyWideStringList_Join()
123 wchar_t *text = PyMem_RawMalloc(len * sizeof(wchar_t)); in _PyWideStringList_Join()
127 wchar_t *str = text; in _PyWideStringList_Join()
129 wchar_t *path = list->items[i]; in _PyWideStringList_Join()
134 memcpy(str, path, len * sizeof(wchar_t)); in _PyWideStringList_Join()
229 wchar_t py3path[MAX_PATH]; in _PyPathConfig_AsDict()
278 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
279 const wchar_t delim = DELIM; in config_init_module_search_paths()
[all …]
Dfileutils.c100 is_valid_wide_char(wchar_t ch) in is_valid_wide_char()
124 _Py_mbstowcs(wchar_t *dest, const char *src, size_t n) in _Py_mbstowcs()
129 wchar_t ch = dest[i]; in _Py_mbstowcs()
141 _Py_mbrtowc(wchar_t *pwc, const char *str, size_t len, mbstate_t *pmbs) in _Py_mbrtowc()
217 wchar_t wch; in check_force_ascii()
264 wchar_t wch[1]; in check_force_ascii()
309 encode_ascii(const wchar_t *text, char **str, in encode_ascii()
315 wchar_t ch; in encode_ascii()
384 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen, in decode_ascii()
387 wchar_t *res; in decode_ascii()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcsncpy.c22 #define SIZEOF_WCHAR(x) (sizeof(x) / sizeof(wchar_t))
36 const wchar_t src[] = L"Hello"; in wcsncpy_0100()
37 wchar_t buf[SIZEOF_WCHAR(src) + 1]; in wcsncpy_0100()
39 wchar_t *dest = (wchar_t *)buf; in wcsncpy_0100()
53 const wchar_t src[] = L"Hello"; in wcsncpy_0200()
54 wchar_t buf[SIZEOF_WCHAR(src)]; in wcsncpy_0200()
56 wchar_t *dest = (wchar_t *)buf; in wcsncpy_0200()
70 const wchar_t src[] = L"Hello"; in wcsncpy_0300()
71 wchar_t buf[SIZEOF_WCHAR(src) + SIZEOF_WCHAR(src)]; in wcsncpy_0300()
73 wchar_t *dest = (wchar_t *)buf; in wcsncpy_0300()
[all …]
Dwcscmp.c28 wchar_t str1[] = L"test wcscmp"; in wcscmp_0100()
29 wchar_t str2[] = L"test wcscmp"; in wcscmp_0100()
42 wchar_t str1[] = L"ABCD"; in wcscmp_0200()
43 wchar_t str2[] = L"ABCE"; in wcscmp_0200()
56 wchar_t str1[] = L"ABCE"; in wcscmp_0300()
57 wchar_t str2[] = L"ABCD"; in wcscmp_0300()
70 wchar_t str1[] = L"ABCD"; in wcscmp_0400()
71 wchar_t str2[] = L"BCDE"; in wcscmp_0400()
87 wchar_t str1[] = L""; in wcscmp_0500()
88 wchar_t str2[] = L""; in wcscmp_0500()
[all …]
/third_party/icu/icu4c/source/test/perf/charperf/
Dcharperf.h24 typedef void (*StdLibCharPerfFn)(wchar_t ch);
60 for (wchar_t i = MIN_; i < MAX_; i ++) { in call()
70 StdLibCharPerfFunction(StdLibCharPerfFn func, wchar_t min, wchar_t max) in StdLibCharPerfFunction()
83 wchar_t MIN_;
84 wchar_t MAX_;
183 inline void StdLibIsAlpha(wchar_t ch) in StdLibIsAlpha()
188 inline void StdLibIsUpper(wchar_t ch) in StdLibIsUpper()
193 inline void StdLibIsLower(wchar_t ch) in StdLibIsLower()
198 inline void StdLibIsDigit(wchar_t ch) in StdLibIsDigit()
203 inline void StdLibIsSpace(wchar_t ch) in StdLibIsSpace()
[all …]
/third_party/python/Include/internal/
Dpycore_pathconfig.h13 wchar_t *program_full_path;
14 wchar_t *prefix;
15 wchar_t *exec_prefix;
17 wchar_t *module_search_path;
19 wchar_t *program_name;
21 wchar_t *home;
29 wchar_t *base_executable;
46 PyAPI_DATA(wchar_t*) _Py_dll_path;
59 const wchar_t *key,
60 wchar_t **value_p);
[all …]

12345678910>>...28