Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 13 of 13) sorted by relevance

/u-boot/test/lib/
A Dstrlcat.c88 test_strlcat(0, 2, 2, 2, SIZE_MAX); in lib_test_strlcat()
89 test_strlcat(0, 0, 4, 4, SIZE_MAX); in lib_test_strlcat()
90 test_strlcat(4, 0, 4, 4, SIZE_MAX); in lib_test_strlcat()
91 test_strlcat(0, 0, 8, 8, SIZE_MAX); in lib_test_strlcat()
92 test_strlcat(0, 8, 8, 8, SIZE_MAX); in lib_test_strlcat()
95 test_strlcat(0, 0, 8 << i, 8 << i, SIZE_MAX); in lib_test_strlcat()
96 test_strlcat(8 - i, 2 * i, 8 << i, 8 << i, SIZE_MAX); in lib_test_strlcat()
97 test_strlcat(0, 0, 8 << i, 2 << i, SIZE_MAX); in lib_test_strlcat()
100 test_strlcat(i, 2 * i, 8 << i, 1, SIZE_MAX); in lib_test_strlcat()
101 test_strlcat(2 * i, i, 8 << i, 1, SIZE_MAX); in lib_test_strlcat()
[all …]
A Defi_device_path.c31 ut_asserteq((ssize_t)-EINVAL, efi_dp_check_length(p1, SIZE_MAX)); in lib_test_efi_dp_check_length()
/u-boot/include/
A Dcharset.h68 #define utf8_utf16_strlen(a) utf8_utf16_strnlen((a), SIZE_MAX)
87 #define utf8_utf16_strcpy(d, s) utf8_utf16_strncpy((d), (s), SIZE_MAX)
139 #define utf16_utf8_strlen(a) utf16_utf8_strnlen((a), SIZE_MAX)
158 #define utf16_utf8_strcpy(d, s) utf16_utf8_strncpy((d), (s), SIZE_MAX)
213 #define u16_strcmp(s1, s2) u16_strncmp((s1), (s2), SIZE_MAX)
251 #define u16_strlen(in) u16_strnlen(in, SIZE_MAX)
/u-boot/test/
A Dunicode_ut.c323 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
328 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
333 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
338 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
344 ut_assert(!unicode_test_u16_strcmp(buf, u"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
354 ut_assert(!unicode_test_u16_strcmp(buf, u"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
377 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
398 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
566 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
587 ut_assert(!strncmp(buf, d4, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
[all …]
A Dstr_ut.c32 str_to_upper(str1, out, SIZE_MAX); in str_upper()
37 str_to_upper(out, out, SIZE_MAX); in str_upper()
51 str_to_upper("", out, SIZE_MAX); in str_upper()
/u-boot/include/dm/
A Ddevres.h187 if (size != 0 && n > SIZE_MAX / size) in devm_kmalloc_array()
270 if (size != 0 && n > SIZE_MAX / size) in devm_kmalloc_array()
/u-boot/include/linux/
A Dkernel.h19 #ifndef SIZE_MAX
20 #define SIZE_MAX (~(size_t)0) macro
23 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))
A Dcompat.h44 if (size != 0 && n > SIZE_MAX / size) in kmalloc_array()
/u-boot/lib/efi_loader/
A Defi_file.c586 if (bs <= SIZE_MAX) in efi_file_read_int()
589 *buffer_size = SIZE_MAX; in efi_file_read_int()
/u-boot/tools/
A Dmkeficapsule.c131 if (bin_stat.st_size > SIZE_MAX) { in read_bin_file()
/u-boot/boot/
A Dbootdev-uclass.c790 len = SIZE_MAX; in bootdev_hunt()
/u-boot/arch/sandbox/cpu/
A Dos.c234 if ((unsigned long long)size > (unsigned long long)SIZE_MAX) { in os_map_file()
/u-boot/drivers/usb/host/
A Dehci-hcd.c1683 *size = SIZE_MAX; in ehci_get_max_xfer_size()

Completed in 35 milliseconds