Home
last modified time | relevance | path

Searched refs:u16_add_overflow (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/include/zephyr/sys/
Dmath_extras.h41 static bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result);
Dmath_extras_impl.h32 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/
Dcoap.c575 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/
Dl2cap.c2350 if (u16_add_overflow(target_old, addition, &target_new)) { in atomic_add_safe_u16()