Lines Matching refs:SUB
79 #define NEXT_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\ argument
83 if (index_compare(OID, SUB, &_lelem->INDEX) < 0) \
88 #define FIND_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\ argument
92 if (index_compare(OID, SUB, &_lelem->INDEX) == 0) \
149 #define FIND_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \ argument
153 if (index_compare(OID, SUB, &_lelem->INDEX) == 0) \
158 #define NEXT_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \ argument
162 if (index_compare(OID, SUB, &_lelem->INDEX) < 0) \
167 #define FIND_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \ argument
170 if ((OID)->len - SUB != 1) \
174 if ((OID)->subs[SUB] == (asn_subid_t)_lelem->INDEX)\
179 #define NEXT_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \ argument
182 if ((OID)->len - SUB == 0) \
186 if ((OID)->subs[SUB] < (asn_subid_t)_lelem->INDEX)\
191 #define FIND_OBJECT_FUNC_LINK(LIST, OID, SUB, LINK, FUNC) ({ \ argument
195 if ((FUNC)(OID, SUB, _lelem) == 0) \
200 #define NEXT_OBJECT_FUNC_LINK(LIST, OID, SUB, LINK, FUNC) ({ \ argument
204 if ((FUNC)(OID, SUB, _lelem) < 0) \
218 #define FIND_OBJECT_OID_LINK(LIST, OID, SUB, LINK) \ argument
219 FIND_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, index)
221 #define NEXT_OBJECT_OID_LINK(LIST, OID, SUB, LINK) \ argument
222 NEXT_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, index)
224 #define FIND_OBJECT_INT_LINK(LIST, OID, SUB, LINK) \ argument
225 FIND_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, index)
227 #define NEXT_OBJECT_INT_LINK(LIST, OID, SUB, LINK) \ argument
228 NEXT_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, index)
243 #define FIND_OBJECT_OID(LIST, OID, SUB) \ argument
244 FIND_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, link, index)
246 #define FIND_OBJECT_INT(LIST, OID, SUB) \ argument
247 FIND_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, link, index)
249 #define FIND_OBJECT_FUNC(LIST, OID, SUB, FUNC) \ argument
250 FIND_OBJECT_FUNC_LINK(LIST, OID, SUB, link, FUNC)
252 #define NEXT_OBJECT_OID(LIST, OID, SUB) \ argument
253 NEXT_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, link, index)
255 #define NEXT_OBJECT_INT(LIST, OID, SUB) \ argument
256 NEXT_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, link, index)
258 #define NEXT_OBJECT_FUNC(LIST, OID, SUB, FUNC) \ argument
259 NEXT_OBJECT_FUNC_LINK(LIST, OID, SUB, link, FUNC)