Searched refs:mbrtowc (Results 1 – 22 of 22) sorted by relevance
/bionic/tests/ |
D | wchar_test.cpp | 98 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); in TEST() 105 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); in TEST() 110 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xf0\xa4", 1, &ps)); in TEST() 217 ASSERT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); in TEST() 261 TEST(wchar, mbrtowc) { in TEST() argument 265 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL)); in TEST() 268 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL)); in TEST() 269 ASSERT_EQ(0U, mbrtowc(out, "", 0, NULL)); in TEST() 270 ASSERT_EQ(1U, mbrtowc(out, "hello", 1, NULL)); in TEST() 273 ASSERT_EQ(0U, mbrtowc(NULL, "hello", 0, NULL)); in TEST() [all …]
|
/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()
|
D | vfscanf.c | 357 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf() 439 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf() 543 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf()
|
D | vfprintf.c | 489 while ((n = mbrtowc(&wc, fmt, MB_CUR_MAX, &ps)) > 0) { in __vfprintf() 1215 while ((n = mbrtowc(&wc, fmt, MB_CUR_MAX, &ps)) > 0) { in __find_arguments()
|
D | vfwscanf.c | 722 nconv = mbrtowc(&decimal_point, in __vfwscanf()
|
D | vfwprintf.c | 215 nconv = mbrtowc(wcp, p, insize, &mbs); in __mbsconv()
|
/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 92 r = mbrtowc(NULL, *src + i, nmc - i, state); in mbsnrtowcs() 127 r = mbrtowc(dst + o, *src + i, nmc - i, state); in mbsnrtowcs()
|
/bionic/libc/include/ |
D | wchar.h | 97 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
|
/bionic/libc/ |
D | libc.mips64.map | 560 mbrtowc;
|
D | libc.x86_64.map | 560 mbrtowc;
|
D | libc.arm64.map | 560 mbrtowc;
|
D | libc.x86.brillo.map | 631 mbrtowc;
|
D | libc.mips.brillo.map | 633 mbrtowc;
|
D | libc.mips.map | 633 mbrtowc;
|
D | libc.arm.brillo.map | 635 mbrtowc;
|
D | libc.x86.map | 631 mbrtowc;
|
D | libc.map.txt | 637 mbrtowc;
|
D | libc.arm.map | 635 mbrtowc;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 543 mbrtowc
|