Lines Matching refs:nm
1025 # define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \ argument
1026 static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
1027 static int nm##_cmp(type1 const *, type2 const *); \
1028 scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1032 # define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ argument
1033 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1062 # define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \ argument
1063 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1067 return nm##_cmp(a,b); \
1069 static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
1072 nm##_cmp_BSEARCH_CMP_FN); \
1076 # define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ argument
1077 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1081 return nm##_cmp(a,b); \
1083 type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
1086 nm##_cmp_BSEARCH_CMP_FN); \