Home
last modified time | relevance | path

Searched refs:wcslen (Results 1 – 25 of 163) sorted by relevance

1234567

/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dwcsxfrm.c26 if (result != wcslen(wc)) { in wcsxfrm_0100()
27 t_error("%s wcsxfrm get result is %d are not %d\n", __func__, result, wcslen(wc)); in wcsxfrm_0100()
39 if (result != wcslen(wc)) { in wcsxfrm_0200()
40 t_error("%s wcsxfrm get result is %d are not %d\n", __func__, result, wcslen(wc)); in wcsxfrm_0200()
/third_party/python/Lib/ctypes/test/
Dtest_unicode.py11 wcslen = dll.my_wcslen
12 wcslen.argtypes = [ctypes.c_wchar_p]
14 self.assertEqual(wcslen("abc"), 3)
15 self.assertEqual(wcslen("ab\u2070"), 3)
16 self.assertRaises(ctypes.ArgumentError, wcslen, b"ab\xe4")
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfputwc.c40 for (unsigned int i = 0; i < wcslen(str); i++) { in fputwc_0100()
53 fgetws(buf, wcslen(str) + 1, ffp); in fputwc_0100()
75 for (unsigned int i = 0; i < wcslen(str); i++) { in fputwc_0200()
87 fgetws(buf, wcslen(str) + 1, ffp); in fputwc_0200()
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
Dstring_wmemcmp_test.cpp21 EXPECT_EQ(1, wmemcmp(str, tar, wcslen(str)));
22 EXPECT_EQ(-1, wmemcmp(tar, str, wcslen(str)));
23 EXPECT_EQ(0, wmemcmp(str, str, wcslen(str)));
Dstring_wmemchr_test.cpp20 EXPECT_EQ(L'C', *wmemchr(str, target, wcslen(str)));
25 EXPECT_EQ(nullptr, wmemchr(str, target2, wcslen(str)));
/third_party/musl/libc-test/src/functionalext/supplement/ctype/
Dtowctrans.c31 for (int i = 0; i < wcslen(str); i++) { in towctrans_0100()
48 for (int i = 0; i < wcslen(str); i++) { in towctrans_0200()
64 for (int i = 0; i < wcslen(str); i++) { in towctrans_0300()
/third_party/python/Modules/
Dgetpath.c172 size_t i = wcslen(dir); in reduce()
240 n = wcslen(path); in joinpath()
253 size_t k = wcslen(path2); in joinpath()
287 size_t len = wcslen(path); in joinpath2()
290 len += wcslen(path2); in joinpath2()
309 size_t srclen = wcslen(src); in safe_wcscpy()
388 size_t len = wcslen(filename); in ismodule()
419 size_t n = wcslen(progpath); in add_exe_suffix()
420 size_t s = wcslen(EXE_SUFFIX); in add_exe_suffix()
524 size_t n = wcslen(prefix); in search_for_prefix()
[all …]
/third_party/openh264/codec/build/windowsphone/all/
DCodecRTComponent.cpp62 iSize = wcslen (pWcharInputFile); in Encode()
73 iSize = wcslen (pWcharOutputFile); in Encode()
149 size = wcslen (pWcharInputFile); in Decode()
160 size = wcslen (pWcharOutputFile); in Decode()
/third_party/musl/libc-test/src/functional/
Dswprintf.c133 if (i != wcslen(int_tests[j].expect)) { in main()
135 int_tests[j].fmt, int_tests[j].i, i, wcslen(int_tests[j].expect)); in main()
143 if (i != wcslen(fp_tests[j].expect)) { in main()
145 fp_tests[j].fmt, fp_tests[j].f, i, wcslen(fp_tests[j].expect)); in main()
/third_party/python/PC/
Dgetpathp.c446 Py_ssize_t len = wcslen(ppPaths[index]); in getpythonregpath()
566 size_t prefixlen = wcslen(prefix); in read_pth_file()
610 size_t usedsiz = wcslen(buf); in read_pth_file()
818 bufsz *= wcslen(calculate->home); in calculate_module_search_path()
820 bufsz += wcslen(PYTHONPATH) + 1; in calculate_module_search_path()
821 bufsz += wcslen(argv0_path) + 1; in calculate_module_search_path()
823 bufsz += wcslen(calculate->user_path) + 1; in calculate_module_search_path()
826 bufsz += wcslen(calculate->machine_path) + 1; in calculate_module_search_path()
828 bufsz += wcslen(zip_path) + 1; in calculate_module_search_path()
830 bufsz += wcslen(calculate->pythonpath_env) + 1; in calculate_module_search_path()
[all …]
Dlauncher.c392 n = wcslen(ip->executable); in _locate_pythons_for_key()
532 size_t wlen = wcslen(wanted_ver); in find_python_by_version()
537 wlen -= wcslen(L"-32"); in find_python_by_version()
541 wlen -= wcslen(L"-64"); in find_python_by_version()
544 n = wcslen(ip->version); in find_python_by_version()
626 size_t n = wcslen(wanted_ver); in locate_python()
838 child_command_size = wcslen(executable) + wcslen(cmdline) + 2; in invoke_child()
842 child_command_size = wcslen(executable) + wcslen(suffix) + in invoke_child()
843 wcslen(cmdline) + 3; in invoke_child()
908 n = wcslen(p); in skip_prefix()
[all …]
/third_party/musl/src/string/
Dwcscspn.c6 if (!c[0]) return wcslen(s); in wcscspn()
7 if (!c[1]) return (s=wcschr(a=s, *c)) ? s-a : wcslen(a); in wcscspn()
Dwcpcpy.c5 return wcscpy(d, s) + wcslen(s); in wcpcpy()
Dwcslen.c3 size_t wcslen(const wchar_t *s) in wcslen() function
Dwcscat.c5 wcscpy(dest + wcslen(dest), src); in wcscat()
/third_party/lzma/C/Util/SfxSetup/
DSfxSetup.c53 unsigned len = (unsigned)wcslen(s); in FindExt()
182 size_t len = wcslen(path); in RemoveDirWithSubItems()
309 pathLen = wcslen(path); in main()
322 wchar_t *s = path + wcslen(path); in main()
339 pathLen = wcslen(path); in main()
457 unsigned len = (unsigned)wcslen(name); in main()
575 if (wcslen(cmdLineParams) != 0) in main()
/third_party/ffmpeg/compat/
Dw32dlfcn.h49 if (pathlen == 0 || pathlen + wcslen(name_w) + 2 > MAX_PATH) in win32_dlopen()
57 if (pathlen == 0 || pathlen + wcslen(name_w) + 2 > MAX_PATH) in win32_dlopen()
/third_party/skia/tools/sk_app/win/
Dmain_win.cpp20 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
22 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/third_party/node/deps/uv/src/win/
Dfs-event.c70 size_t filenamelen = wcslen(filename); in uv__relative_path()
71 size_t dirlen = wcslen(dir); in uv__relative_path()
95 len = wcslen(filename); in uv__split_path()
413 str_len = wcslen(str); in file_info_cmp()
482 size = wcslen(handle->dirw) + in uv__process_fs_event_req()
/third_party/libuv/src/win/
Dfs-event.c70 size_t filenamelen = wcslen(filename); in uv__relative_path()
71 size_t dirlen = wcslen(dir); in uv__relative_path()
95 len = wcslen(filename); in uv__split_path()
413 str_len = wcslen(str); in file_info_cmp()
482 size = wcslen(handle->dirw) + in uv__process_fs_event_req()
/third_party/curl/lib/
Didn.c77 int chars = IdnToAscii(0, in_w, (int)(wcslen(in_w) + 1), punycode, in win32_idn_to_ascii()
107 int chars = IdnToUnicode(0, in_w, (int)(wcslen(in_w) + 1), idn, in win32_ascii_to_idn()
/third_party/musl/porting/liteos_m/kernel/src/string/
Dwcslen.c3 size_t wcslen(const wchar_t *s) in wcslen() function
Dwcschr.c5 if (!c) return (wchar_t *)s + wcslen(s); in wcschr()
/third_party/musl/porting/uniproton/kernel/src/string/
Dwcslen.c3 size_t wcslen(const wchar_t *s) in wcslen() function
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcslen.c30 size_t num = wcslen(str); in wcslen_0100()

1234567