Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Darray_unittest.cc37 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()
/external/adhd/cras/src/common/
Darray.h86 #define ARRAY_INDEX(a, p) ((p) - (a)->element) macro
/external/adhd/cras/src/server/
Dcras_dsp_pipeline.c289 index = ARRAY_INDEX(&ini->plugins, plugin); in topological_sort()