Home
last modified time | relevance | path

Searched refs:component_type (Results 1 – 25 of 135) sorted by relevance

123456

/third_party/boost/libs/numeric/ublas/test/
Dtest_fixed_containers.cpp34 typedef typename data_type<T>::value_type component_type; in test_vector() typedef
43 vec1 v1( static_cast<component_type>(122.0) ); in test_vector()
45 pass &= ( v1(0) == static_cast<component_type>(122.0) ); in test_vector()
52 vec3 v1(static_cast<component_type>(0.0), in test_vector()
53 static_cast<component_type>(0.0), in test_vector()
54 static_cast<component_type>(0.0)); in test_vector()
62 v1 <<= static_cast<component_type>(10.0), 10, 33; in test_vector()
63 v <<= static_cast<component_type>(10.0), 10, 33; in test_vector()
70 v2( 0 ) = static_cast<component_type>(10.0); in test_vector()
84 vec3 v3{ static_cast<component_type>(-90.0), in test_vector()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dgen_uniform_type_table.py185 component_type = get_component_type(uniform_type)
186 if component_type == "GL_BOOL":
188 elif component_type == "GL_FLOAT":
190 elif component_type == "GL_INT":
192 elif component_type == "GL_UNSIGNED_INT":
194 elif component_type == "GL_NONE":
197 raise "Invalid component type: " + component_type
221 component_type = get_component_type(uniform_type)
222 if component_type == "GL_BOOL":
224 elif component_type == "GL_FLOAT":
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp166 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForArrayConstructionAreOK() local
167 assert(component_type); in ComponentsForArrayConstructionAreOK()
168 if (component_type != array_type.element_type()) { in ComponentsForArrayConstructionAreOK()
193 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForMatrixConstructionAreOK() local
194 assert(component_type); in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
222 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForStructConstructionAreOK() local
223 assert(component_type); in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
244 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForVectorConstructionAreOK() local
[all …]
Dtransformation_add_type_vector.cpp38 auto component_type = in IsApplicable() local
40 if (!component_type) { in IsApplicable()
43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
44 component_type->AsInteger(); in IsApplicable()
49 const auto* component_type = in Apply() local
51 (void)component_type; // Make compiler happy in release mode. in Apply()
52 assert(component_type && in Apply()
53 (component_type->AsInteger() || component_type->AsFloat() || in Apply()
54 component_type->AsBool()) && in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp107 !constant->AsVectorConstant()->component_type()->AsInteger())) { in FindOrCreateToggledIntegerConstant()
122 auto component_type = in FindOrCreateToggledIntegerConstant() local
123 constant->AsVectorConstant()->component_type()->AsInteger(); in FindOrCreateToggledIntegerConstant()
127 component_type->width(), !component_type->IsSigned()); in FindOrCreateToggledIntegerConstant()
137 uint32_t width = component_type->width(); in FindOrCreateToggledIntegerConstant()
138 bool is_signed = !component_type->IsSigned(); in FindOrCreateToggledIntegerConstant()
/third_party/spirv-tools/source/fuzz/
Dtransformation_composite_construct.cpp166 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForArrayConstructionAreOK() local
167 assert(component_type); in ComponentsForArrayConstructionAreOK()
168 if (component_type != array_type.element_type()) { in ComponentsForArrayConstructionAreOK()
193 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForMatrixConstructionAreOK() local
194 assert(component_type); in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
222 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForStructConstructionAreOK() local
223 assert(component_type); in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
244 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForVectorConstructionAreOK() local
[all …]
Dtransformation_add_type_vector.cpp38 auto component_type = in IsApplicable() local
40 if (!component_type) { in IsApplicable()
43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
44 component_type->AsInteger(); in IsApplicable()
49 const auto* component_type = in Apply() local
51 (void)component_type; // Make compiler happy in release mode. in Apply()
52 assert(component_type && in Apply()
53 (component_type->AsInteger() || component_type->AsFloat() || in Apply()
54 component_type->AsBool()) && in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp106 !constant->AsVectorConstant()->component_type()->AsInteger())) { in FindOrCreateToggledIntegerConstant()
121 auto component_type = in FindOrCreateToggledIntegerConstant() local
122 constant->AsVectorConstant()->component_type()->AsInteger(); in FindOrCreateToggledIntegerConstant()
126 component_type->width(), !component_type->IsSigned()); in FindOrCreateToggledIntegerConstant()
136 uint32_t width = component_type->width(); in FindOrCreateToggledIntegerConstant()
137 bool is_signed = !component_type->IsSigned(); in FindOrCreateToggledIntegerConstant()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_composite_construct.cpp166 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForArrayConstructionAreOK() local
167 assert(component_type); in ComponentsForArrayConstructionAreOK()
168 if (component_type != array_type.element_type()) { in ComponentsForArrayConstructionAreOK()
193 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForMatrixConstructionAreOK() local
194 assert(component_type); in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
222 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForStructConstructionAreOK() local
223 assert(component_type); in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
244 auto component_type = ir_context->get_type_mgr()->GetType(inst->type_id()); in ComponentsForVectorConstructionAreOK() local
[all …]
Dtransformation_add_type_vector.cpp38 auto component_type = in IsApplicable() local
40 if (!component_type) { in IsApplicable()
43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
44 component_type->AsInteger(); in IsApplicable()
49 const auto* component_type = in Apply() local
51 (void)component_type; // Make compiler happy in release mode. in Apply()
52 assert(component_type && in Apply()
53 (component_type->AsInteger() || component_type->AsFloat() || in Apply()
54 component_type->AsBool()) && in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp107 !constant->AsVectorConstant()->component_type()->AsInteger())) { in FindOrCreateToggledIntegerConstant()
122 auto component_type = in FindOrCreateToggledIntegerConstant() local
123 constant->AsVectorConstant()->component_type()->AsInteger(); in FindOrCreateToggledIntegerConstant()
127 component_type->width(), !component_type->IsSigned()); in FindOrCreateToggledIntegerConstant()
137 uint32_t width = component_type->width(); in FindOrCreateToggledIntegerConstant()
138 bool is_signed = !component_type->IsSigned(); in FindOrCreateToggledIntegerConstant()
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp60 constant->AsVectorConstant()->component_type()->AsInteger())) { in Apply()
171 constant->AsVectorConstant()->component_type()->AsInteger() && in Apply()
186 constant->AsVectorConstant()->component_type()->AsInteger()->width(); in Apply()
188 ->component_type() in Apply()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dangle_format.py163 component_type, bits, channels = get_format_info(format_id)
175 elif component_type == 'uint' and bits['R'] == 8:
177 elif component_type == 'unorm' and bits['R'] == 8:
179 elif component_type == 'unorm' and bits['R'] == 16:
181 elif component_type == 'int' and bits['R'] == 8:
183 elif component_type == 'snorm' and bits['R'] == 8:
185 elif component_type == 'snorm' and bits['R'] == 16:
187 elif component_type == 'float' and bits['R'] == 16:
189 elif component_type == 'uint' and bits['R'] == 16:
191 elif component_type == 'int' and bits['R'] == 16:
[all …]
Dgen_angle_format_table.py190 def get_named_component_type(component_type): argument
191 if component_type == "snorm":
193 elif component_type == "unorm":
195 elif component_type == "float":
197 elif component_type == "uint":
199 elif component_type == "int":
201 elif component_type == "none":
204 raise ValueError("Unknown component type for " + component_type)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dangle_format.py168 component_type, bits, channels = get_format_info(format_id)
183 elif component_type == 'uint' and bits['R'] == 8:
185 elif component_type == 'unorm' and bits['R'] == 8:
187 elif component_type == 'unorm' and bits['R'] == 16:
189 elif component_type == 'int' and bits['R'] == 8:
191 elif component_type == 'snorm' and bits['R'] == 8:
193 elif component_type == 'snorm' and bits['R'] == 16:
195 elif component_type == 'float' and bits['R'] == 16:
197 elif component_type == 'uint' and bits['R'] == 16:
199 elif component_type == 'int' and bits['R'] == 16:
[all …]
Dgen_angle_format_table.py200 def get_named_component_type(component_type): argument
201 if component_type == "snorm":
203 elif component_type == "unorm":
205 elif component_type == "float":
207 elif component_type == "uint":
209 elif component_type == "int":
211 elif component_type == "none":
214 raise ValueError("Unknown component type for " + component_type)
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_uniform_type_table.py192 component_type = get_component_type(uniform_type)
193 if component_type == "GL_BOOL":
195 elif component_type == "GL_FLOAT":
197 elif component_type == "GL_INT":
199 elif component_type == "GL_UNSIGNED_INT":
201 elif component_type == "GL_NONE":
204 raise "Invalid component type: " + component_type
230 component_type=get_component_type(uniform_type),
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dgen_texture_format_table.py117 component_type = angle_format['componentType']
121 if component_type == 'uint':
123 elif component_type == 'int':
125 elif component_type == 'unorm':
128 elif component_type == 'snorm':
132 elif component_type == 'float':
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dgen_texture_format_table.py117 component_type = angle_format['componentType']
121 if component_type == 'uint':
123 elif component_type == 'int':
125 elif component_type == 'unorm':
128 elif component_type == 'snorm':
132 elif component_type == 'float':
/third_party/boost/boost/iostreams/
Dchain.hpp59 chain.component_type( index ) \
167 const boost::core::typeinfo& component_type(int n) const in component_type() function in boost::iostreams::detail::chain_base
171 return (*boost::next(list().begin(), n))->component_type(); in component_type()
176 const boost::core::typeinfo& component_type() const { return component_type(N); } in component_type() function in boost::iostreams::detail::chain_base
194 if (BOOST_IOSTREAMS_COMPARE_TYPE_ID(link->component_type(), BOOST_CORE_TYPEID(T))) in component()
226 typedef typename unwrap_ios<T>::type component_type; in push_impl() typedef
228 component_type, in push_impl()
260 if (is_device<component_type>::value) { in push_impl()
458 const boost::core::typeinfo& component_type(int n) const in component_type() function in boost::iostreams::detail::chain_client
459 { return chain_->component_type(n); } in component_type()
[all …]
/third_party/boost/libs/iostreams/test/
Dcomponent_access_test.cpp83 out.component_type(0), in component_type_test()
104 out.component_type(1), in component_type_test()
125 out.component_type(2), in component_type_test()
146 out.component_type(3), in component_type_test()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_constants.cpp60 const auto component_type = in ValidateConstantComposite() local
62 if (!component_type) { in ValidateConstantComposite()
80 component_type->opcode() != constituent_result_type->opcode()) { in ValidateConstantComposite()
106 const auto component_type = in ValidateConstantComposite() local
108 if (!component_type) { in ValidateConstantComposite()
141 if (component_type->id() != vector_component_type->id()) { in ValidateConstantComposite()
268 const auto component_type = _.FindDef(component_type_id); in ValidateConstantComposite() local
269 if (!component_type || component_type->id() != constituent_type->id()) { in ValidateConstantComposite()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp60 const auto component_type = in ValidateConstantComposite() local
62 if (!component_type) { in ValidateConstantComposite()
80 component_type->opcode() != constituent_result_type->opcode()) { in ValidateConstantComposite()
106 const auto component_type = in ValidateConstantComposite() local
108 if (!component_type) { in ValidateConstantComposite()
141 if (component_type->id() != vector_component_type->id()) { in ValidateConstantComposite()
268 const auto component_type = _.FindDef(component_type_id); in ValidateConstantComposite() local
269 if (!component_type || component_type->id() != constituent_type->id()) { in ValidateConstantComposite()
/third_party/spirv-tools/source/val/
Dvalidate_constants.cpp60 const auto component_type = in ValidateConstantComposite() local
62 if (!component_type) { in ValidateConstantComposite()
80 component_type->opcode() != constituent_result_type->opcode()) { in ValidateConstantComposite()
106 const auto component_type = in ValidateConstantComposite() local
108 if (!component_type) { in ValidateConstantComposite()
141 if (component_type->id() != vector_component_type->id()) { in ValidateConstantComposite()
268 const auto component_type = _.FindDef(component_type_id); in ValidateConstantComposite() local
269 if (!component_type || component_type->id() != constituent_type->id()) { in ValidateConstantComposite()
/third_party/boost/boost/graph/
Dpoint_traits.hpp20 typedef typename Point::component_type component_type; typedef

123456