/bionic/tests/ |
D | wchar_test.cpp | 102 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/ |
D | wchar.cpp | 60 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/ |
D | mbrlen.c | 38 return (mbrtowc(NULL, s, n, ps)); in mbrlen()
|
D | btowc.c | 49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1) in btowc()
|
D | mbtowc.c | 46 rval = mbrtowc(pwc, s, n, &mbs); in mbtowc()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetwc.c | 70 size = mbrtowc(&wc, &c, 1, st); in __fgetwc_unlock()
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 220 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/ |
D | vfscanf.cpp | 354 nconv = mbrtowc(wcp, buf, bytes, &mbs); in __svfscanf() 444 nconv = mbrtowc(&wc, buf, bytes, &mbs); in __svfscanf()
|
D | printf_common.h | 799 nconv = mbrtowc(wcp, p, insize, &mbs); in mbsconv()
|
/bionic/benchmarks/ |
D | stdlib_benchmark.cpp | 234 for (j = 0; buf_aligned[j]; j+=mbrtowc(&wc, buf_aligned + j, 4, nullptr)) { in BM_stdlib_mbrtowc()
|
/bionic/tests/headers/posix/ |
D | wchar_h.c | 59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, mbstate_t*)); in wchar_h()
|
/bionic/libc/include/ |
D | wchar.h | 58 size_t mbrtowc(wchar_t* __buf, const char* __s, size_t __n, mbstate_t* __ps);
|
/bionic/libc/tools/ |
D | posix-2013.txt | 543 mbrtowc
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 630 mbrtowc;
|
/bionic/libc/ |
D | libc.map.txt | 630 mbrtowc;
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_063.S | 11190 CALL(mbrtowc)
|