Searched refs:mid_index (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/mpl/dhcp/dist/server/
H A Dleasechain.c163 size_t mid_index = ((max - min)/2) + min; local
165 if ((lc->list[mid_index]->sort_time > lp->sort_time) ||
166 ((lc->list[mid_index]->sort_time == lp->sort_time) &&
167 (lc->list[mid_index]->sort_tiebreaker > lp->sort_tiebreaker))) {
168 if (mid_index == min) {
174 min, mid_index - 1));
175 } else if ((lc->list[mid_index]->sort_time < lp->sort_time) ||
176 ((lc->list[mid_index]->sort_time == lp->sort_time) &&
177 (lc->list[mid_index]->sort_tiebreaker < lp->sort_tiebreaker))) {
178 if (mid_index
212 size_t mid_index; local
[all...]
/netbsd-current/external/bsd/ntp/dist/libparse/
H A Dmfp_mul.c106 int mid_index = 1+low_index; /* formal [1..4]! - index for high long word local
109 int high_index = 1+mid_index; /* formal [2..5]! - index for high word overflow
133 if (((c[mid_index] >> 1) + (result_high >> 1) + ((c[mid_index] & result_high & 1) != 0)) &
138 c[mid_index] += result_high; /* will add a 0 to c[4] once but saves 15 if conditions */

Completed in 137 milliseconds