Home
last modified time | relevance | path

Searched refs:mblen (Results 1 – 9 of 9) sorted by relevance

/bionic/tests/
Dstdlib_test.cpp761 TEST(stdlib, mblen) { in TEST() argument
764 EXPECT_EQ(0, mblen(nullptr, 1)); in TEST()
769 EXPECT_EQ(1, mblen("abcdef", 6)); in TEST()
771 EXPECT_EQ(2, mblen("\xc2\xa2" "cdef", 6)); in TEST()
773 EXPECT_EQ(3, mblen("\xe2\x82\xac" "def", 6)); in TEST()
775 EXPECT_EQ(4, mblen("\xf0\xa4\xad\xa2" "ef", 6)); in TEST()
778 ASSERT_EQ(-1, mblen("\xf0\x82\x82\xac" "ef", 6)); in TEST()
781 EXPECT_EQ(0, mblen("", 1)); in TEST()
/bionic/libc/bionic/
Dmblen.cpp32 int mblen(const char* s, size_t n) { in mblen() function
/bionic/tests/headers/posix/
Dstdlib_h.c103 FUNCTION(mblen, int (*f)(const char*, size_t)); in stdlib_h()
/bionic/libc/include/
Dstdlib.h163 int mblen(const char* __s, size_t __n) __INTRODUCED_IN(26) __VERSIONER_NO_GUARD;
/bionic/libc/tools/
Dposix-2013.txt541 mblen
/bionic/docs/
Dstatus.md123 * `mblen`
/bionic/tools/versioner/platforms/
Dlibc.map.txt1310 mblen; # introduced=26
/bionic/libc/
Dlibc.map.txt1310 mblen; # introduced=26
DAndroid.bp1075 "bionic/mblen.cpp",