Searched refs:mid (Results 1 – 4 of 4) sorted by relevance
28 int mid; in bisearch_cat() local34 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()
70 size_t mid; in bisearch() local76 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()
112 int mid; in bisearch() local118 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()
285 const uint64_t mid = tmp + umul128(m, mul[1], &hi); in mulShiftAll64() local286 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()