/third_party/musl/libc-test/src/functionalext/supplement/string/ |
D | wcschr.c | 28 wchar_t wcs[] = L"This is a c test for wcschr"; in wcschr_0100() local 30 p = wcschr(wcs, L'c'); in wcschr_0100() 43 wchar_t wcs[] = L"This is a c test for wcschr"; in wcschr_0200() local 45 p = wcschr(wcs, L'\0'); in wcschr_0200() 46 if ((p - wcs) != wcslen(wcs)) { in wcschr_0200() 58 wchar_t wcs[] = L"This is a c test for wcschr"; in wcschr_0300() local 60 p = wcschr(wcs, L'T'); in wcschr_0300()
|
D | wcscpy.c | 36 wchar_t wcs[] = L"wcscpy test"; in wcscpy_0100() local 38 wcscpy(des, wcs); in wcscpy_0100() 39 if (wcscmp(wcs, des)) { in wcscpy_0100() 51 wchar_t wcs[] = L""; in wcscpy_0200() local 53 wcscpy(des, wcs); in wcscpy_0200() 54 if (wcscmp(wcs, des)) { in wcscpy_0200() 68 wchar_t wcs[] = L"wcscpy test"; in wcscpy_0300() local 69 wcscpy(NULL, wcs); in wcscpy_0300()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
D | vfscanf.c | 65 wchar_t *wcs; in vfscanf() local 122 wcs = 0; in vfscanf() 220 wcs = 0; in vfscanf() 226 wcs = malloc(k*sizeof(wchar_t)); in vfscanf() 227 if (!wcs) goto alloc_fail; in vfscanf() 229 wcs = dest; in vfscanf() 239 if (wcs) wcs[i++] = wc; in vfscanf() 242 wchar_t *tmp = realloc(wcs, k*sizeof(wchar_t)); in vfscanf() 244 wcs = tmp; in vfscanf() 270 if (size == SIZE_l) *(wchar_t **)dest = wcs; in vfscanf() [all …]
|
/third_party/musl/src/stdio/ |
D | vfscanf.c | 65 wchar_t *wcs; in vfscanf() local 122 wcs = 0; in vfscanf() 220 wcs = 0; in vfscanf() 226 wcs = malloc(k*sizeof(wchar_t)); in vfscanf() 227 if (!wcs) goto alloc_fail; in vfscanf() 229 wcs = dest; in vfscanf() 239 if (wcs) wcs[i++] = wc; in vfscanf() 242 wchar_t *tmp = realloc(wcs, k*sizeof(wchar_t)); in vfscanf() 244 wcs = tmp; in vfscanf() 270 if (size == SIZE_l) *(wchar_t **)dest = wcs; in vfscanf() [all …]
|
D | vfwscanf.c | 94 wchar_t *wcs; in vfwscanf() local 148 wcs = 0; in vfwscanf() 238 wcs = (size == SIZE_l) ? dest : 0; in vfwscanf() 248 wcs = malloc(k*sizeof(wchar_t)); in vfwscanf() 249 if (!wcs) goto alloc_fail; in vfwscanf() 259 if (wcs) { in vfwscanf() 260 wcs[i++] = c; in vfwscanf() 263 wchar_t *tmp = realloc(wcs, k*sizeof(wchar_t)); in vfwscanf() 265 wcs = tmp; in vfwscanf() 288 if (size == SIZE_l) *(wchar_t **)dest = wcs; in vfwscanf() [all …]
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
D | vfscanf.c | 65 wchar_t *wcs; in vfscanf() local 122 wcs = 0; in vfscanf() 220 wcs = 0; in vfscanf() 226 wcs = malloc(k*sizeof(wchar_t)); in vfscanf() 227 if (!wcs) goto alloc_fail; in vfscanf() 229 wcs = dest; in vfscanf() 239 if (wcs) wcs[i++] = wc; in vfscanf() 242 wchar_t *tmp = realloc(wcs, k*sizeof(wchar_t)); in vfscanf() 244 wcs = tmp; in vfscanf() 270 if (size == SIZE_l) *(wchar_t **)dest = wcs; in vfscanf() [all …]
|
/third_party/exfatprogs/lib/ |
D | libexfat.c | 239 wchar_t *wcs; in exfat_utf16_enc() local 248 wcs = calloc(mbs_len+1, sizeof(wchar_t)); in exfat_utf16_enc() 249 if (!wcs) in exfat_utf16_enc() 253 if (mbstowcs(wcs, in_str, mbs_len+1) == (size_t)-1) { in exfat_utf16_enc() 256 free(wcs); in exfat_utf16_enc() 263 (wcs[i] >= 0x10000 && 2*(out_len+2) > out_size)) { in exfat_utf16_enc() 265 free(wcs); in exfat_utf16_enc() 270 if (wcs[i] >= 0x10000) { in exfat_utf16_enc() 272 cpu_to_le16(((wcs[i] - 0x10000) >> 10) + 0xD800); in exfat_utf16_enc() 273 wcs[i] = ((wcs[i] - 0x10000) & 0x3FF) + 0xDC00; in exfat_utf16_enc() [all …]
|
/third_party/musl/src/stdlib/ |
D | wcstod.c | 14 const wchar_t *wcs = f->cookie; in do_read() local 16 if (!wcs[0]) wcs=L"@"; in do_read() 17 for (i=0; i<f->buf_size && wcs[i]; i++) in do_read() 18 f->buf[i] = wcs[i] < 128 ? wcs[i] : '@'; in do_read() 21 f->cookie = (void *)(wcs+i); in do_read()
|
D | wcstol.c | 16 const wchar_t *wcs = f->cookie; in do_read() local 18 if (!wcs[0]) wcs=L"@"; in do_read() 19 for (i=0; i<f->buf_size && wcs[i]; i++) in do_read() 20 f->buf[i] = wcs[i] < 128 ? wcs[i] : '@'; in do_read() 23 f->cookie = (void *)(wcs+i); in do_read()
|
/third_party/musl/libc-test/src/functionalext/supplement/multibyte/ |
D | wcrtomb.c | 29 wchar_t wcs = L'A'; in wcrtomb_0100() local 33 int result = wcrtomb(s, wcs, &pr); in wcrtomb_0100() 49 wchar_t wcs = L'\u00df'; in wcrtomb_0200() local 54 int result = wcrtomb(s, wcs, &pr); in wcrtomb_0200() 70 wchar_t wcs = L'\ud10f'; in wcrtomb_0300() local 75 int result = wcrtomb(s, wcs, &pr); in wcrtomb_0300()
|
/third_party/musl/src/ctype/ |
D | wcswidth.c | 3 int wcswidth(const wchar_t *wcs, size_t n) in wcswidth() argument 6 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
/third_party/musl/porting/liteos_a/user/src/ctype/ |
D | wcswidth.c | 4 int wcswidth(const wchar_t *wcs, size_t n) in wcswidth() argument 8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
/third_party/musl/libc-test/src/functional/ |
D | mbc.c | 28 wchar_t wc, wcs[32]; in main() local 39 T(mbsrtowcs(wcs, (cs="abcdef",&cs), 3, &st), 3, "wrong semantics for wcs buf len"); in main() 40 T(mbsrtowcs(wcs, (cs="abcdef",&cs), 8, &st), 6, "wrong semantics for wcs buf len"); in main() 80 T(mbsrtowcs(wcs, (cs="\xa0""abc",&cs), 32, &st2), 4, "failed to resume"); in main() 81 TCHAR(wcs[0], 0xa0, "wrong char"); in main() 82 TCHAR(wcs[1], 'a', "wrong char"); in main()
|
/third_party/musl/src/multibyte/ |
D | mbsnrtowcs.c | 3 size_t mbsnrtowcs(wchar_t *restrict wcs, const char **restrict src, size_t n, size_t wn, mbstate_t … in mbsnrtowcs() argument 10 if (!wcs) ws = wbuf, wn = sizeof wbuf / sizeof *wbuf; in mbsnrtowcs() 11 else ws = wcs; in mbsnrtowcs() 53 if (wcs) *src = s; in mbsnrtowcs()
|
D | wcsnrtombs.c | 3 size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict wcs, size_t wn, size_t n, mbstate_t … in wcsnrtombs() argument 7 const wchar_t *ws = *wcs; in wcsnrtombs() 41 if (dst) *wcs = ws; in wcsnrtombs()
|
/third_party/musl/porting/linux/user/src/multibyte/ |
D | wcsnrtombs.c | 5 size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict wcs, size_t wn, size_t n, mbstate_t … in wcsnrtombs() argument 7 const wchar_t *ws = *wcs; in wcsnrtombs() 33 if (dst) *wcs = ws; in wcsnrtombs()
|
/third_party/musl/porting/liteos_a/user/src/multibyte/ |
D | wcsnrtombs.c | 5 size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict wcs, size_t wn, size_t n, mbstate_t … in wcsnrtombs() argument 7 const wchar_t *ws = *wcs; in wcsnrtombs() 33 if (dst) *wcs = ws; in wcsnrtombs()
|
/third_party/protobuf/src/google/protobuf/io/ |
D | io_win32_unittest.cc | 122 std::unique_ptr<WCHAR[]> wcs(new WCHAR[size]); in GetEnvVarAsUtf8() local 123 ::GetEnvironmentVariableW(name, wcs.get(), size); in GetEnvVarAsUtf8() 129 return strings::wcs_to_utf8(wcs.get(), result); in GetEnvVarAsUtf8() 138 std::unique_ptr<WCHAR[]> wcs(new WCHAR[size]); in GetCwdAsUtf8() local 139 ::GetCurrentDirectoryW(size, wcs.get()); in GetCwdAsUtf8() 145 return strings::wcs_to_utf8(wcs.get(), result); in GetCwdAsUtf8() 617 wstring wcs; in TEST_F() local 618 ASSERT_TRUE(strings::utf8_to_wcs(kUtf8Text, &wcs)); in TEST_F() 620 ASSERT_EQ(wcs, kUtf16Text); in TEST_F()
|
/third_party/musl/src/time/ |
D | wcsftime.c | 66 size_t wcsftime(wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, const struct tm *restri… in wcsftime() argument 68 return __wcsftime_l(wcs, n, f, tm, CURRENT_LOCALE); in wcsftime()
|
/third_party/icu/icu4c/source/test/perf/ustrperf/ |
D | stringperf.h | 252 wchar_t* wcs; in prepareLinesForStd() local 257 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err); in prepareLinesForStd() 258 memcpy(wlines_[i].name, wcs, wl * sizeof(wchar_t)); in prepareLinesForStd() 262 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err); in prepareLinesForStd() 263 memcpy(wlines_[i].name, wcs, wl*sizeof(wchar_t)); in prepareLinesForStd()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | custrtrn.c | 1392 wchar_t *wcs; in Test_widestrs() local 1402 wcs = u_strToWCS(ws, wcap, &wl, ustr, ul, &err); in Test_widestrs() 1411 wl = (int32_t)uprv_wcslen(wcs); in Test_widestrs() 1412 cp = u_strFromWCS(rts, rtcap, &rtl, wcs, wl, &err); in Test_widestrs() 1419 …log_err("u_strFromWCS: wcs = %S, wl = %d,rts = %s, rtl = %d!\n", wcs, wl, u_austrcpy(astr, rts), r… in Test_widestrs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 1399 /// size_t wcslen (const wchar_t* wcs);
|
/third_party/flutter/skia/third_party/externals/icu/source/ |
D | configure.ac | 953 AC_SEARCH_LIBS(wcscpy, wcs w)
|
/third_party/icu/icu4c/source/ |
D | configure.ac | 967 AC_SEARCH_LIBS(wcscpy, wcs w)
|
/third_party/skia/third_party/externals/icu/source/ |
D | configure.ac | 967 AC_SEARCH_LIBS(wcscpy, wcs w)
|