Home
last modified time | relevance | path

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

/openbmc/u-boot/include/
H A Dcharset.h123 size_t utf16_utf8_strnlen(const u16 *src, size_t count);
132 #define utf16_utf8_strlen(a) utf16_utf8_strnlen((a), SIZE_MAX)
/openbmc/u-boot/test/
H A Dunicode_ut.c427 ut_asserteq(3, utf16_utf8_strnlen(c1, 3)); in unicode_test_utf16_utf8_strnlen()
428 ut_asserteq(6, utf16_utf8_strnlen(c1, 13)); in unicode_test_utf16_utf8_strnlen()
429 ut_asserteq(7, utf16_utf8_strnlen(c2, 6)); in unicode_test_utf16_utf8_strnlen()
430 ut_asserteq(6, utf16_utf8_strnlen(c3, 2)); in unicode_test_utf16_utf8_strnlen()
431 ut_asserteq(8, utf16_utf8_strnlen(c4, 2)); in unicode_test_utf16_utf8_strnlen()
432 ut_asserteq(12, utf16_utf8_strnlen(c4, 3)); in unicode_test_utf16_utf8_strnlen()
/openbmc/u-boot/lib/
H A Dcharset.c260 size_t utf16_utf8_strnlen(const u16 *src, size_t count) in utf16_utf8_strnlen() function
H A Dvsprintf.c288 for (i = 0; i < len && buf + utf16_utf8_strnlen(str, 1) <= end; ++i) { in string16()
/openbmc/u-boot/cmd/
H A Defidebug.c613 label_len = utf16_utf8_strnlen(lo.label, label_len16); in show_efi_boot_opt_data()
798 label_len = utf16_utf8_strnlen(lo.label, label_len16); in show_efi_boot_order()