Searched refs:ckd_mul (Results 1 - 3 of 3) 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() 198 #ifdef ckd_mul in timeout() 199 bool bigger = !ckd_mul(&size, size, 2) && size <= INDEX_MAX; in timeout()
|
H A D | private.h | 434 /* Support ckd_add, ckd_sub, ckd_mul on C23 or recent-enough GCC-like 455 # define ckd_mul(r, a, b) __builtin_mul_overflow(a, b, r) macro 460 # define ckd_mul(r, a, b) __builtin_mul_overflow(a, b, r) macro
|
H A D | zic.c | 490 #ifdef ckd_mul in size_product() 492 if (!ckd_mul(&product, nitems, itemsize) && product <= INDEX_MAX) in size_product() 548 #if defined ckd_add && defined ckd_mul in grow_nitems_alloc() 551 && !ckd_mul(&product, *nitems_alloc, itemsize) && product <= INDEX_MAX) in grow_nitems_alloc()
|
Completed in 7 milliseconds