Home
last modified time | relevance | path

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

123456

/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/
Dglsl_types.h151 glsl_base_type base_type:8; member
260 static const glsl_type *get_instance(unsigned base_type, unsigned rows,
442 && (base_type >= GLSL_TYPE_UINT) in is_scalar()
443 && (base_type <= GLSL_TYPE_IMAGE); in is_scalar()
453 && (base_type >= GLSL_TYPE_UINT) in is_vector()
454 && (base_type <= GLSL_TYPE_BOOL); in is_vector()
463 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT || in is_matrix()
464 base_type == GLSL_TYPE_DOUBLE || in is_matrix()
465 base_type == GLSL_TYPE_FLOAT16); in is_matrix()
473 return (base_type >= GLSL_TYPE_UINT) && (base_type <= GLSL_TYPE_INT64); in is_numeric()
[all …]
Dglsl_types.cpp39 glsl_base_type base_type, unsigned vector_elements, in glsl_type() argument
42 base_type(base_type), sampled_type(GLSL_TYPE_VOID), in glsl_type()
55 ASSERT_BITFIELD_SIZE(glsl_type, base_type, GLSL_TYPE_ERROR); in glsl_type()
72 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type, in glsl_type() argument
76 base_type(base_type), sampled_type(type), in glsl_type()
95 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID), in glsl_type()
122 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
148 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID), in glsl_type()
177 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
259 switch (base_type) { in contains_opaque()
[all …]
Dnir_types.cpp87 return type->base_type; in glsl_get_base_type()
349 glsl_scalar_type(enum glsl_base_type base_type) in glsl_scalar_type() argument
351 return glsl_type::get_instance(base_type, 1, 1); in glsl_scalar_type()
355 glsl_vector_type(enum glsl_base_type base_type, unsigned components) in glsl_vector_type() argument
358 return glsl_type::get_instance(base_type, components, 1); in glsl_vector_type()
362 glsl_matrix_type(enum glsl_base_type base_type, unsigned rows, unsigned columns) in glsl_matrix_type() argument
365 return glsl_type::get_instance(base_type, rows, columns); in glsl_matrix_type()
394 enum glsl_base_type base_type) in glsl_sampler_type() argument
396 return glsl_type::get_sampler_instance(dim, is_shadow, is_array, base_type); in glsl_sampler_type()
407 enum glsl_base_type base_type) in glsl_image_type() argument
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_validate.cpp263 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT || in visit_leave()
266 ir->operands[0]->type->base_type == GLSL_TYPE_INT64); in visit_leave()
289 assert(ir->type->base_type == GLSL_TYPE_INT); in visit_leave()
293 assert(ir->type->base_type == GLSL_TYPE_UINT); in visit_leave()
296 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
308 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
313 assert(ir->type->base_type == GLSL_TYPE_INT); in visit_leave()
316 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT); in visit_leave()
320 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
321 assert(ir->type->base_type == GLSL_TYPE_UINT); in visit_leave()
[all …]
/external/webrtc/webrtc/base/
Dsigslotrepeater.h30 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/
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/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/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/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_general.cpp252 !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 …]
Didl_parser.cpp537 if (enum_def->is_union) type.base_type = BASE_TYPE_UNION; in ParseTypeIdent()
539 type.base_type = BASE_TYPE_STRUCT; in ParseTypeIdent()
549 type.base_type = BASE_TYPE_BOOL; in ParseType()
552 type.base_type = BASE_TYPE_CHAR; in ParseType()
555 type.base_type = BASE_TYPE_UCHAR; in ParseType()
558 type.base_type = BASE_TYPE_SHORT; in ParseType()
561 type.base_type = BASE_TYPE_USHORT; in ParseType()
564 type.base_type = BASE_TYPE_INT; in ParseType()
567 type.base_type = BASE_TYPE_UINT; in ParseType()
570 type.base_type = BASE_TYPE_LONG; in ParseType()
[all …]
Didl_gen_lobster.cpp59 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 …]
Didl_gen_cpp.cpp508 if (type.base_type == BASE_TYPE_BOOL) return "bool"; in GenTypeBasic()
510 return ctypename[type.base_type]; in GenTypeBasic()
516 switch (type.base_type) { in GenTypePointer()
537 if (IsScalar(type.base_type)) { in GenTypeWire()
549 if (IsScalar(type.base_type)) { in GenTypeSize()
603 switch (type.base_type) { in GenTypeNative()
646 if (IsScalar(type.base_type)) { in GenTypeGet()
682 if (ev.union_type.base_type == BASE_TYPE_STRUCT) { in GetUnionElement()
687 } else if (ev.union_type.base_type == BASE_TYPE_STRING) { in GetUnionElement()
800 auto is_vector = type.base_type == BASE_TYPE_VECTOR; in GenMiniReflect()
[all …]
Didl_gen_js_ts.cpp387 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 …]
Didl_gen_dart.cpp304 switch (type.base_type) { in GenType()
328 if (type.base_type == BASE_TYPE_BOOL) { in GenReaderTypeName()
330 } else if (type.base_type == BASE_TYPE_VECTOR) { in GenReaderTypeName()
336 } else if (type.base_type == BASE_TYPE_STRING) { in GenReaderTypeName()
339 if (IsScalar(type.base_type)) { in GenReaderTypeName()
352 if (type.enum_def->is_union && type.base_type != BASE_TYPE_UNION) { in GenDartTypeName()
356 } else if (type.base_type != BASE_TYPE_VECTOR) { in GenDartTypeName()
361 switch (type.base_type) { in GenDartTypeName()
503 if (field.value.type.base_type == BASE_TYPE_UNION) { in GenImplementationGetters()
521 field.value.type.base_type != BASE_TYPE_VECTOR) { in GenImplementationGetters()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.cpp223 Instruction* base_type = in IsVulkanStorageImage() local
225 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage()
229 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage()
235 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanStorageImage()
249 Instruction* base_type = in IsVulkanSampledImage() local
251 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanSampledImage()
255 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanSampledImage()
261 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanSampledImage()
275 Instruction* base_type = in IsVulkanStorageTexelBuffer() local
277 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageTexelBuffer()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.cpp223 Instruction* base_type = in IsVulkanStorageImage() local
225 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageImage()
229 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanStorageImage()
235 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanStorageImage()
249 Instruction* base_type = in IsVulkanSampledImage() local
251 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanSampledImage()
255 if (base_type->GetSingleWordInOperand(kTypeImageDimIndex) == SpvDimBuffer) { in IsVulkanSampledImage()
261 auto s = base_type->GetSingleWordInOperand(kTypeImageSampledIndex); in IsVulkanSampledImage()
275 Instruction* base_type = in IsVulkanStorageTexelBuffer() local
277 if (base_type->opcode() != SpvOpTypeImage) { in IsVulkanStorageTexelBuffer()
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Duniform_initializer_utils.cpp83 switch (type->base_type) { in generate_data_element()
126 switch (type->base_type) { in generate_data_element()
166 generate_data(void *mem_ctx, enum glsl_base_type base_type, in generate_data() argument
173 glsl_type::get_instance(base_type, rows, columns); in generate_data()
180 generate_array_data(void *mem_ctx, enum glsl_base_type base_type, in generate_array_data() argument
187 glsl_type::get_instance(base_type, rows, columns); in generate_array_data()
257 switch (val->type->base_type) { in verify_data()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-connectable_observable.hpp109 typedef observable<T, SourceOperator> base_type; typedef in rxcpp::connectable_observable
122 : base_type(o) in connectable_observable()
126 : base_type(std::move(o)) in connectable_observable()
133 : base_type(o) in connectable_observable()
138 : base_type(std::move(o)) in connectable_observable()
161 base_type::source_operator.on_connect(cs); in connect()
Drx-grouped_observable.hpp125 typedef observable<T, SourceOperator> base_type; typedef in rxcpp::grouped_observable
139 : base_type(o) in grouped_observable()
143 : base_type(std::move(o)) in grouped_observable()
150 : base_type(o) in grouped_observable()
155 : base_type(std::move(o)) in grouped_observable()
166 return base_type::source_operator.on_get_key(); in get_key()

123456