Searched refs:mblen (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | mblen.cpp | 32 int mblen(const char* s, size_t n) { in mblen() function
|
/bionic/tests/ |
D | stdlib_test.cpp | 767 TEST(stdlib, mblen) { in TEST() argument 770 EXPECT_EQ(0, mblen(nullptr, 1)); in TEST() 775 EXPECT_EQ(1, mblen("abcdef", 6)); in TEST() 777 EXPECT_EQ(2, mblen("\xc2\xa2" "cdef", 6)); in TEST() 779 EXPECT_EQ(3, mblen("\xe2\x82\xac" "def", 6)); in TEST() 781 EXPECT_EQ(4, mblen("\xf0\xa4\xad\xa2" "ef", 6)); in TEST() 784 ASSERT_EQ(-1, mblen("\xf0\x82\x82\xac" "ef", 6)); in TEST() 787 EXPECT_EQ(0, mblen("", 1)); in TEST()
|
/bionic/tests/headers/posix/ |
D | stdlib_h.c | 103 FUNCTION(mblen, int (*f)(const char*, size_t)); in stdlib_h()
|
/bionic/libc/include/ |
D | stdlib.h | 163 int mblen(const char* __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(26);
|
/bionic/libc/tools/ |
D | posix-2013.txt | 541 mblen
|
/bionic/docs/ |
D | status.md | 123 * `mblen`
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1310 mblen; # introduced=26
|
/bionic/libc/ |
D | libc.map.txt | 1310 mblen; # introduced=26
|
D | Android.bp | 1098 "bionic/mblen.cpp",
|