Searched refs:ARRAY_INDEX (Results 1 – 3 of 3) sorted by relevance
37 EXPECT_EQ(0, ARRAY_INDEX(&a, ARRAY_ELEMENT(&a, 0))); in TEST()38 EXPECT_EQ(1, ARRAY_INDEX(&a, ARRAY_ELEMENT(&a, 1))); in TEST()
86 #define ARRAY_INDEX(a, p) ((p) - (a)->element) macro
289 index = ARRAY_INDEX(&ini->plugins, plugin); in topological_sort()