Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 4 of 4) sorted by relevance

/picolibc-latest/newlib/libc/ctype/
Dcategories.c28 int mid; in bisearch_cat() local
34 mid = (min + max) / 2; in bisearch_cat()
35 if (ucs > (uint32_t) (table[mid].first + table[mid].delta)) in bisearch_cat()
36 min = mid + 1; in bisearch_cat()
37 else if (ucs < table[mid].first) in bisearch_cat()
38 max = mid - 1; in bisearch_cat()
40 return table[mid].cat; in bisearch_cat()
Dtowctrans_l.c70 size_t mid; in bisearch() local
76 mid = (min + max) / 2; in bisearch()
77 if (ucs > last(table[mid])) in bisearch()
78 min = mid + 1; in bisearch()
79 else if (ucs < first(table[mid])) in bisearch()
80 max = mid - 1; in bisearch()
82 return &table[mid]; in bisearch()
/picolibc-latest/newlib/libc/string/
Dwcwidth.c112 int mid; in bisearch() local
118 mid = (min + max) / 2; in bisearch()
119 if (ucs > table[mid].last) in bisearch()
120 min = mid + 1; in bisearch()
121 else if (ucs < table[mid].first) in bisearch()
122 max = mid - 1; in bisearch()
/picolibc-latest/newlib/libc/tinystdio/ryu/
Dd2s_intrinsics.h285 const uint64_t mid = tmp + umul128(m, mul[1], &hi); in mulShiftAll64() local
286 hi += mid < tmp; // overflow into hi in mulShiftAll64()
289 const uint64_t mid2 = mid + mul[1] + (lo2 < lo); in mulShiftAll64()
290 const uint64_t hi2 = hi + (mid2 < mid); in mulShiftAll64()
295 const uint64_t mid3 = mid - mul[1] - (lo3 > lo); in mulShiftAll64()
296 const uint64_t hi3 = hi - (mid3 > mid); in mulShiftAll64()
300 const uint64_t mid3 = mid + mid + (lo3 < lo); in mulShiftAll64()
301 const uint64_t hi3 = hi + hi + (mid3 < mid); in mulShiftAll64()
308 return shiftright128(mid, hi, (uint32_t) (j - 64 - 1)); in mulShiftAll64()