Lines Matching refs:a_cmp
51 #define phn_merge_ordered(a_type, a_field, a_phn0, a_phn1, a_cmp) do { \ argument
56 assert(a_cmp(a_phn0, a_phn1) <= 0); \
67 #define phn_merge(a_type, a_field, a_phn0, a_phn1, a_cmp, r_phn) do { \ argument
72 } else if (a_cmp(a_phn0, a_phn1) < 0) { \
74 a_cmp); \
78 a_cmp); \
83 #define ph_merge_siblings(a_type, a_field, a_phn, a_cmp, r_phn) do { \ argument
106 phn_merge(a_type, a_field, phn0, phn1, a_cmp, phn0); \
127 a_cmp, phn0); \
154 a_cmp, phn0); \
170 #define ph_merge_aux(a_type, a_field, a_ph, a_cmp) do { \ argument
176 ph_merge_siblings(a_type, a_field, phn, a_cmp, phn); \
178 phn_merge(a_type, a_field, a_ph->ph_root, phn, a_cmp, \
183 #define ph_merge_children(a_type, a_field, a_phn, a_cmp, r_phn) do { \ argument
188 ph_merge_siblings(a_type, a_field, lchild, a_cmp, \
211 #define ph_gen(a_attr, a_prefix, a_ph_type, a_type, a_field, a_cmp) \ argument
225 ph_merge_aux(a_type, a_field, ph, a_cmp); \
273 ph_merge_aux(a_type, a_field, ph, a_cmp); \
277 ph_merge_children(a_type, a_field, ph->ph_root, a_cmp, \
305 ph_merge_children(a_type, a_field, ph->ph_root, a_cmp, \
328 ph_merge_aux(a_type, a_field, ph, a_cmp); \
331 a_cmp, ph->ph_root); \
343 ph_merge_children(a_type, a_field, phn, a_cmp, replace); \