Lines Matching refs:idx_r
6 #define BINARY_NUMERIC_SEARCH(getdata, data, count, value, idx_r) \
19 *(idx_r) = idx; \
26 #define BINARY_NUMBER_SEARCH(data, count, value, idx_r) \
27 BINARY_NUMERIC_SEARCH(BINARY_SEARCH_ARRAY_GET, data, count, value, idx_r);
29 /* If key is found, returns TRUE and sets idx_r to the position where the key
30 was found. If key isn't found, returns FALSE and sets idx_r to the position
35 unsigned int *idx_r);
36 #define bsearch_insert_pos(key, base, nmemb, size, cmp, idx_r) \
40 (int (*)(const void *, const void *))cmp, idx_r)
45 unsigned int *idx_r);
46 #define array_bsearch_insert_pos(array, key, cmp, idx_r) \
50 (const void *)key, (int (*)(const void *, const void *))cmp, idx_r)