Home
last modified time | relevance | path

Searched refs:element_count (Results 1 – 25 of 101) sorted by relevance

12345

/third_party/alsa-lib/test/
Duser-ctl-element-set.c19 unsigned int element_count; member
60 trial->element_count, trial->member_count); in add_bool_elem_set()
97 trial->element_count, trial->member_count, in add_int_elem_set()
180 trial->element_count, trial->member_count, in add_enum_elem_set()
229 trial->element_count, trial->member_count); in add_bytes_elem_set()
287 trial->element_count = 1; in change_iec958_elem_members()
300 trial->element_count, trial->member_count, in add_int64_elem_set()
471 if (trial->element_count > snd_ctl_elem_list_get_count(list)) { in check_elem_list()
507 if (i != trial->element_count) in check_elem_list()
532 for (i = 0; i < trial->element_count; ++i) { in check_elem_set_props()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp261 auto element_count = vector_type_instruction.GetSingleWordInOperand(1); in FindComponentsToConstructVector() local
276 for (uint32_t width = 2; width < element_count; width++) { in FindComponentsToConstructVector()
305 while (vector_slots_used < element_count) { in FindComponentsToConstructVector()
309 std::min(element_count - 1, element_count - vector_slots_used)) { in FindComponentsToConstructVector()
335 assert(chosen_type->AsVector()->element_count() < element_count); in FindComponentsToConstructVector()
336 assert(chosen_type->AsVector()->element_count() <= in FindComponentsToConstructVector()
337 element_count - vector_slots_used); in FindComponentsToConstructVector()
338 vector_slots_used += chosen_type->AsVector()->element_count(); in FindComponentsToConstructVector()
344 assert(vector_slots_used == element_count); in FindComponentsToConstructVector()
Dtransformation_replace_linear_algebra_instruction.cpp124 ->element_count(); in GetRequiredFreshIdCount()
130 ->element_count(); in GetRequiredFreshIdCount()
142 ->element_count(); in GetRequiredFreshIdCount()
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
155 ->element_count()); in GetRequiredFreshIdCount()
170 ->element_count(); in GetRequiredFreshIdCount()
175 ->element_count(); in GetRequiredFreshIdCount()
190 ->element_count(); in GetRequiredFreshIdCount()
196 ->element_count(); in GetRequiredFreshIdCount()
212 ->element_count(); in GetRequiredFreshIdCount()
[all …]
Dtransformation_composite_construct.cpp180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
250 base_element_count += component_type->AsVector()->element_count(); in ComponentsForVectorConstructionAreOK()
260 return base_element_count == vector_type.element_count(); in ComponentsForVectorConstructionAreOK()
306 ? component_type->AsVector()->element_count() in AddDataSynonymFacts()
317 assert(component_type->AsVector()->element_count() < in AddDataSynonymFacts()
318 composite_type->AsVector()->element_count()); in AddDataSynonymFacts()
320 subvector_index < component_type->AsVector()->element_count(); in AddDataSynonymFacts()
Dfuzzer_pass_add_equation_instructions.cpp132 const auto element_count = vector->element_count(); in Apply() local
137 element_count); in Apply()
170 const auto element_count = vector->element_count(); in Apply() local
184 FindOrCreateVectorType(element_type_id, element_count); in Apply()
222 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
349 type->AsVector() ? type->AsVector()->element_count() : 1; in RestrictToVectorWidth()
Dtransformation_vector_shuffle.cpp82 uint32_t combined_size = vector1_type->AsVector()->element_count() + in IsApplicable()
83 vector2_type->AsVector()->element_count(); in IsApplicable()
203 GetVectorType(ir_context, message_.vector1())->element_count()) { in AddDataSynonymFacts()
221 GetVectorType(ir_context, message_.vector1())->element_count(); in AddDataSynonymFacts()
224 GetVectorType(ir_context, message_.vector2())->element_count() && in AddDataSynonymFacts()
Dfuzzer_pass_add_image_sample_unused_components.cpp101 coordinate_type->AsVector()->element_count() == 4) { in Apply()
113 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
170 coordinate_type->AsVector()->element_count() + in Apply()
Dtransformation_equation_instruction.cpp138 vector->element_count()); in MaybeGetResultTypeId()
182 vector->element_count()) == 0) { in MaybeGetResultTypeId()
196 vector->element_count()); in MaybeGetResultTypeId()
236 : operand_type->AsVector()->element_count(); in MaybeGetResultTypeId()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp260 auto element_count = vector_type_instruction.GetSingleWordInOperand(1); in FindComponentsToConstructVector() local
275 for (uint32_t width = 2; width < element_count; width++) { in FindComponentsToConstructVector()
304 while (vector_slots_used < element_count) { in FindComponentsToConstructVector()
308 std::min(element_count - 1, element_count - vector_slots_used)) { in FindComponentsToConstructVector()
334 assert(chosen_type->AsVector()->element_count() < element_count); in FindComponentsToConstructVector()
335 assert(chosen_type->AsVector()->element_count() <= in FindComponentsToConstructVector()
336 element_count - vector_slots_used); in FindComponentsToConstructVector()
337 vector_slots_used += chosen_type->AsVector()->element_count(); in FindComponentsToConstructVector()
343 assert(vector_slots_used == element_count); in FindComponentsToConstructVector()
Dtransformation_replace_linear_algebra_instruction.cpp124 ->element_count(); in GetRequiredFreshIdCount()
130 ->element_count(); in GetRequiredFreshIdCount()
142 ->element_count(); in GetRequiredFreshIdCount()
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
155 ->element_count()); in GetRequiredFreshIdCount()
170 ->element_count(); in GetRequiredFreshIdCount()
175 ->element_count(); in GetRequiredFreshIdCount()
190 ->element_count(); in GetRequiredFreshIdCount()
196 ->element_count(); in GetRequiredFreshIdCount()
212 ->element_count(); in GetRequiredFreshIdCount()
[all …]
Dtransformation_composite_construct.cpp180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
250 base_element_count += component_type->AsVector()->element_count(); in ComponentsForVectorConstructionAreOK()
260 return base_element_count == vector_type.element_count(); in ComponentsForVectorConstructionAreOK()
306 ? component_type->AsVector()->element_count() in AddDataSynonymFacts()
317 assert(component_type->AsVector()->element_count() < in AddDataSynonymFacts()
318 composite_type->AsVector()->element_count()); in AddDataSynonymFacts()
320 subvector_index < component_type->AsVector()->element_count(); in AddDataSynonymFacts()
Dfuzzer_pass_add_equation_instructions.cpp131 const auto element_count = vector->element_count(); in Apply() local
136 element_count); in Apply()
169 const auto element_count = vector->element_count(); in Apply() local
183 FindOrCreateVectorType(element_type_id, element_count); in Apply()
221 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
348 type->AsVector() ? type->AsVector()->element_count() : 1; in RestrictToVectorWidth()
Dtransformation_vector_shuffle.cpp82 uint32_t combined_size = vector1_type->AsVector()->element_count() + in IsApplicable()
83 vector2_type->AsVector()->element_count(); in IsApplicable()
203 GetVectorType(ir_context, message_.vector1())->element_count()) { in AddDataSynonymFacts()
221 GetVectorType(ir_context, message_.vector1())->element_count(); in AddDataSynonymFacts()
224 GetVectorType(ir_context, message_.vector2())->element_count() && in AddDataSynonymFacts()
Dfuzzer_pass_add_image_sample_unused_components.cpp100 coordinate_type->AsVector()->element_count() == 4) { in Apply()
112 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
169 coordinate_type->AsVector()->element_count() + in Apply()
Dtransformation_equation_instruction.cpp138 vector->element_count()); in MaybeGetResultTypeId()
182 vector->element_count()) == 0) { in MaybeGetResultTypeId()
196 vector->element_count()); in MaybeGetResultTypeId()
236 : operand_type->AsVector()->element_count(); in MaybeGetResultTypeId()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp261 auto element_count = vector_type_instruction.GetSingleWordInOperand(1); in FindComponentsToConstructVector() local
276 for (uint32_t width = 2; width < element_count; width++) { in FindComponentsToConstructVector()
305 while (vector_slots_used < element_count) { in FindComponentsToConstructVector()
309 std::min(element_count - 1, element_count - vector_slots_used)) { in FindComponentsToConstructVector()
335 assert(chosen_type->AsVector()->element_count() < element_count); in FindComponentsToConstructVector()
336 assert(chosen_type->AsVector()->element_count() <= in FindComponentsToConstructVector()
337 element_count - vector_slots_used); in FindComponentsToConstructVector()
338 vector_slots_used += chosen_type->AsVector()->element_count(); in FindComponentsToConstructVector()
344 assert(vector_slots_used == element_count); in FindComponentsToConstructVector()
Dtransformation_replace_linear_algebra_instruction.cpp124 ->element_count(); in GetRequiredFreshIdCount()
130 ->element_count(); in GetRequiredFreshIdCount()
142 ->element_count(); in GetRequiredFreshIdCount()
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
155 ->element_count()); in GetRequiredFreshIdCount()
170 ->element_count(); in GetRequiredFreshIdCount()
175 ->element_count(); in GetRequiredFreshIdCount()
190 ->element_count(); in GetRequiredFreshIdCount()
196 ->element_count(); in GetRequiredFreshIdCount()
212 ->element_count(); in GetRequiredFreshIdCount()
[all …]
Dtransformation_composite_construct.cpp180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
250 base_element_count += component_type->AsVector()->element_count(); in ComponentsForVectorConstructionAreOK()
260 return base_element_count == vector_type.element_count(); in ComponentsForVectorConstructionAreOK()
306 ? component_type->AsVector()->element_count() in AddDataSynonymFacts()
317 assert(component_type->AsVector()->element_count() < in AddDataSynonymFacts()
318 composite_type->AsVector()->element_count()); in AddDataSynonymFacts()
320 subvector_index < component_type->AsVector()->element_count(); in AddDataSynonymFacts()
Dfuzzer_pass_add_equation_instructions.cpp132 const auto element_count = vector->element_count(); in Apply() local
137 element_count); in Apply()
170 const auto element_count = vector->element_count(); in Apply() local
184 FindOrCreateVectorType(element_type_id, element_count); in Apply()
222 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
349 type->AsVector() ? type->AsVector()->element_count() : 1; in RestrictToVectorWidth()
Dtransformation_vector_shuffle.cpp82 uint32_t combined_size = vector1_type->AsVector()->element_count() + in IsApplicable()
83 vector2_type->AsVector()->element_count(); in IsApplicable()
203 GetVectorType(ir_context, message_.vector1())->element_count()) { in AddDataSynonymFacts()
221 GetVectorType(ir_context, message_.vector1())->element_count(); in AddDataSynonymFacts()
224 GetVectorType(ir_context, message_.vector2())->element_count() && in AddDataSynonymFacts()
Dfuzzer_pass_add_image_sample_unused_components.cpp101 coordinate_type->AsVector()->element_count() == 4) { in Apply()
113 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
170 coordinate_type->AsVector()->element_count() + in Apply()
Dtransformation_equation_instruction.cpp138 vector->element_count()); in MaybeGetResultTypeId()
182 vector->element_count()) == 0) { in MaybeGetResultTypeId()
196 vector->element_count()); in MaybeGetResultTypeId()
236 : operand_type->AsVector()->element_count(); in MaybeGetResultTypeId()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxful.c614 guint32 element_count, element_size; in mxf_ul_array_parse() local
625 element_count = GST_READ_UINT32_BE (data); in mxf_ul_array_parse()
629 if (element_count == 0) { in mxf_ul_array_parse()
645 if (element_count > size / 16) { in mxf_ul_array_parse()
651 *array = g_new (MXFUL, element_count); in mxf_ul_array_parse()
652 *count = element_count; in mxf_ul_array_parse()
654 for (i = 0; i < element_count; i++) { in mxf_ul_array_parse()
/third_party/benchmark/test/
Dbenchmark_random_interleaving_gtest.cc107 std::map<std::string, int> element_count; in TEST_F() local
114 element_count[interleaving[0]]++; in TEST_F()
115 element_count[interleaving[1]]++; in TEST_F()
119 EXPECT_EQ(element_count["BM_Match1/64"], 100) << "Unexpected repetitions."; in TEST_F()
120 EXPECT_EQ(element_count["BM_Match1/80"], 100) << "Unexpected repetitions."; in TEST_F()
/third_party/jerryscript/tests/unit-core/
Dtest-typedarray.cpp31 uint32_t element_count; /**< number of elements for the TypedArray */ member
90 jerry_length_t element_count, /**< expected element count */ in test_typedarray_info() argument
96 TEST_ASSERT (jerry_get_typedarray_length (typedarray) == element_count); in test_typedarray_info()
103 TEST_ASSERT (byte_length == element_count * bytes_per_element); in test_typedarray_info()
124 jerry_value_t length_arg = jerry_create_number (test_entries[i].element_count); in test_typedarray_queries()
134 test_entries[i].element_count, in test_typedarray_queries()
142 test_entries[i].element_count); in test_typedarray_queries()
145 test_entries[i].element_count, in test_typedarray_queries()

12345