/freebsd-current/tests/include/ |
H A D | stdckdint_test.c | 12 ATF_TC_WITHOUT_HEAD(ckd_add); variable 13 ATF_TC_BODY(ckd_add, tc) 17 ATF_CHECK(!ckd_add(&result, INT_MAX, 0)); 19 ATF_CHECK(ckd_add(&result, INT_MAX, 1)); 47 ATF_TP_ADD_TC(tp, ckd_add);
|
/freebsd-current/include/ |
H A D | stdckdint.h | 15 #define ckd_add(result, a, b) \ macro 18 #define ckd_add(result, a, b) \ macro
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdckdint.h | 37 #define ckd_add(R, A, B) __builtin_add_overflow((A), (B), (R)) macro
|
/freebsd-current/contrib/tzcode/ |
H A D | date.c | 127 #if defined ckd_add && defined ckd_mul 128 if (!ckd_add(&n, n, 2) && !ckd_mul(&n, n, sizeof *fakeenv)
|
H A D | localtime.c | 1648 #if defined ckd_add && defined ckd_sub 1652 : ckd_add(&result->tm_year, 1971 #ifdef ckd_add 1972 if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) { 2041 #ifdef ckd_add 2042 return ckd_add(ip, *ip, j); 2062 #ifdef ckd_add 2063 return ckd_add(lp, *lp, m); 2077 #ifdef ckd_add 2078 return ckd_add(t [all...] |
H A D | zdump.c | 140 #ifdef ckd_add 142 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) 275 # ifdef ckd_add 276 if (ckd_add(&initial_nenvptrs, initial_nenvptrs, 1)
|
H A D | private.h | 434 /* Support ckd_add, ckd_sub, ckd_mul on C23 or recent-enough GCC-like 449 # define ckd_add(r, a, b) __builtin_add_overflow(a, b, r) macro 458 # define ckd_add(r, a, b) __builtin_add_overflow(a, b, r) macro
|
H A D | zic.c | 478 #ifdef ckd_add 480 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) 550 #if defined ckd_add && defined ckd_mul 552 if (!ckd_add(nitems_alloc, *nitems_alloc, addend) 3820 #ifdef ckd_add 3822 if (!ckd_add(&sum, t1, t2)) 3834 #ifdef ckd_add 3836 if (!ckd_add(&sum, t1, t2) && min_time <= sum && sum <= max_time)
|
/freebsd-current/contrib/less/ |
H A D | xbuf.c | 33 if (ckd_add(&xbuf->size, xbuf->size, xbuf->size ? xbuf->size : 16)) 73 * Helper functions for the ckd_add and ckd_mul macro substitutes.
|
H A D | decode.c | 476 if (ckd_mul(&num, num, 10) || ckd_add(&num, num, ch - '0'))
|
H A D | output.c | 505 v |= ckd_add(&val, val, digit); \
|
H A D | less.h | 90 #define ckd_add(r, a, b) help_ckd_add(r, a, b, sizeof *(r), signed_expr(*(r))) macro
|
H A D | charset.c | 269 if (ckd_mul(&n, n, 10) || ckd_add(&n, n, s[-1] - '0'))
|
H A D | optfunc.c | 691 v |= ckd_add(&n, n, *s - '0');
|
H A D | cmdbuf.c | 1294 if (ckd_mul(&n, n, 10) || ckd_add(&n, n, *p - '0'))
|
/freebsd-current/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 69 if (ckd_add(&result, a, b))
|
/freebsd-current/share/man/man3/ |
H A D | Makefile | 315 MLINKS+= stdckdint.3 ckd_add.3 \
|