Lines Matching refs:idx
28 static struct idxmap *find_by_index(int idx) in find_by_index() argument
33 for (im = idxmap[idx & 0xF]; im; im = im->next) in find_by_index()
34 if (im->index == idx) in find_by_index()
89 const char FAST_FUNC *ll_idx_n2a(int idx/*, char *buf*/) in ll_idx_n2a() argument
93 if (idx == 0) in ll_idx_n2a()
95 im = find_by_index(idx); in ll_idx_n2a()
100 return auto_string(xasprintf("if%d", idx)); in ll_idx_n2a()
103 const char FAST_FUNC *ll_index_to_name(int idx) in ll_index_to_name() argument
106 return ll_idx_n2a(idx/*, nbuf*/); in ll_index_to_name()
110 int ll_index_to_type(int idx) in ll_index_to_type() argument
114 if (idx == 0) in ll_index_to_type()
116 im = find_by_index(idx); in ll_index_to_type()
123 unsigned FAST_FUNC ll_index_to_flags(int idx) in ll_index_to_flags() argument
127 if (idx == 0) in ll_index_to_flags()
129 im = find_by_index(idx); in ll_index_to_flags()