Searched refs:ARRAY_INDEX (Results 1 – 4 of 4) 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()
40 private static final Pattern ARRAY_INDEX = Pattern.compile("(/[^\\[]++)(?:\\[(\\d++)])?$"); field in AbstractPathValueMapper210 Matcher m = ARRAY_INDEX.matcher(valueOrAlias); in parse()
87 #define ARRAY_INDEX(a, p) ((p) - (a)->element) macro
290 index = ARRAY_INDEX(&ini->plugins, plugin); in topological_sort()