Searched refs:ARRAY_COUNT (Results 1 – 11 of 11) sorted by relevance
/external/adhd/cras/src/tests/ |
D | dsp_ini_unittest.cc | 41 EXPECT_EQ(0, ARRAY_COUNT(&ini->plugins)); in TEST_F() 42 EXPECT_EQ(0, ARRAY_COUNT(&ini->flows)); in TEST_F() 63 EXPECT_EQ(1, ARRAY_COUNT(&ini->plugins)); in TEST_F() 64 EXPECT_EQ(0, ARRAY_COUNT(&ini->flows)); in TEST_F() 71 EXPECT_EQ(0, ARRAY_COUNT(&plugin->ports)); in TEST_F() 88 EXPECT_EQ(2, ARRAY_COUNT(&ini->plugins)); in TEST_F() 89 EXPECT_EQ(0, ARRAY_COUNT(&ini->flows)); in TEST_F() 103 EXPECT_EQ(1, ARRAY_COUNT(&ini->plugins)); in TEST_F() 104 EXPECT_EQ(0, ARRAY_COUNT(&ini->flows)); in TEST_F() 106 EXPECT_EQ(1, ARRAY_COUNT(&plugin->ports)); in TEST_F() [all …]
|
D | array_unittest.cc | 27 EXPECT_EQ(2, ARRAY_COUNT(&a)); in TEST() 41 EXPECT_EQ(0, ARRAY_COUNT(&a)); in TEST() 55 EXPECT_EQ(2, ARRAY_COUNT(&a)); in TEST() 64 EXPECT_EQ(0, ARRAY_COUNT(&a)); in TEST()
|
D | expr_unittest.cc | 99 EXPECT_EQ(0, ARRAY_COUNT(&expr->u.children)); in TEST() 109 EXPECT_EQ(2, ARRAY_COUNT(&expr->u.children)); in TEST() 119 ASSERT_EQ(2, ARRAY_COUNT(&expr->u.children)); in TEST() 123 ASSERT_EQ(2, ARRAY_COUNT(&expr1->u.children)); in TEST()
|
D | cras_dsp_pipeline_unittest.cc | 154 data->nr_ports = ARRAY_COUNT(&plugin->ports); in create_mock_module()
|
/external/adhd/cras/src/server/ |
D | cras_dsp_ini.c | 88 i = ARRAY_COUNT(&ini->flows); in lookup_or_add_flow() 239 i = ARRAY_COUNT(&ini->flows); in add_new_flow() 278 if ((sink == NULL) || ARRAY_COUNT(&sink->ports) != 2) in insert_swap_lr_plugin() 418 dumpf(d, "number of plugins = %d\n", ARRAY_COUNT(&ini->plugins)); in cras_dsp_ini_dump() 434 dumpf(d, "number of flows = %d\n", ARRAY_COUNT(&ini->flows)); in cras_dsp_ini_dump()
|
D | cras_dsp_pipeline.c | 430 n = ARRAY_COUNT(&ini->plugins); in cras_dsp_pipeline_create() 452 pipeline->input_channels = ARRAY_COUNT( in cras_dsp_pipeline_create() 454 pipeline->output_channels = ARRAY_COUNT( in cras_dsp_pipeline_create() 512 int in = ARRAY_COUNT(&instance->input_audio_ports); in allocate_buffers() 513 int out = ARRAY_COUNT(&instance->output_audio_ports); in allocate_buffers() 904 int n = ARRAY_COUNT(audio_ports); in dump_audio_ports() 922 int n = ARRAY_COUNT(control_ports); in dump_control_ports() 926 dumpf(d, " %s (%d) =\n", name, ARRAY_COUNT(control_ports)); in dump_control_ports() 962 ARRAY_COUNT(&pipeline->instances)); in cras_dsp_pipeline_dump()
|
D | cras_expr.c | 155 if (ARRAY_COUNT(operands) != 2) { in function_not() 172 int n = ARRAY_COUNT(operands); in function_and() 607 if (ARRAY_COUNT(&values) > 0) { in cras_expr_expression_eval()
|
D | cras_dsp_mod_ladspa.c | 132 if (desc->PortCount != ARRAY_COUNT(&plugin->ports)) { in verify_plugin_descriptor()
|
/external/adhd/cras/src/common/ |
D | array.h | 80 #define ARRAY_COUNT(a) ((a)->count) macro
|
/external/vboot_reference/cgpt/ |
D | cgpt_common.c | 658 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in ResolveType() 669 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in SupportedType() 681 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in PrintTypes() 811 if (errnum < 0 || errnum >= ARRAY_COUNT(error_string)) in GptError()
|
D | cgpt.h | 199 #define ARRAY_COUNT(array) (sizeof(array)/sizeof((array)[0])) macro
|