Home | History | Annotate | Download | only in objects

Lines Matching refs:nm

1021 #define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm)	\
1022 static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
1023 static int nm##_cmp(type1 const *, type2 const *); \
1024 nm(type1 *key, type2 const *base, int num)
1028 #define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
1029 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1058 #define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \
1059 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1063 return nm##_cmp(a,b); \
1065 static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
1068 nm##_cmp_BSEARCH_CMP_FN); \
1072 #define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
1073 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1077 return nm##_cmp(a,b); \
1079 type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
1082 nm##_cmp_BSEARCH_CMP_FN); \