mid 2033 maint/gnulib/lib/dfa.c idx_t mid = (lo + hi) >> 1; mid 2034 maint/gnulib/lib/dfa.c if (s->elems[mid].index < p.index) mid 2035 maint/gnulib/lib/dfa.c lo = mid + 1; mid 2036 maint/gnulib/lib/dfa.c else if (s->elems[mid].index == p.index) mid 2038 maint/gnulib/lib/dfa.c s->elems[mid].constraint |= p.constraint; mid 2042 maint/gnulib/lib/dfa.c hi = mid; mid 2132 maint/gnulib/lib/dfa.c idx_t mid = (lo + hi) >> 1; mid 2133 maint/gnulib/lib/dfa.c if (s->elems[mid].index < del) mid 2134 maint/gnulib/lib/dfa.c lo = mid + 1; mid 2135 maint/gnulib/lib/dfa.c else if (s->elems[mid].index == del) mid 2137 maint/gnulib/lib/dfa.c unsigned int c = s->elems[mid].constraint; mid 2139 maint/gnulib/lib/dfa.c for (i = mid; i + 1 < count; i++) mid 2145 maint/gnulib/lib/dfa.c hi = mid; mid 5007 maint/gnulib/lib/gen-uni-tables.c unsigned int mid = (lo + hi) / 2; /* >= lo, < hi */ mid 5008 maint/gnulib/lib/gen-uni-tables.c if (blocks[mid].end < ch) mid 5009 maint/gnulib/lib/gen-uni-tables.c lo = mid + 1; mid 5011 maint/gnulib/lib/gen-uni-tables.c hi = mid; mid 5029 maint/gnulib/lib/gen-uni-tables.c unsigned int mid = (lo + hi) / 2; /* >= lo, < hi */ mid 5030 maint/gnulib/lib/gen-uni-tables.c if (blocks[mid].start <= ch) mid 5031 maint/gnulib/lib/gen-uni-tables.c lo = mid + 1; mid 5033 maint/gnulib/lib/gen-uni-tables.c hi = mid; mid 553 maint/gnulib/lib/gl_array_list.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 554 maint/gnulib/lib/gl_array_list.c int cmp = compar (list->elements[mid], elt); mid 557 maint/gnulib/lib/gl_array_list.c low = mid + 1; mid 559 maint/gnulib/lib/gl_array_list.c high = mid; mid 564 maint/gnulib/lib/gl_array_list.c high = mid; mid 635 maint/gnulib/lib/gl_array_list.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 636 maint/gnulib/lib/gl_array_list.c int cmp = compar (list->elements[mid], elt); mid 639 maint/gnulib/lib/gl_array_list.c low = mid + 1; mid 641 maint/gnulib/lib/gl_array_list.c high = mid; mid 644 maint/gnulib/lib/gl_array_list.c low = mid; mid 93 maint/gnulib/lib/gl_array_omap.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 95 maint/gnulib/lib/gl_array_omap.c ? compar (map->pairs[mid].key, key) mid 96 maint/gnulib/lib/gl_array_omap.c : (map->pairs[mid].key > key ? 1 : mid 97 maint/gnulib/lib/gl_array_omap.c map->pairs[mid].key < key ? -1 : 0)); mid 100 maint/gnulib/lib/gl_array_omap.c low = mid + 1; mid 102 maint/gnulib/lib/gl_array_omap.c high = mid; mid 105 maint/gnulib/lib/gl_array_omap.c return mid; mid 144 maint/gnulib/lib/gl_array_omap.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 146 maint/gnulib/lib/gl_array_omap.c if (! threshold_fn (map->pairs[mid].key, threshold)) mid 147 maint/gnulib/lib/gl_array_omap.c low = mid + 1; mid 152 maint/gnulib/lib/gl_array_omap.c high = mid; mid 241 maint/gnulib/lib/gl_array_omap.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 243 maint/gnulib/lib/gl_array_omap.c ? compar (map->pairs[mid].key, key) mid 244 maint/gnulib/lib/gl_array_omap.c : (map->pairs[mid].key > key ? 1 : mid 245 maint/gnulib/lib/gl_array_omap.c map->pairs[mid].key < key ? -1 : 0)); mid 248 maint/gnulib/lib/gl_array_omap.c low = mid + 1; mid 250 maint/gnulib/lib/gl_array_omap.c high = mid; mid 253 maint/gnulib/lib/gl_array_omap.c *oldvaluep = map->pairs[mid].value; mid 254 maint/gnulib/lib/gl_array_omap.c map->pairs[mid].value = value; mid 85 maint/gnulib/lib/gl_array_oset.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 87 maint/gnulib/lib/gl_array_oset.c ? compar (set->elements[mid], elt) mid 88 maint/gnulib/lib/gl_array_oset.c : (set->elements[mid] > elt ? 1 : mid 89 maint/gnulib/lib/gl_array_oset.c set->elements[mid] < elt ? -1 : 0)); mid 92 maint/gnulib/lib/gl_array_oset.c low = mid + 1; mid 94 maint/gnulib/lib/gl_array_oset.c high = mid; mid 97 maint/gnulib/lib/gl_array_oset.c return mid; mid 133 maint/gnulib/lib/gl_array_oset.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 135 maint/gnulib/lib/gl_array_oset.c if (! threshold_fn (set->elements[mid], threshold)) mid 136 maint/gnulib/lib/gl_array_oset.c low = mid + 1; mid 141 maint/gnulib/lib/gl_array_oset.c high = mid; mid 259 maint/gnulib/lib/gl_array_oset.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 261 maint/gnulib/lib/gl_array_oset.c ? compar (set->elements[mid], elt) mid 262 maint/gnulib/lib/gl_array_oset.c : (set->elements[mid] > elt ? 1 : mid 263 maint/gnulib/lib/gl_array_oset.c set->elements[mid] < elt ? -1 : 0)); mid 266 maint/gnulib/lib/gl_array_oset.c low = mid + 1; mid 268 maint/gnulib/lib/gl_array_oset.c high = mid; mid 314 maint/gnulib/lib/gl_array_oset.c size_t mid = old_index - 1; mid 316 maint/gnulib/lib/gl_array_oset.c ? compar (set->elements[mid], elt) mid 317 maint/gnulib/lib/gl_array_oset.c : (set->elements[mid] > elt ? 1 : mid 318 maint/gnulib/lib/gl_array_oset.c set->elements[mid] < elt ? -1 : 0)); mid 327 maint/gnulib/lib/gl_array_oset.c high = mid; mid 348 maint/gnulib/lib/gl_array_oset.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 350 maint/gnulib/lib/gl_array_oset.c ? compar (set->elements[mid], elt) mid 351 maint/gnulib/lib/gl_array_oset.c : (set->elements[mid] > elt ? 1 : mid 352 maint/gnulib/lib/gl_array_oset.c set->elements[mid] < elt ? -1 : 0)); mid 355 maint/gnulib/lib/gl_array_oset.c low = mid + 1; mid 357 maint/gnulib/lib/gl_array_oset.c high = mid; mid 725 maint/gnulib/lib/gl_carray_list.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 729 maint/gnulib/lib/gl_carray_list.c i_mid = list->offset + mid; mid 736 maint/gnulib/lib/gl_carray_list.c low = mid + 1; mid 738 maint/gnulib/lib/gl_carray_list.c high = mid; mid 743 maint/gnulib/lib/gl_carray_list.c high = mid; mid 821 maint/gnulib/lib/gl_carray_list.c size_t mid = low + (high - low) / 2; /* low <= mid < high */ mid 825 maint/gnulib/lib/gl_carray_list.c i_mid = list->offset + mid; mid 832 maint/gnulib/lib/gl_carray_list.c low = mid + 1; mid 834 maint/gnulib/lib/gl_carray_list.c high = mid; mid 837 maint/gnulib/lib/gl_carray_list.c low = mid; mid 1041 maint/gnulib/lib/localcharset.c size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 1042 maint/gnulib/lib/localcharset.c int cmp = strcmp (table[mid].alias, codeset); mid 1044 maint/gnulib/lib/localcharset.c lo = mid + 1; mid 1046 maint/gnulib/lib/localcharset.c hi = mid; mid 1051 maint/gnulib/lib/localcharset.c codeset = table[mid].canonical; mid 1115 maint/gnulib/lib/localcharset.c size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 1116 maint/gnulib/lib/localcharset.c int cmp = strcmp (table[mid].locale, locale); mid 1118 maint/gnulib/lib/localcharset.c lo = mid + 1; mid 1120 maint/gnulib/lib/localcharset.c hi = mid; mid 1125 maint/gnulib/lib/localcharset.c codeset = table[mid].canonical; mid 293 maint/gnulib/lib/mktime.c long_int mid = long_int_avg (ok, bad); mid 294 maint/gnulib/lib/mktime.c if (mid == ok || mid == bad) mid 296 maint/gnulib/lib/mktime.c if (convert_time (convert, mid, tp)) mid 297 maint/gnulib/lib/mktime.c ok = mid, oktm = *tp; mid 301 maint/gnulib/lib/mktime.c bad = mid; mid 129 maint/gnulib/lib/qsort.c char *mid = lo + size * ((hi - lo) / size >> 1); mid 131 maint/gnulib/lib/qsort.c if ((*cmp) ((void *) mid, (void *) lo, arg) < 0) mid 132 maint/gnulib/lib/qsort.c SWAP (mid, lo, size); mid 133 maint/gnulib/lib/qsort.c if ((*cmp) ((void *) hi, (void *) mid, arg) < 0) mid 134 maint/gnulib/lib/qsort.c SWAP (mid, hi, size); mid 137 maint/gnulib/lib/qsort.c if ((*cmp) ((void *) mid, (void *) lo, arg) < 0) mid 138 maint/gnulib/lib/qsort.c SWAP (mid, lo, size); mid 149 maint/gnulib/lib/qsort.c while ((*cmp) ((void *) left_ptr, (void *) mid, arg) < 0) mid 152 maint/gnulib/lib/qsort.c while ((*cmp) ((void *) mid, (void *) right_ptr, arg) < 0) mid 158 maint/gnulib/lib/qsort.c if (mid == left_ptr) mid 159 maint/gnulib/lib/qsort.c mid = right_ptr; mid 160 maint/gnulib/lib/qsort.c else if (mid == right_ptr) mid 161 maint/gnulib/lib/qsort.c mid = left_ptr; mid 614 maint/gnulib/lib/regex_internal.c Idx low = 0, high = pstr->valid_len, mid; mid 617 maint/gnulib/lib/regex_internal.c mid = (high + low) / 2; mid 618 maint/gnulib/lib/regex_internal.c if (pstr->offsets[mid] > offset) mid 619 maint/gnulib/lib/regex_internal.c high = mid; mid 620 maint/gnulib/lib/regex_internal.c else if (pstr->offsets[mid] < offset) mid 621 maint/gnulib/lib/regex_internal.c low = mid + 1; mid 626 maint/gnulib/lib/regex_internal.c if (pstr->offsets[mid] < offset) mid 627 maint/gnulib/lib/regex_internal.c ++mid; mid 628 maint/gnulib/lib/regex_internal.c pstr->tip_context = re_string_context_at (pstr, mid - 1, mid 635 maint/gnulib/lib/regex_internal.c && mid == offset && pstr->offsets[mid] == offset) mid 652 maint/gnulib/lib/regex_internal.c while (mid > 0 && pstr->offsets[mid - 1] == offset) mid 653 maint/gnulib/lib/regex_internal.c --mid; mid 654 maint/gnulib/lib/regex_internal.c while (mid < pstr->valid_len) mid 655 maint/gnulib/lib/regex_internal.c if (pstr->wcs[mid] != WEOF) mid 658 maint/gnulib/lib/regex_internal.c ++mid; mid 659 maint/gnulib/lib/regex_internal.c if (mid == pstr->valid_len) mid 663 maint/gnulib/lib/regex_internal.c pstr->valid_len = pstr->offsets[mid] - offset; mid 1379 maint/gnulib/lib/regex_internal.c __re_size_t idx, right, mid; mid 1388 maint/gnulib/lib/regex_internal.c mid = (idx + right) / 2; mid 1389 maint/gnulib/lib/regex_internal.c if (set->elems[mid] < elem) mid 1390 maint/gnulib/lib/regex_internal.c idx = mid + 1; mid 1392 maint/gnulib/lib/regex_internal.c right = mid; mid 4181 maint/gnulib/lib/regexec.c Idx left, right, mid, last; mid 4185 maint/gnulib/lib/regexec.c mid = (left + right) / 2; mid 4186 maint/gnulib/lib/regexec.c if (mctx->bkref_ents[mid].str_idx < str_idx) mid 4187 maint/gnulib/lib/regexec.c left = mid + 1; mid 4189 maint/gnulib/lib/regexec.c right = mid; mid 624 maint/gnulib/lib/setlocale.c size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 625 maint/gnulib/lib/setlocale.c int cmp = strcmp (table[mid].code, string); mid 627 maint/gnulib/lib/setlocale.c lo = mid + 1; mid 629 maint/gnulib/lib/setlocale.c hi = mid; mid 638 maint/gnulib/lib/setlocale.c for (i = mid; i > lo; ) mid 651 maint/gnulib/lib/setlocale.c for (i = mid + 1; i < hi; i++) mid 1158 maint/gnulib/lib/setlocale.c size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 1159 maint/gnulib/lib/setlocale.c int cmp = langcmp (table[mid], locale); mid 1161 maint/gnulib/lib/setlocale.c lo = mid + 1; mid 1163 maint/gnulib/lib/setlocale.c hi = mid; mid 1169 maint/gnulib/lib/setlocale.c if (mid > lo && langcmp (table[mid - 1], locale) >= 0) mid 1171 maint/gnulib/lib/setlocale.c if (mid + 1 < hi && langcmp (table[mid + 1], locale) <= 0) mid 1173 maint/gnulib/lib/setlocale.c return table[mid]; mid 1387 maint/gnulib/lib/setlocale.c size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 1388 maint/gnulib/lib/setlocale.c int cmp = terrcmp (table[mid], locale); mid 1390 maint/gnulib/lib/setlocale.c lo = mid + 1; mid 1392 maint/gnulib/lib/setlocale.c hi = mid; mid 1398 maint/gnulib/lib/setlocale.c if (mid > lo && terrcmp (table[mid - 1], locale) >= 0) mid 1400 maint/gnulib/lib/setlocale.c if (mid + 1 < hi && terrcmp (table[mid + 1], locale) <= 0) mid 1402 maint/gnulib/lib/setlocale.c return table[mid]; mid 623 maint/gnulib/lib/ssfmalloc.h size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ mid 624 maint/gnulib/lib/ssfmalloc.h if (offset > gaps[mid].end) mid 625 maint/gnulib/lib/ssfmalloc.h lo = mid + 1; mid 626 maint/gnulib/lib/ssfmalloc.h else if (offset < gaps[mid].end) mid 627 maint/gnulib/lib/ssfmalloc.h hi = mid; mid 631 maint/gnulib/lib/ssfmalloc.h index = mid;