Searched refs:bos_val (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/include/sys/ |
D | cdefs.h | 307 #define __bos_unevaluated_lt(bos_val, val) \ argument 308 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) < (val)) 310 #define __bos_unevaluated_le(bos_val, val) \ argument 311 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) <= (val)) 314 #define __bos_dynamic_check_impl_and(bos_val, op, index, cond) \ argument 315 ((bos_val) == __BIONIC_FORTIFY_UNKNOWN_SIZE || \ 316 (__builtin_constant_p(index) && bos_val op index && (cond))) 318 #define __bos_dynamic_check_impl(bos_val, op, index) \ argument 319 __bos_dynamic_check_impl_and(bos_val, op, index, 1) 321 #define __bos_trivially_ge(bos_val, index) __bos_dynamic_check_impl((bos_val), >=, (index)) argument [all …]
|
/bionic/libc/include/bits/fortify/ |
D | poll.h | 38 #define __bos_fd_count_trivially_safe(bos_val, fds, fd_count) \ argument 39 __bos_dynamic_check_impl_and((bos_val), >=, (sizeof(*fds) * (fd_count)), \
|
D | stdio.h | 82 #define __bos_trivially_ge_mul(bos_val, size, count) \ argument 83 __bos_dynamic_check_impl_and(bos_val, >=, (size) * (count), \
|
D | unistd.h | 68 #define __bos_trivially_ge_no_overflow(bos_val, index) \ argument 69 ((__bos_dynamic_check_impl_and((bos_val), >=, (index), (bos_val) <= SSIZE_MAX) && \
|