Home
last modified time | relevance | path

Searched refs:ARRAY_ELEMENT (Results 1 – 14 of 14) sorted by relevance

/external/adhd/cras/src/tests/
Ddsp_ini_unittest.cc66 struct plugin *plugin = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F()
90 EXPECT_STREQ(ARRAY_ELEMENT(&ini->plugins, 0)->purpose, "playback"); in TEST_F()
91 EXPECT_STREQ(ARRAY_ELEMENT(&ini->plugins, 1)->purpose, "capture"); in TEST_F()
105 struct plugin *plugin = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F()
107 struct port *port = ARRAY_ELEMENT(&plugin->ports, 0); in TEST_F()
131 struct plugin *foo = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F()
132 struct plugin *bar = ARRAY_ELEMENT(&ini->plugins, 1); in TEST_F()
136 struct port *foo0 = ARRAY_ELEMENT(&foo->ports, 0); in TEST_F()
137 struct port *foo1 = ARRAY_ELEMENT(&foo->ports, 1); in TEST_F()
145 struct port *bar0 = ARRAY_ELEMENT(&bar->ports, 0); in TEST_F()
[all …]
Darray_unittest.cc30 EXPECT_EQ(1.0, *ARRAY_ELEMENT(&a, 0)); in TEST()
31 EXPECT_EQ(2.0, *ARRAY_ELEMENT(&a, 1)); in TEST()
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()
56 EXPECT_EQ(1, ARRAY_ELEMENT(&a, 0)->x); in TEST()
57 EXPECT_EQ(2, ARRAY_ELEMENT(&a, 0)->y); in TEST()
60 ARRAY_ELEMENT(&a, 1)->y = 5; in TEST()
Dexpr_unittest.cc121 expr1 = *ARRAY_ELEMENT(&expr->u.children, 0); in TEST()
125 expr2 = *ARRAY_ELEMENT(&expr1->u.children, 1); in TEST()
Dcras_dsp_pipeline_unittest.cc156 struct port *port = ARRAY_ELEMENT(&plugin->ports, i); in create_mock_module()
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp78 ARRAY_ELEMENT, enumerator
131 …nt (int ndx) { m_path.push_back(VarTypeComponent(VarTypeComponent::ARRAY_ELEMENT, ndx)); DE_ASS… in element()
257 else if (curComp.type == VarTypeComponent::ARRAY_ELEMENT) in removeTraversed()
304 m_path.push_back(VarTypeComponent(VarTypeComponent::ARRAY_ELEMENT, 0)); in findNext()
328 else if (pathIter->type == VarTypeComponent::ARRAY_ELEMENT) in isValidTypePath()
386 else if (pathIter->type == VarTypeComponent::ARRAY_ELEMENT) in getVarType()
DgluVarTypeUtil.cpp138 path.push_back(VarTypeComponent(VarTypeComponent::ARRAY_ELEMENT, ndx)); in parseTypePath()
170 case VarTypeComponent::ARRAY_ELEMENT: in operator <<()
/external/adhd/cras/src/server/
Dcras_expr.c125 return ARRAY_ELEMENT(&env->values, i); in find_value()
161 value = ARRAY_ELEMENT(operands, 1); in function_not()
192 copy_value(result, ARRAY_ELEMENT(operands, n - 1)); in function_and()
224 prev = ARRAY_ELEMENT(operands, i - 1); in function_equal_real()
336 value = ARRAY_ELEMENT(&env->values, i); in cras_expr_env_dump()
608 struct cras_expr_value *f = ARRAY_ELEMENT(&values, 0); in cras_expr_expression_eval()
Dcras_dsp_ini.c183 flow = ARRAY_ELEMENT(&ini->flows, flow_id); in fill_flow_info()
284 sink_input_flowid_0 = ARRAY_ELEMENT(&sink->ports, 0)->flow_id; in insert_swap_lr_plugin()
285 sink_input_flowid_1 = ARRAY_ELEMENT(&sink->ports, 1)->flow_id; in insert_swap_lr_plugin()
311 ARRAY_ELEMENT(&sink->ports, 0)->flow_id = swap_lr_output_flowid_0; in insert_swap_lr_plugin()
312 ARRAY_ELEMENT(&sink->ports, 1)->flow_id = swap_lr_output_flowid_1; in insert_swap_lr_plugin()
Dcras_dsp_pipeline.c175 port = ARRAY_ELEMENT(&plugin->ports, index); in find_origin_port()
180 flow = ARRAY_ELEMENT(&ini->flows, flow_id); in find_origin_port()
298 flow = ARRAY_ELEMENT(&ini->flows, flow_id); in topological_sort()
/external/adhd/cras/src/common/
Darray.h83 #define ARRAY_ELEMENT(a, i) ((a)->element + (i)) macro
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java359 assertThat(path[0].getStep(0)).isEqualTo(TypePath.ARRAY_ELEMENT); in typePath()
361 assertThat(path[0].getStep(1)).isEqualTo(TypePath.ARRAY_ELEMENT); in typePath()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1250 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()
1291 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()
1302 …sPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.… in computeOffset()
1303 …ccessPath.empty() && accessPath.back().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.… in computeOffset()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp1061 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()
1102 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()
1113 …sPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.… in computeOffset()
1114 …ccessPath.empty() && accessPath.back().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.… in computeOffset()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp312 case glu::VarTypeComponent::ARRAY_ELEMENT: prefix = "_e"; break; in getAttributeName()