HomeSort by relevance Sort by last modified time
    Searched refs:mbrtowc (Results 1 - 25 of 32) sorted by null

1 2

  /bionic/libc/upstream-openbsd/lib/libc/locale/
btowc.c 43 * We expect mbrtowc() to return 0 or 1, hence the check for n > 1
49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1)
mbrlen.c 38 return (mbrtowc(NULL, s, n, ps));
mbtowc.c 46 rval = mbrtowc(pwc, s, n, &mbs);
  /external/toybox/toys/example/
demo_utf8towc.c 1 /* demo_utf8towc() against libc mbrtowc()
36 len1 = mbrtowc(&wc1, str, len2, &mb);
  /bionic/tests/
wchar_test.cpp 102 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps));
109 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps));
114 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xf0\xa4", 1, &ps));
221 ASSERT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps));
265 TEST(wchar, mbrtowc) {
269 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, nullptr));
272 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, nullptr));
273 ASSERT_EQ(0U, mbrtowc(out, "", 0, nullptr));
274 ASSERT_EQ(1U, mbrtowc(out, "hello", 1, nullptr));
277 ASSERT_EQ(0U, mbrtowc(nullptr, "hello", 0, nullptr))
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fgetwc.c 70 size = mbrtowc(&wc, &c, 1, st);
  /device/linaro/bootloader/edk2/StdLib/LibC/Locale/
multibyte_sb.c 92 mbrtowc( function
124 return (int)mbrtowc(pwc, s, n, NULL);
multibyte_Utf8.c 454 mbrtowc(NULL, s, n, ps != NULL ? ps : &internal)
477 return mbrtowc(NULL, s, n, pS);
513 If S is a null pointer, the mbrtowc function is equivalent to the call:<BR>
515 mbrtowc(NULL, "", 1, ps)
520 If S is not a null pointer, the mbrtowc function inspects at most n bytes beginning with
552 mbrtowc( function
601 return (int)mbrtowc(pwc, s, n, NULL);
613 place as if by a call to the mbrtowc function.
    [all...]
  /external/libchrome/base/strings/
sys_string_conversions_posix.cc 112 size_t res = mbrtowc(nullptr, src, native_mb.size() - i, &ps);
142 size_t res = mbrtowc(dst, src, native_mb.size() - i, &ps);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fgetwc.c 88 size = mbrtowc(&wc, &c, 1, st);
vfscanf.c 424 nconv = mbrtowc(wcp, buf, n, &mbs);
504 nconv = mbrtowc(wcp, buf, n, &mbs);
605 nconv = mbrtowc(wcp, buf, n, &mbs);
  /external/libcxx/src/support/solaris/
xlocale.cpp 60 return mbrtowc(__pwc, __pmb, __max, __ps);
  /bionic/libc/bionic/
wchar.cpp 60 size_t mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) { function
90 r = mbrtowc(nullptr, *src + i, nmc - i, state);
116 r = mbrtowc(dst + o, *src + i, nmc - i, state);
  /external/libcxx/src/support/win32/
support.cpp 72 size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_remaining, ps );
locale_win32.cpp 64 return mbrtowc( pwc, s, n, ps );
  /external/libcxx/include/
__bsd_locale_fallbacks.h 76 return mbrtowc(__pwc, __s, __n, __ps);
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/
IIO.c 188 CharLen = mbrtowc(OutChar, (const char *)&buf[NumConsumed], MB_CUR_MAX, OutState);
192 (void)mbrtowc(NULL, NULL, 1, OutState); // Re-Initialize the conversion state
  /bionic/libc/upstream-freebsd/lib/libc/gen/
glob.c 220 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs);
242 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs);
485 clen = mbrtowc(&wc, sc, MB_LEN_MAX, &mbs);
783 clen = mbrtowc(&wc, sc, MB_LEN_MAX, &mbs);
  /bionic/tests/headers/posix/
wchar_h.c 59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, mbstate_t*));
  /device/linaro/bootloader/edk2/StdLib/Include/
wchar.h 135 size_t mbrtowc (wchar_t * __restrict pwc, const char * __restrict S,
421 from the array are converted as if by repeated calls to the mbrtowc
    [all...]
  /external/libcxx/test/std/strings/c.strings/
cwchar.pass.cpp 105 ASSERT_SAME_TYPE(std::size_t, decltype(std::mbrtowc(ws, "", s, &mb)));
  /bionic/libc/stdio/
vfscanf.cpp 354 nconv = mbrtowc(wcp, buf, bytes, &mbs);
444 nconv = mbrtowc(&wc, buf, bytes, &mbs);
  /bionic/benchmarks/
stdlib_benchmark.cpp 211 for (j = 0; buf_aligned[j]; j+=mbrtowc(&wc, buf_aligned + j, 4, nullptr)) {
  /bionic/libc/include/
wchar.h 58 size_t mbrtowc(wchar_t* __buf, const char* __s, size_t __n, mbstate_t* __ps);
  /external/libcxx/test/std/depr/depr.c.headers/
wchar_h.pass.cpp 103 static_assert((std::is_same<decltype(mbrtowc(ws, "", s, &mb)), size_t>::value), "");

Completed in 1301 milliseconds

1 2