/external/mesa3d/src/compiler/glsl/ |
D | ir_validate.cpp | 244 assert(ir->type->base_type == GLSL_TYPE_BOOL); in visit_leave() 245 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave() 254 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT || in visit_leave() 255 ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT || in visit_leave() 256 ir->operands[0]->type->base_type == GLSL_TYPE_DOUBLE); in visit_leave() 263 assert(ir->type->base_type == GLSL_TYPE_FLOAT || in visit_leave() 264 ir->type->base_type == GLSL_TYPE_DOUBLE); in visit_leave() 273 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave() 278 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave() 279 assert(ir->type->base_type == GLSL_TYPE_INT); in visit_leave() [all …]
|
D | link_uniform_initializers.cpp | 50 const enum glsl_base_type base_type, in copy_constant_to_storage() argument 55 switch (base_type) { in copy_constant_to_storage() 133 if (storage->type->base_type == GLSL_TYPE_SAMPLER && in set_opaque_binding() 141 } else if (storage->type->base_type == GLSL_TYPE_IMAGE && in set_opaque_binding() 216 const enum glsl_base_type base_type = in set_uniform_initializer() local 217 val->array_elements[0]->type->base_type; in set_uniform_initializer() 220 unsigned dmul = glsl_base_type_is_64bit(base_type) ? 2 : 1; in set_uniform_initializer() 226 base_type, in set_uniform_initializer() 235 val->type->base_type, in set_uniform_initializer()
|
D | ir.cpp | 557 assert((type->base_type >= GLSL_TYPE_UINT) in ir_constant() 558 && (type->base_type <= GLSL_TYPE_BOOL)); in ir_constant() 635 switch (this->type->base_type) { in ir_constant() 693 assert(type->base_type == GLSL_TYPE_FLOAT || in ir_constant() 694 type->base_type == GLSL_TYPE_DOUBLE); in ir_constant() 696 if (type->base_type == GLSL_TYPE_FLOAT) in ir_constant() 705 switch (type->base_type) { in ir_constant() 765 switch (type->base_type) { in ir_constant() 828 switch (this->type->base_type) { in get_bool_component() 846 switch (this->type->base_type) { in get_float_component() [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/mesa3d/src/compiler/ |
D | glsl_types.h | 130 glsl_base_type base_type; member 254 static const glsl_type *get_instance(unsigned base_type, unsigned rows, 436 && (base_type >= GLSL_TYPE_UINT) in is_scalar() 437 && (base_type <= GLSL_TYPE_BOOL); in is_scalar() 447 && (base_type >= GLSL_TYPE_UINT) in is_vector() 448 && (base_type <= GLSL_TYPE_BOOL); in is_vector() 457 … return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT || base_type == GLSL_TYPE_DOUBLE); in is_matrix() 465 return (base_type >= GLSL_TYPE_UINT) && (base_type <= GLSL_TYPE_DOUBLE); in is_numeric() 473 return (base_type == GLSL_TYPE_UINT) || (base_type == GLSL_TYPE_INT); in is_integer() 493 return base_type == GLSL_TYPE_FLOAT; in is_float() [all …]
|
D | glsl_types.cpp | 49 glsl_base_type base_type, unsigned vector_elements, in glsl_type() argument 52 base_type(base_type), in glsl_type() 79 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type, in glsl_type() argument 83 base_type(base_type), in glsl_type() 98 if (base_type == GLSL_TYPE_SAMPLER) { in glsl_type() 109 base_type(GLSL_TYPE_STRUCT), in glsl_type() 138 base_type(GLSL_TYPE_INTERFACE), in glsl_type() 166 base_type(GLSL_TYPE_FUNCTION), in glsl_type() 198 base_type(GLSL_TYPE_SUBROUTINE), in glsl_type() 263 switch (base_type) { in contains_opaque() [all …]
|
D | nir_types.cpp | 78 return type->base_type; in glsl_get_base_type() 298 glsl_scalar_type(enum glsl_base_type base_type) in glsl_scalar_type() argument 300 return glsl_type::get_instance(base_type, 1, 1); in glsl_scalar_type() 304 glsl_vector_type(enum glsl_base_type base_type, unsigned components) in glsl_vector_type() argument 307 return glsl_type::get_instance(base_type, components, 1); in glsl_vector_type() 311 glsl_matrix_type(enum glsl_base_type base_type, unsigned rows, unsigned columns) in glsl_matrix_type() argument 314 return glsl_type::get_instance(base_type, rows, columns); in glsl_matrix_type() 332 enum glsl_base_type base_type) in glsl_sampler_type() argument 334 return glsl_type::get_sampler_instance(dim, is_shadow, is_array, base_type); in glsl_sampler_type() 345 enum glsl_base_type base_type) in glsl_image_type() argument [all …]
|
D | nir_types.h | 131 const struct glsl_type *glsl_scalar_type(enum glsl_base_type base_type); 132 const struct glsl_type *glsl_vector_type(enum glsl_base_type base_type, 134 const struct glsl_type *glsl_matrix_type(enum glsl_base_type base_type, 142 enum glsl_base_type base_type); 146 enum glsl_base_type base_type);
|
/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/prebuilt-intermediates/glsl/ |
D | ir_expression_operation_constant.h | 4 switch (op[0]->type->base_type) { 19 switch (op[0]->type->base_type) { 31 switch (op[0]->type->base_type) { 52 switch (op[0]->type->base_type) { 70 switch (op[0]->type->base_type) { 88 switch (op[0]->type->base_type) { 103 switch (op[0]->type->base_type) { 118 switch (op[0]->type->base_type) { 133 switch (op[0]->type->base_type) { 145 switch (op[0]->type->base_type) { [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 43 inline size_t GetTypeSize(reflection::BaseType base_type) { in GetTypeSize() argument 46 return sizes[base_type]; in GetTypeSize() 51 inline size_t GetTypeSizeInline(reflection::BaseType base_type, in GetTypeSizeInline() argument 54 if (base_type == reflection::Obj && in GetTypeSizeInline() 58 return GetTypeSize(base_type); in GetTypeSizeInline() 72 assert(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultI() 78 assert(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultF() 85 assert(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldI() 93 assert(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldF() 101 assert(field.type()->base_type() == reflection::String); in GetFieldS() [all …]
|
/external/flatbuffers/src/ |
D | idl_gen_general.cpp | 249 && !IsScalar(DestinationType(t, true).base_type) ? " @Nullable ": ""; in GenNullableAnnotation() 253 return type.enum_def != nullptr && IsInteger(type.base_type); in IsEnum() 276 if (type.base_type == BASE_TYPE_STRUCT) { in GenTypeBasic() 283 return java_typename[type.base_type]; in GenTypeBasic() 286 return csharp_typename[type.base_type]; in GenTypeBasic() 295 switch (type.base_type) { in GenTypePointer() 312 return IsScalar(type.base_type) in GenTypeGet() 321 switch (type.base_type) { in DestinationType() 370 switch (type.base_type) { in DestinationMask() 384 if (type.base_type == BASE_TYPE_VECTOR) { in DestinationCast() [all …]
|
D | idl_gen_js.cpp | 342 switch (type.base_type) { in GenType() 363 switch (type.base_type) { in GenGetter() 370 if (type.base_type == BASE_TYPE_BOOL) { in GenGetter() 398 switch (value.type.base_type) { in GenDefaultValue() 419 if (type.base_type == BASE_TYPE_STRING || type.base_type == BASE_TYPE_STRUCT) { in GenTypeName() 421 if (type.base_type == BASE_TYPE_STRING) { in GenTypeName() 430 switch (type.base_type) { in GenTypeName() 435 if (IsScalar(type.base_type)) { in GenTypeName() 448 switch (type.base_type) { in GenWriteMethod() 457 return IsScalar(type.base_type) in GenWriteMethod() [all …]
|
D | idl_parser.cpp | 474 if (enum_def->is_union) type.base_type = BASE_TYPE_UNION; in ParseTypeIdent() 476 type.base_type = BASE_TYPE_STRUCT; in ParseTypeIdent() 486 type.base_type = BASE_TYPE_BOOL; in ParseType() 489 type.base_type = BASE_TYPE_CHAR; in ParseType() 492 type.base_type = BASE_TYPE_UCHAR; in ParseType() 495 type.base_type = BASE_TYPE_SHORT; in ParseType() 498 type.base_type = BASE_TYPE_USHORT; in ParseType() 501 type.base_type = BASE_TYPE_INT; in ParseType() 504 type.base_type = BASE_TYPE_UINT; in ParseType() 507 type.base_type = BASE_TYPE_LONG; in ParseType() [all …]
|
D | idl_gen_cpp.cpp | 383 if (type.base_type == BASE_TYPE_BOOL) return "bool"; in GenTypeBasic() 385 return ctypename[type.base_type]; in GenTypeBasic() 391 switch (type.base_type) { in GenTypePointer() 414 if (IsScalar(type.base_type)) { in GenTypeWire() 426 if (IsScalar(type.base_type)) { in GenTypeSize() 476 switch (type.base_type) { in GenTypeNative() 519 if (IsScalar(type.base_type)) { in GenTypeGet() 555 if (ev.union_type.base_type == BASE_TYPE_STRUCT) { in GetUnionElement() 560 } else if (ev.union_type.base_type == BASE_TYPE_STRING) { in GetUnionElement() 684 auto is_vector = type.base_type == BASE_TYPE_VECTOR; in GenMiniReflect() [all …]
|
D | idl_gen_python.cpp | 269 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct() 287 if (!(IsScalar(vectortype.base_type))) { in GetVectorOfNonStructAsNumpy() 301 if (vectortype.base_type == BASE_TYPE_STRING) { in GetVectorOfNonStructAsNumpy() 403 if (!IsScalar(field.value.type.base_type) && (!struct_def.fixed)) { in BuildFieldOfTable() 451 if (IsScalar(field.value.type.base_type)) { in GenStructAccessor() 458 switch (field.value.type.base_type) { in GenStructAccessor() 471 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor() 486 if (field.value.type.base_type == BASE_TYPE_VECTOR) { in GenStructAccessor() 504 if (field.value.type.base_type == BASE_TYPE_VECTOR) { in GenTableBuilders() 563 switch (type.base_type) { in GenGetter() [all …]
|
D | idl_gen_text.cpp | 65 if (type.base_type == BASE_TYPE_BOOL) { in Print() 111 switch (type.base_type) { in Print() 137 switch (type.base_type) { in Print() 214 IsScalar(fd.value.type.base_type) && in GenStruct() 224 (fd.value.type.base_type != BASE_TYPE_STRUCT && in GenStruct() 225 fd.value.type.base_type != BASE_TYPE_VECTOR)) text += ":"; in GenStruct() 228 switch (fd.value.type.base_type) { in GenStruct() 251 if (fd.value.type.base_type == BASE_TYPE_UTYPE) { in GenStruct()
|
D | idl_gen_php.cpp | 357 switch (field.value.type.base_type) { in GetMemberOfVectorOfStruct() 376 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GetMemberOfVectorOfStruct() 419 if (field.value.type.VectorType().base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct() 604 if (field.value.type.base_type == BASE_TYPE_BOOL) { in BuildFieldOfTable() 636 if (IsScalar(field.value.type.VectorType().base_type)) { in BuildVectorOfTable() 714 if (IsScalar(field.value.type.base_type)) { in GenStructAccessor() 721 switch (field.value.type.base_type) { in GenStructAccessor() 734 if (vectortype.base_type == BASE_TYPE_UNION) { in GenStructAccessor() 736 } else if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor() 750 if (field.value.type.base_type == BASE_TYPE_VECTOR) { in GenStructAccessor() [all …]
|
/external/tpm2/generator/ |
D | structure_generator.py | 303 def SetBaseType(self, base_type): argument 304 self._base_type = base_type 327 base_type = self._base_type 329 base_type = self.old_type 330 if base_type not in marshalled_types: 331 typemap[base_type].OutputMarshalImpl( 333 return base_type 447 base_type = self._GetBaseType(out_file, marshalled_types, typemap) 448 out_file.write(self._TYPEDEF_MARSHAL_FUNCTION % {'old_type': base_type, 451 self._TYPEDEF_UNMARSHAL_FUNCTION % {'old_type': base_type, [all …]
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | uniform_initializer_utils.cpp | 83 switch (type->base_type) { in generate_data_element() 117 switch (type->base_type) { in generate_data_element() 148 generate_data(void *mem_ctx, enum glsl_base_type base_type, in generate_data() argument 155 glsl_type::get_instance(base_type, rows, columns); in generate_data() 162 generate_array_data(void *mem_ctx, enum glsl_base_type base_type, in generate_array_data() argument 169 glsl_type::get_instance(base_type, rows, columns); in generate_array_data() 205 if (val->type->base_type == GLSL_TYPE_ARRAY) { in verify_data() 223 switch (val->type->base_type) { in verify_data()
|
D | copy_constant_to_storage_tests.cpp | 34 const enum glsl_base_type base_type, 80 val->type->base_type, in int_test() 100 val->type->base_type, in uint_test() 120 val->type->base_type, in float_test() 140 val->type->base_type, in bool_test()
|
/external/mesa3d/src/mesa/main/ |
D | uniform_query.cpp | 350 if (returnType == uni->type->base_type in _mesa_get_uniform() 354 (uni->type->base_type == GLSL_TYPE_INT in _mesa_get_uniform() 355 || uni->type->base_type == GLSL_TYPE_UINT in _mesa_get_uniform() 356 || uni->type->base_type == GLSL_TYPE_SAMPLER in _mesa_get_uniform() 357 || uni->type->base_type == GLSL_TYPE_IMAGE))) { in _mesa_get_uniform() 372 switch (uni->type->base_type) { in _mesa_get_uniform() 396 switch (uni->type->base_type) { in _mesa_get_uniform() 426 switch (uni->type->base_type) { in _mesa_get_uniform() 736 switch (uni->type->base_type) { in _mesa_uniform() 747 match = (basicType == uni->type->base_type); in _mesa_uniform() [all …]
|
/external/flatbuffers/reflection/ |
D | reflection.fbs | 30 base_type:BaseType; 31 element:BaseType = None; // Only if base_type == Vector. 32 index:int = -1; // If base_type == Object, index into "objects" below. 33 // If base_type == Union, UnionType, or integral derived
|