Home
last modified time | relevance | path

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

12345

/external/python/cpython2/Lib/ctypes/test/
Dtest_unicode.py12 cls.wcslen = dll.my_wcslen
13 cls.wcslen.argtypes = [ctypes.c_wchar_p]
21 wcslen = self.wcslen
24 self.assertEqual(wcslen(u"abc"), 3)
25 self.assertEqual(wcslen(u"ab\u2070"), 3)
27 self.assertEqual(wcslen("abc"), 3)
28 self.assertRaises(ctypes.ArgumentError, wcslen, "ab�")
31 wcslen = self.wcslen
33 self.assertEqual(wcslen(u"abc"), 3)
34 self.assertEqual(wcslen(u"ab\u2070"), 3)
[all …]
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c51 unsigned len = (unsigned)wcslen(s); in FindExt()
180 size_t len = wcslen(path); in RemoveDirWithSubItems()
306 pathLen = wcslen(path); in main()
319 wchar_t *s = path + wcslen(path); in main()
336 pathLen = wcslen(path); in main()
446 unsigned len = (unsigned)wcslen(name); in main()
561 if (wcslen(cmdLineParams) != 0) in main()
/external/mdnsresponder/mDNSWindows/DLLX/
DStringServices.cpp67 if ( wcslen( utf16String ) > 0 ) in BSTRToUTF8()
71 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, utf16String, ( int ) wcslen( utf16String ), NULL,… in BSTRToUTF8()
99 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, utf16String, ( int ) wcslen( utf16String ), utf8S… in BSTRToUTF8()
/external/skia/tools/viewer/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()
/external/skia/src/views/win/
Dskia_win.cpp45 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
47 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/external/libchrome/base/strings/
Dutf_string_conversions_unittest.cc148 WideToUTF8(test.utf16, wcslen(test.utf16), &converted)); in TEST()
179 WideToUTF8(test.utf32, wcslen(test.utf32), &converted)); in TEST()
/external/mdnsresponder/mDNSWindows/
Dloclibrary.c247 return (int) wcslen(locFile); in PathForResourceWithPathW()
259 return (int) wcslen(locFile); in PathForResourceWithPathW()
/external/libedit/src/
Dwcsdup.c34 len = wcslen(str) + 1; in wcsdup()
Dvis.c326 d = dst + wcslen(dst); in makeextralist()
477 len = wcslen(start); in istrsenvisx()
478 maxolen = dlen ? *dlen : (wcslen(start) * MB_LEN_MAX + 1); in istrsenvisx()
/external/valgrind/memcheck/tests/
Dwcs.c14 size_t l = wcslen (a); in main()
/external/icu/icu4c/source/common/
Dcwchar.h43 # define uprv_wcslen wcslen
/external/libchrome/sandbox/win/src/
Dsandbox_nt_types.h33 wcslenFunction wcslen; member
/external/bison/lib/
Dwchar.in.h562 _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
564 _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
565 _GL_CXXALIASWARN (wcslen);
567 # undef wcslen
569 _GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
/external/webrtc/webrtc/system_wrappers/include/
Dutf_util_win.h47 return ToUtf8(wide, wcslen(wide)); in ToUtf8()
/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc99 EXPECT_EQ(0U, wcslen(Ident(L""))); in TEST()
102 EXPECT_EQ(hello_len, wcslen(Ident(L"Hello, World!"))); in TEST()
105 EXPECT_EQ(hello_len, Ident(wcslen(heap_string))); in TEST()
106 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); in TEST()
/external/curl/lib/
Didn_win32.c96 size_t in_len = wcslen(in_w) + 1; in curl_win32_ascii_to_idn()
/external/bison/linux-lib/
Dwchar.h874 _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
876 _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
877 _GL_CXXALIASWARN (wcslen);
879 # undef wcslen
881 _GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
/external/bison/darwin-lib/
Dwchar.h874 _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
876 _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
877 _GL_CXXALIASWARN (wcslen);
879 # undef wcslen
881 _GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc585 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { in INTERCEPTOR() argument
587 ASAN_INTERCEPTOR_ENTER(ctx, wcslen); in INTERCEPTOR()
588 SIZE_T length = REAL(wcslen)(s); in INTERCEPTOR()
739 ASAN_INTERCEPT_FUNC(wcslen); in InitializeAsanInterceptors()
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp249 appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); in formatDate()
275 appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); in formatTime()
/external/lzma/CPP/Windows/
DSecurityUtils.cpp37 int len = (int)wcslen(src); in SetLsaString()
/external/pdfium/core/fxcrt/
Dfx_system.h153 #define FXSYS_wcslen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(wcslen(ptr))
183 #define FXSYS_wcslen(ptr) ((FX_STRSIZE)wcslen(ptr))
/external/python/cpython2/Python/
Derrors.c406 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetFromErrnoWithUnicodeFilename()
488 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetExcFromWindowsErrWithUnicodeFilename()
524 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetFromWindowsErrWithUnicodeFilename()
/external/webrtc/webrtc/base/
Dwin32.h71 return ToUtf8(wide, wcslen(wide)); in ToUtf8()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc717 size_t FilenameLen = ::wcslen(FirstFind.cFileName);
728 FilenameLen = ::wcslen(FirstFind.cFileName);
733 ::wcslen(FirstFind.cFileName),
764 size_t FilenameLen = ::wcslen(FindData.cFileName);
772 ::wcslen(FindData.cFileName),

12345