Searched refs:u16_add_overflow (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | math_extras.h | 41 static bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result);
|
D | math_extras_impl.h | 32 static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result) in u16_add_overflow() function 52 static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result) in u16_add_overflow() function
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap.c | 575 if (u16_add_overflow(*opt_len, hdr_len, opt_len)) { in parse_option() 588 if (u16_add_overflow(*opt_len, hdr_len, opt_len)) { in parse_option() 593 if (u16_add_overflow(*opt_delta, delta, opt_delta) || in parse_option() 594 u16_add_overflow(*opt_len, len, opt_len)) { in parse_option() 627 if (u16_add_overflow(*pos, len, pos)) { in parse_option()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 2350 if (u16_add_overflow(target_old, addition, &target_new)) { in atomic_add_safe_u16()
|