/third_party/musl/libc-test/src/api/ |
D | wchar.c | 14 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 …]
|
D | stdio.c | 99 {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/ |
D | wchar.h | 50 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/musl/include/ |
D | wchar.h | 50 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/musl/porting/liteos_m/kernel/include/ |
D | wchar.h | 52 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/ |
D | wchar.h | 52 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/ |
D | wchar.h | 50 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/bounds_checking_function/src/ |
D | wcstok_s.c | 18 SECUREC_INLINE int SecIsInDelimitW(wchar_t ch, const wchar_t *strDelimit) in SecIsInDelimitW() 20 const wchar_t *ctl = strDelimit; in SecIsInDelimitW() 31 SECUREC_INLINE wchar_t *SecFindBeginW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindBeginW() 33 wchar_t *token = strToken; in SecFindBeginW() 48 SECUREC_INLINE wchar_t *SecFindRestW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindRestW() 50 wchar_t *token = strToken; in SecFindRestW() 66 SECUREC_INLINE wchar_t *SecUpdateTokenW(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **con… in SecUpdateTokenW() 96 wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context) in wcstok_s() 98 wchar_t *orgToken = strToken; in wcstok_s()
|
D | secureprintoutput_w.c | 48 SECUREC_INLINE void SecWriteCharW(wchar_t ch, SecPrintfStream *f, int *pnumwritten); 56 int SecVswprintfImpl(wchar_t *string, size_t sizeInWchar, const wchar_t *format, va_list argList) in SecVswprintfImpl() 63 str.count = (int)(sizeInWchar * sizeof(wchar_t)); in SecVswprintfImpl() 67 if (SecPutWcharStrEndingZero(&str, (int)sizeof(wchar_t)) == 0) { in SecVswprintfImpl() 97 SECUREC_INLINE int SecPutCharW(wchar_t ch, SecPrintfStream *f) in SecPutCharW() 99 f->count -= (int)sizeof(wchar_t); /* f -> count may be negative,indicating insufficient space */ in SecPutCharW() 101 *(wchar_t *)(void *)(f->cur) = ch; in SecPutCharW() 102 f->cur += sizeof(wchar_t); in SecPutCharW() 111 SECUREC_INLINE void SecWriteCharW(wchar_t ch, SecPrintfStream *f, int *pnumwritten) in SecWriteCharW() 123 SECUREC_INLINE void SecWriteMultiCharW(wchar_t ch, int num, SecPrintfStream *f, int *pnumwritten) in SecWriteMultiCharW() [all …]
|
/third_party/mindspore/third_party/securec/src/ |
D | wcstok_s.c | 22 static wchar_t *SecFindBeginW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindBeginW() 27 wchar_t *token = strToken; in SecFindBeginW() 29 const wchar_t *ctl = strDelimit; in SecFindBeginW() 44 static wchar_t *SecFindRestW(wchar_t *strToken, const wchar_t *strDelimit) in SecFindRestW() 49 wchar_t *token = strToken; in SecFindRestW() 51 const wchar_t *ctl = strDelimit; in SecFindRestW() 67 static wchar_t *SecUpdateTokenW(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context) in SecUpdateTokenW() 70 wchar_t *token = SecFindRestW(strToken, strDelimit); in SecUpdateTokenW() 99 wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context) in wcstok_s() 101 wchar_t *orgToken = strToken; in wcstok_s()
|
D | secureprintoutput_w.c | 43 #define WEOF ((wchar_t)(-1)) 50 static void SecWriteCharW(wchar_t ch, SecPrintfStream *f, int *pnumwritten); 51 static void SecWriteMultiCharW(wchar_t ch, int num, SecPrintfStream *f, int *pnumwritten); 52 static void SecWriteStringW(const wchar_t *string, int len, SecPrintfStream *f, int *pnumwritten); 61 int SecVswprintfImpl(wchar_t *string, size_t sizeInWchar, const wchar_t *format, va_list argList) in SecVswprintfImpl() 68 str.count = (int)(sizeInWchar * sizeof(wchar_t)); in SecVswprintfImpl() 71 if ((retVal >= 0) && SecPutWcharStrEndingZero(&str, (int)sizeof(wchar_t))) { in SecVswprintfImpl() 117 static wchar_t SecPutCharW(wchar_t ch, SecPrintfStream *f) in SecPutCharW() 119 wchar_t wcRet = 0; in SecPutCharW() 120 if (((f)->count -= (int)sizeof(wchar_t)) >= 0) { in SecPutCharW() [all …]
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 35 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 …]
|
D | fileutils.h | 21 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/python/Modules/ |
D | getpath.c | 126 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/musl/src/stdlib/ |
D | wcstol.c | 16 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() 49 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox() 54 unsigned long long wcstoull(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoull() 59 long long wcstoll(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoll() 64 unsigned long wcstoul(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoul() 69 long wcstol(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstol() 74 intmax_t wcstoimax(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoimax() 79 uintmax_t wcstoumax(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoumax()
|
/third_party/python/PC/ |
D | getpathp.c | 125 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 …]
|
D | launcher.c | 57 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/libc-test/src/functionalext/supplement/stdlib/ |
D | wcstod.c | 37 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 …]
|
D | wcstof.c | 37 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 …]
|
D | wcstold.c | 37 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/musl/libc-test/src/functionalext/supplement/string/ |
D | wcsncpy.c | 22 #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 …]
|
D | wcscmp.c | 28 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/mindspore/third_party/securec/include/ |
D | securec.h | 397 SECUREC_API errno_t wmemcpy_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count); 410 SECUREC_API errno_t wmemmove_s(wchar_t *dest, size_t destMax, const wchar_t *src, size_t count); 422 SECUREC_API errno_t wcscpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc); 435 …SECUREC_API errno_t wcsncpy_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t coun… 447 SECUREC_API errno_t wcscat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc); 461 …SECUREC_API errno_t wcsncat_s(wchar_t *strDest, size_t destMax, const wchar_t *strSrc, size_t coun… 473 SECUREC_API wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t **context); 486 …SECUREC_API int vswprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, va_list argLi… 499 SECUREC_API int swprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, ...); 509 SECUREC_API int fwscanf_s(FILE *stream, const wchar_t *format, ...); [all …]
|
/third_party/bounds_checking_function/include/ |
D | securec.h | 395 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 coun… 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 coun… 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 argLi… 497 SECUREC_API int swprintf_s(wchar_t *strDest, size_t destMax, const wchar_t *format, ...); 507 SECUREC_API int fwscanf_s(FILE *stream, const wchar_t *format, ...); [all …]
|
/third_party/python/Include/internal/ |
D | pycore_pathconfig.h | 13 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 …]
|