Home
last modified time | relevance | path

Searched refs:utf16_utf8_strnlen (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/include/
Dcharset.h124 size_t utf16_utf8_strnlen(const u16 *src, size_t count);
134 #define utf16_utf8_strlen(a) utf16_utf8_strnlen((a), SIZE_MAX)
/external/u-boot/test/
Dunicode_ut.c437 ut_asserteq(3, utf16_utf8_strnlen(c1, 3)); in unicode_test_utf16_utf8_strnlen()
438 ut_asserteq(6, utf16_utf8_strnlen(c1, 13)); in unicode_test_utf16_utf8_strnlen()
439 ut_asserteq(7, utf16_utf8_strnlen(c2, 6)); in unicode_test_utf16_utf8_strnlen()
440 ut_asserteq(6, utf16_utf8_strnlen(c3, 2)); in unicode_test_utf16_utf8_strnlen()
441 ut_asserteq(8, utf16_utf8_strnlen(c4, 2)); in unicode_test_utf16_utf8_strnlen()
442 ut_asserteq(12, utf16_utf8_strnlen(c4, 3)); in unicode_test_utf16_utf8_strnlen()
/external/u-boot/cmd/
Defidebug.c644 label_len = utf16_utf8_strnlen(lo.label, label_len16); in show_efi_boot_opt_data()
863 label_len = utf16_utf8_strnlen(lo.label, label_len16); in show_efi_boot_order()
/external/u-boot/lib/
Dcharset.c260 size_t utf16_utf8_strnlen(const u16 *src, size_t count) in utf16_utf8_strnlen() function
Dvsprintf.c290 for (i = 0; i < len && buf + utf16_utf8_strnlen(str, 1) <= end; ++i) { in string16()