Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmblen.cpp32 int mblen(const char* s, size_t n) { in mblen() function
/bionic/tests/
Dstdlib_test.cpp803 TEST(stdlib, mblen) { in TEST() argument
806 EXPECT_EQ(0, mblen(nullptr, 1)); in TEST()
811 EXPECT_EQ(1, mblen("abcdef", 6)); in TEST()
813 EXPECT_EQ(2, mblen("\xc2\xa2" "cdef", 6)); in TEST()
815 EXPECT_EQ(3, mblen("\xe2\x82\xac" "def", 6)); in TEST()
817 EXPECT_EQ(4, mblen("\xf0\xa4\xad\xa2" "ef", 6)); in TEST()
820 ASSERT_EQ(-1, mblen("\xf0\x82\x82\xac" "ef", 6)); in TEST()
823 EXPECT_EQ(0, mblen("", 1)); in TEST()
/bionic/tests/headers/posix/
Dstdlib_h.c103 FUNCTION(mblen, int (*f)(const char*, size_t)); in stdlib_h()
/bionic/libc/include/
Dstdlib.h182 int mblen(const char* _Nullable __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(26);
/bionic/libc/tools/
Dposix-2013.txt541 mblen
/bionic/docs/
Dstatus.md180 * `mblen`
/bionic/libc/
Dlibc.map.txt1308 mblen; # introduced=26
DAndroid.bp873 "bionic/mblen.cpp",
/bionic/tools/versioner/platforms/
Dlibc.map.txt1308 mblen; # introduced=26