Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dwchar.cpp140 size_t wcrtomb(char* s, wchar_t wc, mbstate_t* ps) { in wcrtomb() function
168 r = wcrtomb(buf, wc, state); in wcsnrtombs()
189 r = wcrtomb(dst + o, wc, state); in wcsnrtombs()
196 r = wcrtomb(buf, wc, state); in wcsnrtombs()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctomb.c44 if ((rval = wcrtomb(s, wchar, &mbs)) == (size_t)-1) in wctomb()
Dwctob.c40 if (c == WEOF || wcrtomb(buf, c, &mbs) != 1) in wctob()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfputwc.c63 size = wcrtomb(buf, wc, st); in __fputwc_unlock()
/bionic/libc/stdio/
Dvfwscanf.cpp351 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf()
354 nconv = wcrtomb(mbbuf, wi, &mbs); in __vfwscanf()
395 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf()
398 nconv = wcrtomb(mbbuf, wi, &mbs); in __vfwscanf()
Dprintf_common.h738 clen = wcrtomb(buf, *p++, &mbs); in wcsconv()
765 size_t len = wcrtomb(buf, wc, &mbs); in xfputwc()
Dvfprintf.cpp324 mbseqlen = wcrtomb(buf, (wchar_t)GETARG(wint_t), &mbs); in FUNCTION_NAME()
/bionic/tests/
Dwchar_test.cpp81 EXPECT_EQ(1U, wcrtomb(nullptr, L'\0', nullptr)); in TEST()
82 EXPECT_EQ(1U, wcrtomb(nullptr, L'h', nullptr)); in TEST()
88 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', nullptr)); in TEST()
95 EXPECT_EQ(1U, wcrtomb(bytes, L'h', nullptr)); in TEST()
103 EXPECT_EQ(1U, wcrtomb(bytes, L'h', nullptr)); in TEST()
107 EXPECT_EQ(2U, wcrtomb(bytes, 0x00a2, nullptr)); in TEST()
112 EXPECT_EQ(3U, wcrtomb(bytes, 0x20ac, nullptr)); in TEST()
118 EXPECT_EQ(4U, wcrtomb(bytes, 0x24b62, nullptr)); in TEST()
124 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(bytes, 0xffffffff, nullptr)); in TEST()
138 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST()
[all …]
/bionic/tests/headers/posix/
Dwchar_h.c77 FUNCTION(wcrtomb, size_t (*f)(char*, wchar_t, mbstate_t*)); in wchar_h()
/bionic/libc/include/
Dwchar.h76 size_t wcrtomb(char* _Nullable __buf, wchar_t __wc, mbstate_t* _Nullable __ps);
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c1501 n = wcrtomb(bracket, ch, &mbs);
2048 size_t clen = wcrtomb(buf, (int)OPND(s), &mbs);
2177 size_t clen = wcrtomb(cp, (int)OPND(s), &mbs);
/bionic/libc/tools/
Dposix-2013.txt1132 wcrtomb
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c1067 clen = wcrtomb(buf, CHAR(*str), &mbs); in g_Ctoc()
/bionic/libc/
Dlibc.map.txt1159 wcrtomb;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1159 wcrtomb;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_063.S11188 CALL(wcrtomb)