Searched refs:ckd_add (Results 1 – 11 of 11) sorted by relevance
| /netbsd-src/lib/libc/time/ |
| H A D | localtime.c | 1734 # if defined ckd_add && defined ckd_sub in gmtime_r() 1738 : ckd_add(&result->tm_year, 1990 #ifdef ckd_add in increment_overflow32() 1991 if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) { in increment_overflow32() 2060 #ifdef ckd_add 2061 return ckd_add(ip, *ip, j); 2081 #ifdef ckd_add in time2sub() 2082 return ckd_add(tp, *tp, j); in time2sub() 2096 #ifdef ckd_add in time2sub() 2097 return ckd_add(t in time2sub() [all...] |
| H A D | zdump.c | 141 #ifdef ckd_add 143 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) in sumsize() 264 # ifdef ckd_add 265 if (ckd_add(&initial_nenvptrs, initial_nenvptrs, 1)
|
| H A D | private.h | 496 /* Support ckd_add, ckd_sub, ckd_mul on C23 or recent-enough GCC-like 511 # define ckd_add(r, a, b) __builtin_add_overflow(a, b, r) 520 # define ckd_add(r, a, b) __builtin_add_overflow(a, b, r) 466 # define ckd_add( global() macro 475 # define ckd_add( global() macro
|
| H A D | zic.c | 485 #ifdef ckd_add in size_overflow() 487 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) in size_overflow() 557 #if defined ckd_add && defined ckd_mul in estrdup() 559 if (!ckd_add(nitems_alloc, *nitems_alloc, addend) in estrdup() 3793 #ifdef ckd_add in rpytime() 3795 if (!ckd_add(&sum, t1, t2)) in rpytime() 3807 #ifdef ckd_add in rpytime() 3809 if (!ckd_add(&sum, t1, t2) && min_time <= sum && sum <= max_time) in rpytime()
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | xbuf.c | 33 if (ckd_add(&xbuf->size, xbuf->size, xbuf->size ? xbuf->size : 16)) in xbuf_add_byte()
|
| H A D | less.h | 92 #define ckd_add(r, a, b) help_ckd_add(r, a, b, sizeof *(r), signed_expr(*(r))) macro
|
| H A D | output.c | 507 v |= ckd_add(&val, val, digit); \ in TYPE_TO_A_FUNC()
|
| H A D | charset.c | 271 if (ckd_mul(&n, n, 10) || ckd_add(&n, n, s[-1] - '0')) in ichardef()
|
| H A D | decode.c | 478 if (ckd_mul(&num, num, 10) || ckd_add(&num, num, ch - '0')) in getcc_int()
|
| H A D | optfunc.c | 693 v |= ckd_add(&n, n, *s - '0'); in set_tabs()
|
| H A D | cmdbuf.c | 1295 if (ckd_mul(&n, n, 10) || ckd_add(&n, n, *p - '0')) in cmd_int()
|