Home
last modified time | relevance | path

Searched refs:base_type (Results 1 – 25 of 221) sorted by relevance

123456789

/external/mesa3d/src/compiler/
Dglsl_types.h165 glsl_base_type_get_bit_size(const enum glsl_base_type base_type) in glsl_base_type_get_bit_size() argument
167 switch (base_type) { in glsl_base_type_get_bit_size()
295 glsl_base_type base_type:8; member
448 static const glsl_type *get_instance(unsigned base_type, unsigned rows,
718 && (base_type >= GLSL_TYPE_UINT) in is_scalar()
719 && (base_type <= GLSL_TYPE_IMAGE); in is_scalar()
729 && (base_type >= GLSL_TYPE_UINT) in is_vector()
730 && (base_type <= GLSL_TYPE_BOOL); in is_vector()
739 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT || in is_matrix()
740 base_type == GLSL_TYPE_DOUBLE || in is_matrix()
[all …]
Dglsl_types.cpp47 glsl_base_type base_type, unsigned vector_elements, in glsl_type() argument
52 base_type(base_type), sampled_type(GLSL_TYPE_VOID), in glsl_type()
66 ASSERT_BITFIELD_SIZE(glsl_type, base_type, GLSL_TYPE_ERROR); in glsl_type()
84 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type, in glsl_type() argument
88 base_type(base_type), sampled_type(type), in glsl_type()
109 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID), in glsl_type()
141 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
167 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID), in glsl_type()
196 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
294 switch (base_type) { in contains_opaque()
[all …]
/external/pdfium/third_party/agg23/
Dagg_conv_stroke.h31 typedef conv_adaptor_vcgen<VertexSource, vcgen_stroke, Markers> base_type; typedef
38 base_type::generator().line_cap(lc); in line_cap()
42 base_type::generator().line_join(lj); in line_join()
46 base_type::generator().inner_join(ij); in inner_join()
50 return base_type::generator().line_cap(); in line_cap()
54 return base_type::generator().line_join(); in line_join()
58 return base_type::generator().inner_join(); in inner_join()
62 base_type::generator().width(w); in width()
66 base_type::generator().miter_limit(ml); in miter_limit()
70 base_type::generator().miter_limit_theta(t); in miter_limit_theta()
[all …]
Dagg_vertex_sequence.h31 typedef pod_deque<T, S> base_type; typedef
39 if(base_type::size() > 1) { in add()
40 if(!(*this)[base_type::size() - 2]((*this)[base_type::size() - 1])) { in add()
41 base_type::remove_last(); in add()
44 base_type::add(val); in add()
49 base_type::remove_last(); in modify_last()
55 while(base_type::size() > 1) { in close()
56 if((*this)[base_type::size() - 2]((*this)[base_type::size() - 1])) { in close()
59 T t = (*this)[base_type::size() - 1]; in close()
60 base_type::remove_last(); in close()
[all …]
Dagg_conv_dash.h30 typedef conv_adaptor_vcgen<VertexSource, vcgen_dash, Markers> base_type; typedef
37 base_type::generator().remove_all_dashes(); in remove_all_dashes()
41 base_type::generator().add_dash(dash_len, gap_len); in add_dash()
45 base_type::generator().dash_start(ds); in dash_start()
49 base_type::generator().shorten(s); in shorten()
53 return base_type::generator().shorten(); in shorten()
/external/mesa3d/src/compiler/glsl/
Dir_validate.cpp144 } else if (ir->array->type->base_type != ir->type->base_type) { in visit_enter()
361 assert(ir->operands[0]->type->base_type == in visit_leave()
371 assert(ir->type->base_type == GLSL_TYPE_FLOAT16); in visit_leave()
394 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
395 assert(ir->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
398 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
399 assert(ir->type->base_type == GLSL_TYPE_INT); in visit_leave()
402 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT); in visit_leave()
403 assert(ir->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
406 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
[all …]
/external/elfutils/tests/
Drun-peel-type.sh25 c raw type base_type
26 i raw type base_type
27 l raw type base_type
37 c raw type base_type
38 i raw type base_type
39 l raw type base_type
49 c raw type base_type
50 i raw type base_type
51 l raw type base_type
59 f raw type base_type
[all …]
Drun-readelf-const-values.sh99 [ 5e] base_type abbrev: 4
177 [ 119] base_type abbrev: 5
183 [ 125] base_type abbrev: 7
189 [ 131] base_type abbrev: 7
195 [ 13d] base_type abbrev: 7
201 [ 149] base_type abbrev: 7
207 [ 155] base_type abbrev: 7
213 [ 161] base_type abbrev: 7
217 [ 168] base_type abbrev: 7
/external/mesa3d/prebuilt-intermediates/glsl/
Dir_expression_operation_constant.h4 switch (op[0]->type->base_type) {
25 switch (op[0]->type->base_type) {
37 switch (op[0]->type->base_type) {
64 switch (op[0]->type->base_type) {
85 switch (op[0]->type->base_type) {
106 switch (op[0]->type->base_type) {
121 switch (op[0]->type->base_type) {
136 switch (op[0]->type->base_type) {
151 switch (op[0]->type->base_type) {
163 switch (op[0]->type->base_type) {
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_bitwise.cpp42 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
45 if (!base_type || in BitwisePass()
46 (!_.IsIntScalarType(base_type) && !_.IsIntVectorType(base_type))) in BitwisePass()
51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
56 if (_.GetBitWidth(base_type) != _.GetBitWidth(result_type)) in BitwisePass()
117 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
122 if (base_type != result_type) in BitwisePass()
151 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
155 if (base_type != result_type) in BitwisePass()
178 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_bitwise.cpp42 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
45 if (!base_type || in BitwisePass()
46 (!_.IsIntScalarType(base_type) && !_.IsIntVectorType(base_type))) in BitwisePass()
51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
56 if (_.GetBitWidth(base_type) != _.GetBitWidth(result_type)) in BitwisePass()
117 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
122 if (base_type != result_type) in BitwisePass()
151 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
155 if (base_type != result_type) in BitwisePass()
178 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_bitwise.cpp42 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
45 if (!base_type || in BitwisePass()
46 (!_.IsIntScalarType(base_type) && !_.IsIntVectorType(base_type))) in BitwisePass()
51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
56 if (_.GetBitWidth(base_type) != _.GetBitWidth(result_type)) in BitwisePass()
117 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
122 if (base_type != result_type) in BitwisePass()
151 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
155 if (base_type != result_type) in BitwisePass()
178 const uint32_t base_type = _.GetOperandTypeId(inst, 2); in BitwisePass() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.cpp267 Instruction* base_type = in IsVulkanStorageImage() local
271 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanStorageImage()
272 base_type->opcode() == SpvOpTypeRuntimeArray) { in IsVulkanStorageImage()
273 base_type = context()->get_def_use_mgr()->GetDef( in IsVulkanStorageImage()
274 base_type->GetSingleWordInOperand(0)); in IsVulkanStorageImage()
277 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage()
281 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage()
287 return base_type->GetSingleWordInOperand(kTypeImageSampledIndex) != 1; in IsVulkanStorageImage()
301 Instruction* base_type = in IsVulkanSampledImage() local
305 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanSampledImage()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.cpp267 Instruction* base_type = in IsVulkanStorageImage() local
271 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanStorageImage()
272 base_type->opcode() == SpvOpTypeRuntimeArray) { in IsVulkanStorageImage()
273 base_type = context()->get_def_use_mgr()->GetDef( in IsVulkanStorageImage()
274 base_type->GetSingleWordInOperand(0)); in IsVulkanStorageImage()
277 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage()
281 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage()
287 return base_type->GetSingleWordInOperand(kTypeImageSampledIndex) != 1; in IsVulkanStorageImage()
301 Instruction* base_type = in IsVulkanSampledImage() local
305 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanSampledImage()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dinstruction.cpp269 Instruction* base_type = in IsVulkanStorageImage() local
273 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanStorageImage()
274 base_type->opcode() == SpvOpTypeRuntimeArray) { in IsVulkanStorageImage()
275 base_type = context()->get_def_use_mgr()->GetDef( in IsVulkanStorageImage()
276 base_type->GetSingleWordInOperand(0)); in IsVulkanStorageImage()
279 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage()
283 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage()
289 return base_type->GetSingleWordInOperand(kTypeImageSampledIndex) != 1; in IsVulkanStorageImage()
303 Instruction* base_type = in IsVulkanSampledImage() local
307 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanSampledImage()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dtensor_conversion_registry.py57 def register_tensor_conversion_function(base_type, argument
98 base_types = base_type if isinstance(base_type, tuple) else (base_type,)
110 (base_type, conversion_func))
136 (base_type, conversion_func)
137 for base_type, conversion_func in funcs_at_priority
138 if issubclass(query, base_type))
/external/flatbuffers/include/flatbuffers/
Dreflection.h47 inline size_t GetTypeSize(reflection::BaseType base_type) { in GetTypeSize() argument
50 return sizes[base_type]; in GetTypeSize()
55 inline size_t GetTypeSizeInline(reflection::BaseType base_type, int type_index, in GetTypeSizeInline() argument
57 if (base_type == reflection::Obj && in GetTypeSizeInline()
61 return GetTypeSize(base_type); in GetTypeSizeInline()
75 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultI()
81 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultF()
88 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldI()
96 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldF()
104 FLATBUFFERS_ASSERT(field.type()->base_type() == reflection::String); in GetFieldS()
[all …]
/external/flatbuffers/src/
Didl_gen_java.cpp130 !IsScalar(DestinationType(t, true).base_type) && in GenNullableAnnotation()
131 t.base_type != BASE_TYPE_VECTOR in GenNullableAnnotation()
138 !IsScalar(DestinationType(t, true).base_type) in GenPureAnnotation()
152 return java_typename[type.base_type]; in GenTypeBasic()
156 switch (type.base_type) { in GenTypePointer()
166 return IsScalar(type.base_type) in GenTypeGet()
175 switch (type.base_type) { in DestinationType()
204 switch (type.base_type) { in DestinationMask()
221 if (type.base_type == BASE_TYPE_UINT) return "(long)"; in DestinationCast()
237 if (type.base_type == BASE_TYPE_UINT) in SourceCast()
[all …]
Didl_gen_csharp.cpp133 if (type.base_type == BASE_TYPE_STRUCT) { in GenTypeBasic()
138 return csharp_typename[type.base_type]; in GenTypeBasic()
146 switch (type.base_type) { in GenTypePointer()
156 return IsScalar(type.base_type) in GenTypeGet()
198 return IsScalar(type.base_type) ? SourceCast(type) : ""; in SourceCastBasic()
216 value.type.base_type != BASE_TYPE_UNION) { in GenDefaultValue()
222 switch (value.type.base_type) { in GenDefaultValue()
228 if (IsFloat(value.type.base_type)) in GenDefaultValue()
242 if (!IsScalar(value.type.base_type)) { in GenDefaultValueBasic()
244 switch (value.type.base_type) { in GenDefaultValueBasic()
[all …]
Didl_gen_kotlin.cpp137 return type.enum_def != nullptr && IsInteger(type.base_type); in IsEnum()
154 switch (type.base_type) { in GenTypePointer()
163 return IsScalar(type.base_type) ? GenTypeBasic(type.base_type) in GenTypeGet()
184 if (field.value.type.base_type == BASE_TYPE_FLOAT) { in GenFBBDefaultValue()
197 if (IsUnsigned(field.value.type.base_type)) { in GenFBBValueCast()
206 auto base_type = field.value.type.base_type; in GenDefaultValue() local
207 if (IsFloat(base_type)) { in GenDefaultValue()
209 if (base_type == BASE_TYPE_DOUBLE && val.back() == 'f') { in GenDefaultValue()
215 if (base_type == BASE_TYPE_BOOL) { in GenDefaultValue()
221 if (base_type == BASE_TYPE_LONG || !force_signed) { in GenDefaultValue()
[all …]
Didl_gen_lobster.cpp62 auto bits = NumToString(SizeOf(type.base_type) * 8); in GenTypeName()
63 if (IsInteger(type.base_type)) return "int" + bits; in GenTypeName()
64 if (IsFloat(type.base_type)) return "float" + bits; in GenTypeName()
65 if (type.base_type == BASE_TYPE_STRING) return "string"; in GenTypeName()
66 if (type.base_type == BASE_TYPE_STRUCT) return "table"; in GenTypeName()
71 if (IsFloat(type.base_type)) return "float"; in LobsterType()
72 if (IsScalar(type.base_type) && type.enum_def) in LobsterType()
74 if (!IsScalar(type.base_type)) return "flatbuffers_offset"; in LobsterType()
80 return IsScalar(type.base_type) in GenMethod()
96 return ctypename[type.base_type]; in GenTypeBasic()
[all …]
Didl_gen_swift.cpp395 (field.value.type.base_type == BASE_TYPE_VECTOR || in GenTableWriterFields()
396 field.value.type.base_type == BASE_TYPE_ARRAY) in GenTableWriterFields()
404 if (IsScalar(field.value.type.base_type) && in GenTableWriterFields()
405 !IsBool(field.value.type.base_type)) { in GenTableWriterFields()
416 if (IsBool(field.value.type.base_type)) { in GenTableWriterFields()
428 auto offset_type = field.value.type.base_type == BASE_TYPE_STRING in GenTableWriterFields()
432 (field.value.type.base_type == BASE_TYPE_VECTOR || in GenTableWriterFields()
433 field.value.type.base_type == BASE_TYPE_ARRAY in GenTableWriterFields()
456 if (IsScalar(field.value.type.base_type) && !IsEnum(field.value.type) && in GenTableReaderFields()
457 !IsBool(field.value.type.base_type)) { in GenTableReaderFields()
[all …]
Didl_gen_python.cpp200 auto is_bool = IsBool(field.value.type.base_type); in GetScalarFieldOfTable()
207 default_value = IsFloat(field.value.type.base_type) in GetScalarFieldOfTable()
373 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()
391 if (!(IsScalar(vectortype.base_type))) { return; } in GetVectorOfNonStructAsNumpy()
403 if (vectortype.base_type == BASE_TYPE_STRING) { in GetVectorOfNonStructAsNumpy()
535 if (!IsScalar(field.value.type.base_type) && (!struct_def.fixed)) { in BuildFieldOfTable()
543 code += IsFloat(field.value.type.base_type) in BuildFieldOfTable()
583 if (IsScalar(field.value.type.base_type)) { in GenStructAccessor()
592 switch (field.value.type.base_type) { in GenStructAccessor()
605 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()
[all …]
/external/webrtc/rtc_base/
Dsigslot_repeater.h35 typedef signal_with_thread_policy<mt_policy, Args...> base_type; typedef
40 repeater_with_thread_policy(const this_type& s) : base_type(s) {} in repeater_with_thread_policy()
42 void reemit(Args... args) { base_type::emit(args...); } in reemit()
43 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } in repeat()
44 void stop(base_type& s) { s.disconnect(this); } in stop()
/external/angle/src/libANGLE/renderer/
Dangle_format.py215 base_type = None
219 base_type = 'float'
221 base_type = 'half'
226 base_type = 'byte'
228 base_type = 'short'
230 base_type = 'int'
235 if base_type is None:
238 return 'GL' + sign + base_type

123456789