/external/mesa3d/src/compiler/ |
D | glsl_types.h | 165 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 …]
|
D | glsl_types.cpp | 47 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 …]
|
D | nir_types.cpp | 128 return type->base_type; in glsl_get_base_type() 546 glsl_scalar_type(enum glsl_base_type base_type) in glsl_scalar_type() argument 548 return glsl_type::get_instance(base_type, 1, 1); in glsl_scalar_type() 552 glsl_vector_type(enum glsl_base_type base_type, unsigned components) in glsl_vector_type() argument 554 const glsl_type *t = glsl_type::get_instance(base_type, components, 1); in glsl_vector_type() 560 glsl_matrix_type(enum glsl_base_type base_type, unsigned rows, unsigned columns) in glsl_matrix_type() argument 562 const glsl_type *t = glsl_type::get_instance(base_type, rows, columns); in glsl_matrix_type() 572 const glsl_type *t = glsl_type::get_instance(mat->base_type, in glsl_explicit_matrix_type() 595 return glsl_vector_type(t->base_type, components); in glsl_replace_vector_type() 622 enum glsl_base_type base_type) in glsl_sampler_type() argument [all …]
|
/external/pdfium/third_party/agg23/ |
D | agg_conv_stroke.h | 31 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 …]
|
D | agg_vertex_sequence.h | 31 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 …]
|
D | agg_conv_dash.h | 30 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/webrtc/webrtc/base/ |
D | sigslotrepeater.h | 30 typedef signal0<mt_policy> base_type; typedef 34 repeater0(const this_type& s) : base_type(s) { } in repeater0() 37 void repeat(base_type &s) { s.connect(this, &this_type::reemit); } in repeat() 38 void stop(base_type &s) { s.disconnect(this); } in stop() 46 typedef signal1<arg1_type, mt_policy> base_type; typedef 50 repeater1(const this_type& s) : base_type(s) { } in repeater1() 53 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } in repeat() 54 void stop(base_type &s) { s.disconnect(this); } in stop() 62 typedef signal2<arg1_type, arg2_type, mt_policy> base_type; typedef 66 repeater2(const this_type& s) : base_type(s) { } in repeater2() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_validate.cpp | 144 } 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/ |
D | run-peel-type.sh | 25 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 …]
|
D | run-readelf-const-values.sh | 99 [ 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/ |
D | ir_expression_operation_constant.h | 4 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/angle/third_party/spirv-tools/src/source/val/ |
D | validate_bitwise.cpp | 42 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/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_bitwise.cpp | 42 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/ |
D | validate_bitwise.cpp | 42 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/spirv-tools/src/source/opt/ |
D | instruction.cpp | 252 Instruction* base_type = in IsVulkanStorageImage() local 256 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanStorageImage() 257 base_type->opcode() == SpvOpTypeRuntimeArray) { in IsVulkanStorageImage() 258 base_type = context()->get_def_use_mgr()->GetDef( in IsVulkanStorageImage() 259 base_type->GetSingleWordInOperand(0)); in IsVulkanStorageImage() 262 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage() 266 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage() 272 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanStorageImage() 286 Instruction* base_type = in IsVulkanSampledImage() local 290 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanSampledImage() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | instruction.cpp | 233 Instruction* base_type = in IsVulkanStorageImage() local 237 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanStorageImage() 238 base_type->opcode() == SpvOpTypeRuntimeArray) { in IsVulkanStorageImage() 239 base_type = context()->get_def_use_mgr()->GetDef( in IsVulkanStorageImage() 240 base_type->GetSingleWordInOperand(0)); in IsVulkanStorageImage() 243 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage() 247 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage() 253 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanStorageImage() 267 Instruction* base_type = in IsVulkanSampledImage() local 271 if (base_type->opcode() == SpvOpTypeArray || in IsVulkanSampledImage() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 47 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/tensorflow/tensorflow/python/framework/ |
D | tensor_conversion_registry.py | 57 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/src/ |
D | idl_gen_general.cpp | 252 !IsScalar(DestinationType(t, true).base_type) in GenNullableAnnotation() 258 return type.enum_def != nullptr && IsInteger(type.base_type); in IsEnum() 283 if (type.base_type == BASE_TYPE_STRUCT) { in GenTypeBasic() 290 return java_typename[type.base_type]; in GenTypeBasic() 293 return csharp_typename[type.base_type]; in GenTypeBasic() 302 switch (type.base_type) { in GenTypePointer() 315 return IsScalar(type.base_type) ? GenTypeBasic(type) : GenTypePointer(type); in GenTypeGet() 322 switch (type.base_type) { in DestinationType() 368 switch (type.base_type) { in DestinationMask() 381 if (type.base_type == BASE_TYPE_VECTOR) { in DestinationCast() [all …]
|
D | idl_gen_lobster.cpp | 59 auto bits = NumToString(SizeOf(type.base_type) * 8); in GenTypeName() 60 if (IsInteger(type.base_type)) return "int" + bits; in GenTypeName() 61 if (IsFloat(type.base_type)) return "float" + bits; in GenTypeName() 62 if (type.base_type == BASE_TYPE_STRING) return "string"; in GenTypeName() 63 if (type.base_type == BASE_TYPE_STRUCT) return "table"; in GenTypeName() 68 if (IsFloat(type.base_type)) return "float"; in LobsterType() 74 return IsScalar(type.base_type) in GenMethod() 90 return ctypename[type.base_type]; in GenTypeBasic() 100 if (IsScalar(field.value.type.base_type)) { in GenStructAccessor() 112 switch (field.value.type.base_type) { in GenStructAccessor() [all …]
|
D | idl_parser.cpp | 539 if (enum_def->is_union) type.base_type = BASE_TYPE_UNION; in ParseTypeIdent() 541 type.base_type = BASE_TYPE_STRUCT; in ParseTypeIdent() 551 type.base_type = BASE_TYPE_BOOL; in ParseType() 554 type.base_type = BASE_TYPE_CHAR; in ParseType() 557 type.base_type = BASE_TYPE_UCHAR; in ParseType() 560 type.base_type = BASE_TYPE_SHORT; in ParseType() 563 type.base_type = BASE_TYPE_USHORT; in ParseType() 566 type.base_type = BASE_TYPE_INT; in ParseType() 569 type.base_type = BASE_TYPE_UINT; in ParseType() 572 type.base_type = BASE_TYPE_LONG; in ParseType() [all …]
|
D | idl_gen_cpp.cpp | 514 if (type.base_type == BASE_TYPE_BOOL) return "bool"; in GenTypeBasic() 516 return ctypename[type.base_type]; in GenTypeBasic() 522 switch (type.base_type) { in GenTypePointer() 543 if (IsScalar(type.base_type)) { in GenTypeWire() 555 if (IsScalar(type.base_type)) { in GenTypeSize() 620 switch (type.base_type) { in GenTypeNative() 663 if (IsScalar(type.base_type)) { in GenTypeGet() 699 if (ev.union_type.base_type == BASE_TYPE_STRUCT) { in GetUnionElement() 704 } else if (ev.union_type.base_type == BASE_TYPE_STRING) { in GetUnionElement() 817 auto is_vector = type.base_type == BASE_TYPE_VECTOR; in GenMiniReflect() [all …]
|
D | idl_gen_js_ts.cpp | 387 switch (type.base_type) { in GenType() 408 switch (type.base_type) { in GenGetter() 416 if (type.base_type == BASE_TYPE_BOOL) { getter = "!!" + getter; } in GenGetter() 451 switch (value.type.base_type) { in GenDefaultValue() 471 if (type.base_type == BASE_TYPE_STRING || in GenTypeName() 472 type.base_type == BASE_TYPE_STRUCT) { in GenTypeName() 474 if (type.base_type == BASE_TYPE_STRING) { in GenTypeName() 483 switch (type.base_type) { in GenTypeName() 488 if (IsScalar(type.base_type)) { in GenTypeName() 499 switch (type.base_type) { in GenWriteMethod() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instruction.cpp | 199 Instruction* base_type = in IsVulkanStorageImage() local 201 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage() 205 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage() 211 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanStorageImage() 225 Instruction* base_type = in IsVulkanSampledImage() local 227 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanSampledImage() 231 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanSampledImage() 237 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanSampledImage() 251 Instruction* base_type = in IsVulkanStorageTexelBuffer() local 253 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageTexelBuffer() [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | angle_format.py | 215 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
|