Home
last modified time | relevance | path

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

/openbmc/u-boot/test/
H A Dunicode_ut.c213 ut_asserteq(3, utf8_utf16_strnlen(d1, 3)); in unicode_test_utf8_utf16_strnlen()
214 ut_asserteq(6, utf8_utf16_strnlen(d1, 13)); in unicode_test_utf8_utf16_strnlen()
215 ut_asserteq(6, utf8_utf16_strnlen(d2, 6)); in unicode_test_utf8_utf16_strnlen()
216 ut_asserteq(2, utf8_utf16_strnlen(d3, 2)); in unicode_test_utf8_utf16_strnlen()
217 ut_asserteq(4, utf8_utf16_strnlen(d4, 2)); in unicode_test_utf8_utf16_strnlen()
218 ut_asserteq(6, utf8_utf16_strnlen(d4, 3)); in unicode_test_utf8_utf16_strnlen()
221 ut_asserteq(4, utf8_utf16_strnlen(j1, 16)); in unicode_test_utf8_utf16_strnlen()
222 ut_asserteq(4, utf8_utf16_strnlen(j2, 16)); in unicode_test_utf8_utf16_strnlen()
223 ut_asserteq(3, utf8_utf16_strnlen(j3, 16)); in unicode_test_utf8_utf16_strnlen()
/openbmc/u-boot/include/
H A Dcharset.h53 size_t utf8_utf16_strnlen(const char *src, size_t count);
62 #define utf8_utf16_strlen(a) utf8_utf16_strnlen((a), SIZE_MAX)
/openbmc/u-boot/cmd/
H A Dnvedit_efi.c378 len = utf8_utf16_strnlen(var_name, strlen(var_name)); in do_env_set_efi()
H A Defidebug.c507 label_len16 = utf8_utf16_strnlen(argv[2], label_len); in do_efi_boot_add()
/openbmc/u-boot/lib/
H A Dcharset.c159 size_t utf8_utf16_strnlen(const char *src, size_t count) in utf8_utf16_strnlen() function