Lines Matching refs:key
20 unsigned int key, len, i, idx;
26 for (key = 0; key < max_key; key++) {
27 if (bsearch_insert_pos(&key, cur, len, sizeof(*cur),
29 success = cur[idx] == key;
31 success = cur[0] > key;
33 success = cur[len-1] < key;
35 success = cur[idx-1] < key &&
36 cur[idx+1] > key;
43 test_out(t_strdup_printf("bsearch_insert_pos(%d,%d)", i, key),