Home
last modified time | relevance | path

Searched refs:IDX (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/sgs/include/
H A Dalist.h188 #define ALIST_TRAVERSE(LIST, IDX, DATA) \ argument
189 (IDX) = 0, \
192 ((LIST) != NULL) && ((IDX) < (LIST)->al_nitems); \
194 (IDX)++, \
195 (DATA) = (void *) (((LIST)->al_size * (IDX)) + (char *)(LIST)->al_data)
219 #define APLIST_TRAVERSE(LIST, IDX, PTR) \ argument
220 (IDX) = 0; \
222 ((LIST) != NULL) && ((IDX) < (LIST)->apl_nitems) && \
223 (((PTR) = ((LIST)->apl_data)[IDX]), 1); \
225 (IDX)++
H A Drtld.h979 #define IDX(X) ((X)->rt_idx) macro
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dtsort.c77 if (IDX(lmp1) > IDX(lmp2)) in compare()
79 if (IDX(lmp1) < IDX(lmp2)) in compare()
117 IDX(lmp) = ndx++; in sort_scc()
126 if (IDX(lmp3) || (LIST(lmp3) != lml)) in sort_scc()
141 IDX(lmp3) = ndx++; in sort_scc()
835 IDX(lmp2) = 0; in tsort()