Searched refs:ckd_add (Results 1 - 5 of 5) sorted by relevance
/third_party/tzdata/ |
H A D | date.c | 127 #if defined ckd_add && defined ckd_mul in dogmt() 128 if (!ckd_add(&n, n, 2) && !ckd_mul(&n, n, sizeof *fakeenv) in dogmt()
|
H A D | localtime.c | 1534 #if defined ckd_add && defined ckd_sub in localsub() 1538 : ckd_add(&result->tm_year, in localsub() 1775 #ifdef ckd_add in timesub() 1776 if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) { in timesub() 1845 #ifdef ckd_add in increment_overflow() 1846 return ckd_add(ip, *ip, j); in increment_overflow() 1866 #ifdef ckd_add in increment_overflow32() 1867 return ckd_add(lp, *lp, m); in increment_overflow32() 1881 #ifdef ckd_add in increment_overflow_time() 1882 return ckd_add(t in increment_overflow_time() [all...] |
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 | zdump.c | 140 #ifdef ckd_add in sumsize() 142 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) in sumsize() 275 # ifdef ckd_add in tzalloc() 276 if (ckd_add(&initial_nenvptrs, initial_nenvptrs, 1) in tzalloc()
|
H A D | zic.c | 476 #ifdef ckd_add in size_sum() 478 if (!ckd_add(&sum, a, b) && sum <= INDEX_MAX) in size_sum() 548 #if defined ckd_add && defined ckd_mul in grow_nitems_alloc() 550 if (!ckd_add(nitems_alloc, *nitems_alloc, addend) in grow_nitems_alloc() 3768 #ifdef ckd_add in oadd() 3770 if (!ckd_add(&sum, t1, t2)) in oadd() 3782 #ifdef ckd_add in tadd() 3784 if (!ckd_add(&sum, t1, t2) && min_time <= sum && sum <= max_time) in tadd()
|
Completed in 11 milliseconds