Searched refs:n_j (Results 1 – 1 of 1) sorted by relevance
274 int n_rbound, n_lbound, n_j; in bin_search() local276 …for ( n_j = ((n_rbound = p_n_num - 1) + (n_lbound = 0))/2; n_lbound <= n_rbound; n_j = (n_rbound +… in bin_search()277 …switch( COMP_KEYS((struct key *)((char * )p_v_base + n_j * p_n_width), (struct cpu_key *)p_v_key) … in bin_search()278 case -1: n_lbound = n_j + 1; continue; in bin_search()279 case 1: n_rbound = n_j - 1; continue; in bin_search()280 case 0: *p_n_pos = n_j; return ITEM_FOUND; /* Key found in the array. */ in bin_search()