Home
last modified time | relevance | path

Searched refs:mbrtowc (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/
Dwchar_test.cpp102 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps)); in TEST()
109 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps)); in TEST()
114 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xf0\xa4", 1, &ps)); in TEST()
221 ASSERT_EQ(static_cast<size_t>(-2), mbrtowc(nullptr, "\xc2", 1, &ps)); in TEST()
265 TEST(wchar, mbrtowc) { in TEST() argument
269 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, nullptr)); in TEST()
272 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, nullptr)); in TEST()
273 ASSERT_EQ(0U, mbrtowc(out, "", 0, nullptr)); in TEST()
274 ASSERT_EQ(1U, mbrtowc(out, "hello", 1, nullptr)); in TEST()
277 ASSERT_EQ(0U, mbrtowc(nullptr, "hello", 0, nullptr)); in TEST()
[all …]
/bionic/libc/bionic/
Dwchar.cpp60 size_t mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) { in mbrtowc() function
90 r = mbrtowc(nullptr, *src + i, nmc - i, state); in mbsnrtowcs()
116 r = mbrtowc(dst + o, *src + i, nmc - i, state); in mbsnrtowcs()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dmbrlen.c38 return (mbrtowc(NULL, s, n, ps)); in mbrlen()
Dbtowc.c49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1) in btowc()
Dmbtowc.c46 rval = mbrtowc(pwc, s, n, &mbs); in mbtowc()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgetwc.c70 size = mbrtowc(&wc, &c, 1, st); in __fgetwc_unlock()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c220 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()
242 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()
485 clen = mbrtowc(&wc, sc, MB_LEN_MAX, &mbs); in globtilde()
783 clen = mbrtowc(&wc, sc, MB_LEN_MAX, &mbs); in glob3()
/bionic/libc/stdio/
Dvfscanf.cpp354 nconv = mbrtowc(wcp, buf, bytes, &mbs); in __svfscanf()
444 nconv = mbrtowc(&wc, buf, bytes, &mbs); in __svfscanf()
Dprintf_common.h799 nconv = mbrtowc(wcp, p, insize, &mbs); in mbsconv()
/bionic/benchmarks/
Dstdlib_benchmark.cpp234 for (j = 0; buf_aligned[j]; j+=mbrtowc(&wc, buf_aligned + j, 4, nullptr)) { in BM_stdlib_mbrtowc()
/bionic/tests/headers/posix/
Dwchar_h.c59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, mbstate_t*)); in wchar_h()
/bionic/libc/include/
Dwchar.h58 size_t mbrtowc(wchar_t* __buf, const char* __s, size_t __n, mbstate_t* __ps);
/bionic/libc/tools/
Dposix-2013.txt543 mbrtowc
/bionic/tools/versioner/platforms/
Dlibc.map.txt630 mbrtowc;
/bionic/libc/
Dlibc.map.txt630 mbrtowc;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_063.S11190 CALL(mbrtowc)