/third_party/alsa-lib/test/ |
D | user-ctl-element-set.c | 19 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/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_construct_composites.cpp | 261 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()
|
D | transformation_replace_linear_algebra_instruction.cpp | 124 ->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 …]
|
D | transformation_composite_construct.cpp | 180 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()
|
D | fuzzer_pass_add_equation_instructions.cpp | 132 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()
|
D | transformation_vector_shuffle.cpp | 82 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()
|
D | fuzzer_pass_add_image_sample_unused_components.cpp | 101 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()
|
D | transformation_equation_instruction.cpp | 138 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/spirv-tools/source/fuzz/ |
D | fuzzer_pass_construct_composites.cpp | 261 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()
|
D | transformation_replace_linear_algebra_instruction.cpp | 124 ->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 …]
|
D | transformation_composite_construct.cpp | 180 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()
|
D | fuzzer_pass_add_equation_instructions.cpp | 132 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()
|
D | transformation_vector_shuffle.cpp | 82 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()
|
D | fuzzer_pass_add_image_sample_unused_components.cpp | 101 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()
|
D | transformation_equation_instruction.cpp | 138 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/ |
D | fuzzer_pass_construct_composites.cpp | 261 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()
|
D | transformation_replace_linear_algebra_instruction.cpp | 124 ->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 …]
|
D | transformation_composite_construct.cpp | 180 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()
|
D | fuzzer_pass_add_equation_instructions.cpp | 132 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()
|
D | transformation_vector_shuffle.cpp | 82 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()
|
D | fuzzer_pass_add_image_sample_unused_components.cpp | 101 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()
|
/third_party/gstreamer/gstplugins_bad/gst/mxf/ |
D | mxful.c | 614 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/ |
D | benchmark_random_interleaving_gtest.cc | 107 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/ |
D | test-typedarray.cpp | 31 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()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | buffer.cc | 277 uint32_t element_count = value_count; in RecalculateMaxSizeInBytes() local 283 element_count = value_count / format_->InputNeededPerElement(); in RecalculateMaxSizeInBytes() 285 if (GetMaxSizeInBytes() < element_count * format_->SizeInBytes()) in RecalculateMaxSizeInBytes() 286 SetMaxSizeInBytes(element_count * format_->SizeInBytes()); in RecalculateMaxSizeInBytes() 393 void Buffer::SetSizeInElements(uint32_t element_count) { in SetSizeInElements() argument 394 element_count_ = element_count; in SetSizeInElements() 395 bytes_.resize(element_count * format_->SizeInBytes()); in SetSizeInElements()
|