Lines Matching full:result
29 * These functions compute `a + b` and store the result in `*result`, returning
38 * @param result Pointer to the result.
41 static bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result);
47 * @param result Pointer to the result.
51 static bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result);
57 * @param result Pointer to the result.
60 static bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result);
66 * @param result Pointer to the result.
69 static bool size_add_overflow(size_t a, size_t b, size_t *result);
76 * These functions compute `a * b` and store the result in `*result`, returning
85 * @param result Pointer to the result.
88 static bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result);
94 * @param result Pointer to the result.
98 static bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result);
103 * @param result Pointer to the result.
106 static bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result);
112 * @param result Pointer to the result.
115 static bool size_mul_overflow(size_t a, size_t b, size_t *result);