| /openbmc/u-boot/include/ |
| H A D | charset.h | 62 #define utf8_utf16_strlen(a) utf8_utf16_strnlen((a), SIZE_MAX) 81 #define utf8_utf16_strcpy(d, s) utf8_utf16_strncpy((d), (s), SIZE_MAX) 132 #define utf16_utf8_strlen(a) utf16_utf8_strnlen((a), SIZE_MAX) 151 #define utf16_utf8_strcpy(d, s) utf16_utf8_strncpy((d), (s), SIZE_MAX)
|
| /openbmc/u-boot/test/ |
| H A D | unicode_ut.c | 256 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 261 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 266 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 271 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 277 ut_assert(!unicode_test_u16_strcmp(buf, L"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 282 ut_assert(!unicode_test_u16_strcmp(buf, L"j2?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 287 ut_assert(!unicode_test_u16_strcmp(buf, L"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy() 310 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy() 331 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy() 499 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy() [all …]
|
| /openbmc/libpldm/src/msgbuf/ |
| H A D | core.h | 62 INTMAX_MAX != SIZE_MAX, 142 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_init_errno() 705 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_extract_array_void() 999 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_insert_array_void() 1045 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_span_required() 1290 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_span_until() 1360 #if INTMAX_MAX < SIZE_MAX in pldm_msgbuf_skip() 1441 #if INTMAX_MAX < SIZE_MAX in pldm__msgbuf_copy() 1536 static_assert(SIZE_MAX >= UINT8_MAX, "Invalid promotion"); in pldm__msgbuf_extract_uint8_to_size() 1567 static_assert(SIZE_MAX >= UINT16_MAX, "Invalid promotion"); in pldm__msgbuf_extract_uint16_to_size() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/ |
| H A D | CVE-2024-26458_CVE-2024-26461.patch | 62 - if (SIZE_MAX - 300 < message->length) 64 + if (SIZE_MAX - 300 < message->length) { 68 ec_max = SIZE_MAX - message->length - 300; 80 if (encrypt_size > SIZE_MAX / 2) {
|
| /openbmc/libpldm/src/oem/ibm/ |
| H A D | platform.c | 28 if (SIZE_MAX / num_handles < sizeof(uint16_t)) { in encode_bios_attribute_update_event_req()
|
| /openbmc/u-boot/include/linux/ |
| H A D | kernel.h | 19 #ifndef SIZE_MAX 20 #define SIZE_MAX (~(size_t)0) macro
|
| H A D | compat.h | 81 if (size != 0 && n > SIZE_MAX / size) in kmalloc_array()
|
| /openbmc/u-boot/include/dm/ |
| H A D | device.h | 855 if (size != 0 && n > SIZE_MAX / size) in devm_kmalloc_array() 934 if (size != 0 && n > SIZE_MAX / size) in devm_kmaloc_array()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/yajl/yajl/ |
| H A D | CVE-2022-24795.patch | 44 + /* We cannot allocate more memory than SIZE_MAX. */
|
| /openbmc/qemu/include/block/ |
| H A D | block-common.h | 272 #define BDRV_REQUEST_MAX_SECTORS MIN_CONST(SIZE_MAX >> BDRV_SECTOR_BITS, \
|
| /openbmc/phosphor-logging/test/ |
| H A D | log_manager_dbus_tests.cpp | 106 SIZE_MAX); in last_journal_entry()
|
| /openbmc/libpldm/src/oem/meta/ |
| H A D | file_io.c | 71 if (SIZE_MAX - sizeof(*request_msg) < payload_length) { in decode_oem_meta_file_io_req()
|
| /openbmc/obmc-console/ |
| H A D | console-dbus.c | 200 server->dbus_pollfd_index = SIZE_MAX; in dbus_server_fini()
|
| H A D | console-server.c | 508 server->tty_pollfd_index = SIZE_MAX; in tty_fini()
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_file.c | 413 if (bs <= SIZE_MAX) in efi_file_read() 416 *buffer_size = SIZE_MAX; in efi_file_read()
|
| /openbmc/libpldm/src/dsp/ |
| H A D | fru.c | 187 if (SIZE_MAX - *curr_size < record_hdr_size) { in encode_fru_record() 191 if (SIZE_MAX - (*curr_size + record_hdr_size) < tlvs_size) { in encode_fru_record()
|
| H A D | platform.c | 31 if (SIZE_MAX - (sizeof(*effecter) - sizeof(effecter->possible_states)) < in encode_state_effecter_pdr() 112 if (SIZE_MAX - (sizeof(*sensor) - sizeof(sensor->possible_states)) < in encode_state_sensor_pdr() 1332 if ((SIZE_MAX - PLDM_PLATFORM_EVENT_MESSAGE_MIN_REQ_BYTES) < in encode_platform_event_message_req()
|
| /openbmc/qemu/util/ |
| H A D | oslib-posix.c | 833 if (pages > SIZE_MAX / qemu_real_host_page_size()) { in qemu_get_host_physmem() 834 return SIZE_MAX; in qemu_get_host_physmem()
|
| /openbmc/qemu/block/ |
| H A D | stream.c | 49 assert(bytes < SIZE_MAX); in stream_populate()
|
| H A D | commit.c | 167 assert(bytes < SIZE_MAX); in commit_iteration()
|
| /openbmc/libmctp/tests/ |
| H A D | test_core.c | 388 SIZE_MAX - sizeof(struct mctp_hdr), in mctp_core_test_drop_large_fragments() 703 static_assert(ARRAY_SIZE(mctp_core_tests) < SIZE_MAX, "size"); in main()
|
| /openbmc/qemu/tests/tcg/multiarch/ |
| H A D | test-mmap.c | 456 addr = mremap((void *)((uintptr_t)pagesize * 10), SIZE_MAX & ~(size_t)pagemask, pagesize, 0); in check_invalid_mmaps()
|
| /openbmc/phosphor-power/phosphor-power-supply/ |
| H A D | power_supply.cpp | 710 if (readFail < SIZE_MAX) in analyze()
|
| H A D | new_power_supply.cpp | 725 if (readFail < SIZE_MAX) in analyze()
|
| /openbmc/libmctp/ |
| H A D | core.c | 303 static_assert(ARRAY_SIZE(mctp->msg_ctxs) < SIZE_MAX, "size"); in mctp_cleanup()
|