Searched refs:size_add_overflow (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/unit/math_extras/ |
D | tests.inc | 99 zassert_false(size_add_overflow(2, 3, &result)); 102 zassert_false(size_add_overflow(2, 0, &result)); 105 zassert_false(size_add_overflow(0, 3, &result)); 108 zassert_false(size_add_overflow(0, SIZE_MAX, &result)); 110 zassert_true(size_add_overflow(1, SIZE_MAX, &result)); 113 zassert_false(size_add_overflow(SIZE_MAX, 0, &result)); 115 zassert_true(size_add_overflow(SIZE_MAX, 2, &result));
|
/Zephyr-latest/include/zephyr/sys/ |
D | math_extras.h | 69 static bool size_add_overflow(size_t a, size_t b, size_t *result);
|
D | math_extras_impl.h | 47 static inline bool size_add_overflow(size_t a, size_t b, size_t *result) in size_add_overflow() function 79 static inline bool size_add_overflow(size_t a, size_t b, size_t *result) in size_add_overflow() function
|
/Zephyr-latest/kernel/ |
D | mempool.c | 24 if (size_add_overflow(size, sizeof(heap_ref), &size)) { in z_heap_aligned_alloc() 135 if (size_add_overflow(size, sizeof(heap_ref), &size)) { in k_realloc()
|
D | userspace.c | 879 if (size_add_overflow(actual_len, 1, &actual_len)) { in k_usermode_string_alloc_copy() 913 if (size_add_overflow(actual_len, 1, &actual_len)) { in k_usermode_string_copy()
|
D | thread.c | 699 K_OOPS(K_SYSCALL_VERIFY_MSG(!size_add_overflow(K_THREAD_STACK_RESERVED, in z_vrfy_k_thread_create()
|
D | mmu.c | 600 if (size_add_overflow(size, CONFIG_MMU_PAGE_SIZE * 2, &total_size)) { in k_mem_map_phys_guard()
|
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | icmsg_me.c | 40 if (size_add_overflow(user_buffer_len, HEADER_SIZE, &ret)) { in user_buffer_len_to_icmsg_buffer_len()
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | call_properties.ecl | 20 -call_properties+={"name(size_add_overflow)", {"pointee_read(3=never)","pointee_write(3=always)","t…
|