Home
last modified time | relevance | path

Searched full:type (Results 1 – 25 of 5483) sorted by relevance

12345678910>>...220

/arkcompiler/runtime_core/assembler/
Dannotation.h27 #include "assembly-type.h"
76 enum class Type { enum
101 static constexpr char GetTypeAsChar(Type t) in GetTypeAsChar()
103 char type = '0'; in GetTypeAsChar() local
105 case Type::U1: in GetTypeAsChar()
106 type = '1'; in GetTypeAsChar()
108 case Type::I8: in GetTypeAsChar()
109 type = '2'; in GetTypeAsChar()
111 case Type::U8: in GetTypeAsChar()
112 type = '3'; in GetTypeAsChar()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dannotation.h27 #include "assembly-type.h"
74 enum class Type { enum
98 static constexpr char GetTypeAsChar(Type t) in GetTypeAsChar()
100 char type = '0'; in GetTypeAsChar() local
102 case Type::U1: in GetTypeAsChar()
103 type = '1'; in GetTypeAsChar()
105 case Type::I8: in GetTypeAsChar()
106 type = '2'; in GetTypeAsChar()
108 case Type::U8: in GetTypeAsChar()
109 type = '3'; in GetTypeAsChar()
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/
DglobalTypesHolder.h19 #include "checker/types/type.h"
152 Type *GlobalNumberType();
153 Type *GlobalAnyType();
154 Type *GlobalStringType();
155 Type *GlobalBooleanType();
156 Type *GlobalVoidType();
157 Type *GlobalNullType();
158 Type *GlobalUndefinedType();
159 Type *GlobalUnknownType();
160 Type *GlobalNeverType();
[all …]
/arkcompiler/runtime_core/assembler/tests/
Dannotation_test.cpp35 * @tc.type: FUNC
40 ScalarValue insn_order(ScalarValue::Create<panda::pandasm::Value::Type::I32>(1));
44 ArrayValue array_value(panda::pandasm::Value::Type::I32, elements);
57 ScalarValue insn_order1(ScalarValue::Create<panda::pandasm::Value::Type::U1>(1U));
59 ArrayValue array_value_U1(panda::pandasm::Value::Type::U1, elements);
68 * @tc.type: FUNC
73 char type = '1'; variable
74 char type_u1 = Value::GetTypeAsChar(panda::pandasm::Value::Type::U1);
75 EXPECT_EQ(type_u1, type);
77 type = '2';
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dtest-schema.json2 "type": "object", string
11 "type": "string" string
14 "type": "boolean" string
17 "type": "boolean" string
20 "type": "object", string
28 "type": "string" string
31 "type": "string" string
34 "type": "array", string
36 "type": "string" string
40 "type": "array", string
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dtest-schema.json2 "type": "object", string
11 "type": "string" string
14 "type": "boolean" string
17 "type": "boolean" string
20 "type": "object", string
28 "type": "string" string
31 "type": "string" string
34 "type": "array", string
36 "type": "string" string
40 "type": "array", string
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/29.assignment/02.compound_assignment_operators/
Dops.params.yaml16 - { type: byte, v: 127, op: '+', q: 1 }
17 - { type: byte, v: 127, op: '+', q: 127 }
18 - { type: byte, v: -128, op: '+', q: -1 }
20 - { type: short, v: 32767, op: '+', q: 1 }
21 - { type: short, v: 32767, op: '+', q: 32767 }
22 - { type: short, v: -32768, op: '+', q: -1 }
24 - { type: int, v: 2147483647, op: '+', q: 1 }
25 - { type: int, v: 2147483647, op: '+', q: 2147483647 }
26 - { type: int, v: -2147483648, op: '+', q: -1 }
28 - { type: long, v: 9223372036854775807, op: '+', q: 1 }
[all …]
Dops_boxed.params.yaml16 - { type: Byte, v: 127, op: '+', q: 1 }
17 - { type: Byte, v: 127, op: '+', q: 127 }
18 - { type: Byte, v: -128, op: '+', q: -1 }
20 - { type: Short, v: 32767, op: '+', q: 1 }
21 - { type: Short, v: 32767, op: '+', q: 32767 }
22 - { type: Short, v: -32768, op: '+', q: -1 }
24 - { type: Int, v: 2147483647, op: '+', q: 1 }
25 - { type: Int, v: 2147483647, op: '+', q: 2147483647 }
26 - { type: Int, v: -2147483648, op: '+', q: -1 }
28 - { type: Long, v: 9223372036854775807, op: '+', q: 1 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/10.compatibility_features/01.extended_conditional_expressions/
Dcond_t2.params.yaml16 - { val: '0x80 as byte', type: 'byte' }
17 - { val: '0x8000 as short', type: 'short' }
18 - { val: '0x80000000', type: 'int' }
19 - { val: '0x8000000000000000 as long', type: 'long' }
20 - { val: '0.000001', type: 'float' }
21 - { val: '0.0000000001', type: 'double' }
22 - { val: '0.000001', type: 'float' }
24 - { val: 'Byte.MIN_VALUE as byte', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE as byte', type: 'byte' }
27 - { val: 'Short.MIN_VALUE as short', type: 'short' }
[all …]
Dif_t2.params.yaml16 - { val: '0x80 as byte', type: 'byte' }
17 - { val: '0x8000 as short', type: 'short' }
18 - { val: '0x80000000', type: 'int' }
19 - { val: '0x8000000000000000 as long', type: 'long' }
20 - { val: '0.000001', type: 'float' }
21 - { val: '0.0000000001', type: 'double' }
22 - { val: '0.000001', type: 'float' }
24 - { val: 'Byte.MIN_VALUE as byte', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE as byte', type: 'byte' }
27 - { val: 'Short.MIN_VALUE as short', type: 'short' }
[all …]
Dwhile_t.params.yaml16 - { val: '0x80 as byte', type: 'byte' }
17 - { val: '0x8000 as short', type: 'short' }
18 - { val: '0x80000000', type: 'int' }
19 - { val: '0x8000000000000000 as long', type: 'long' }
20 - { val: '0.000001', type: 'float' }
21 - { val: '0.0000000001', type: 'double' }
22 - { val: '0.000001', type: 'float' }
24 - { val: 'Byte.MIN_VALUE as byte', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE as byte', type: 'byte' }
27 - { val: 'Short.MIN_VALUE as short', type: 'short' }
[all …]
Dfor_t.params.yaml16 - { val: '0x80 as byte', type: 'byte' }
17 - { val: '0x8000 as short', type: 'short' }
18 - { val: '0x80000000', type: 'int' }
19 - { val: '0x8000000000000000 as long', type: 'long' }
20 - { val: '0.000001', type: 'float' }
21 - { val: '0.0000000001', type: 'double' }
22 - { val: '0.000001', type: 'float' }
24 - { val: 'Byte.MIN_VALUE as byte', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE as byte', type: 'byte' }
27 - { val: 'Short.MIN_VALUE as short', type: 'short' }
[all …]
Ddo_t.params.yaml16 - { val: '0x80 as byte', type: 'byte' }
17 - { val: '0x8000 as short', type: 'short' }
18 - { val: '0x80000000', type: 'int' }
19 - { val: '0x8000000000000000 as long', type: 'long' }
20 - { val: '0.000001', type: 'float' }
21 - { val: '0.0000000001', type: 'double' }
22 - { val: '0.000001', type: 'float' }
24 - { val: 'Byte.MIN_VALUE as byte', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE as byte', type: 'byte' }
27 - { val: 'Short.MIN_VALUE as short', type: 'short' }
[all …]
Dfor_f.params.yaml16 - { val: 'null', type: 'Object|null' }
17 - { val: 'undefined', type: 'Object|undefined' }
19 - { val: '0', type: 'int' }
20 - { val: '0', type: 'byte' }
21 - { val: '0', type: 'short' }
22 - { val: '0', type: 'long' }
23 - { val: '0', type: 'float' }
24 - { val: '0', type: 'double' }
25 - { val: 'Float.NaN', type: 'float' }
26 - { val: 'Double.NaN', type: 'double' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/17.typeof_expression/
Dtof_func.params.yaml18 - { type: number, expr: Number.MIN_VALUE as number }
19 - { type: number, expr: Number.MAX_VALUE as number }
20 - { type: Number, expr: new Number(Number.MIN_VALUE as number) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE as number) }
25 - { type: byte, expr: Byte.MIN_VALUE as byte }
26 - { type: byte, expr: Byte.MAX_VALUE as byte }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE as byte) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE as byte) }
29 - { type: short, expr: Short.MIN_VALUE as short }
30 - { type: short, expr: Short.MAX_VALUE as short }
[all …]
Dtof_meth.params.yaml18 - { type: number, expr: Number.MIN_VALUE as number }
19 - { type: number, expr: Number.MAX_VALUE as number }
20 - { type: Number, expr: new Number(Number.MIN_VALUE as number) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE as number) }
25 - { type: byte, expr: Byte.MIN_VALUE as byte }
26 - { type: byte, expr: Byte.MAX_VALUE as byte }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE as byte) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE as byte) }
29 - { type: short, expr: Short.MIN_VALUE as short }
30 - { type: short, expr: Short.MAX_VALUE as short }
[all …]
Dtof_obj.params.yaml18 - { type: number, expr: Number.MIN_VALUE as number }
19 - { type: number, expr: Number.MAX_VALUE as number }
20 - { type: Number, expr: new Number(Number.MIN_VALUE as number) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE as number) }
25 - { type: byte, expr: Byte.MIN_VALUE as byte }
26 - { type: byte, expr: Byte.MAX_VALUE as byte }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE as byte) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE as byte) }
29 - { type: short, expr: Short.MIN_VALUE as short }
30 - { type: short, expr: Short.MAX_VALUE as short }
[all …]
Dtof_vars.params.yaml18 - { type: number, expr: Number.MIN_VALUE as number }
19 - { type: number, expr: Number.MAX_VALUE as number }
20 - { type: Number, expr: new Number(Number.MIN_VALUE as number) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE as number) }
25 - { type: byte, expr: Byte.MIN_VALUE as byte }
26 - { type: byte, expr: Byte.MAX_VALUE as byte }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE as byte) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE as byte) }
29 - { type: short, expr: Short.MIN_VALUE as short }
30 - { type: short, expr: Short.MAX_VALUE as short }
[all …]
Dtof_const.params.yaml18 - { type: number, expr: Number.MIN_VALUE as number }
19 - { type: number, expr: Number.MAX_VALUE as number }
20 - { type: Number, expr: new Number(Number.MIN_VALUE as number) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE as number) }
25 - { type: byte, expr: Byte.MIN_VALUE as byte }
26 - { type: byte, expr: Byte.MAX_VALUE as byte }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE as byte) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE as byte) }
29 - { type: short, expr: Short.MIN_VALUE as short }
30 - { type: short, expr: Short.MAX_VALUE as short }
[all …]
/arkcompiler/runtime_core/libpandafile/templates/
Dtype.h.erb23 class Type {
26 % PandaFile::types.each do |type|
27 <%= type.name.upcase %> = 0x<%= type.code.to_s(16) %>,
45 constexpr explicit Type(TypeId id) : type_(id) {}
61 % PandaFile::types.each do |type|
62 case TypeId::<%= type.name.upcase %>:
63 return <%= type.properties.include? "signed" %>;
72 % PandaFile::types.each do |type|
73 case TypeId::<%= type.name.upcase %>: {
74 constexpr size_t BITWIDTH = <%= type.width ? type.width : 0 %>;
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/templates/
Dtype.h.erb25 class Type {
28 % PandaFile::types.each do |type|
29 <%= type.name.upcase %> = 0x<%= type.code.to_s(16) %>,
47 constexpr explicit Type(TypeId id) : type_(id) {}
67 % PandaFile::types.each do |type|
68 case TypeId::<%= type.name.upcase %>:
69 return <%= type.properties.include? "signed" %>;
78 % PandaFile::types.each do |type|
79 case TypeId::<%= type.name.upcase %>: {
80 constexpr size_t BITWIDTH = <%= type.width ? type.width : 0 %>;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/12.nullish_types/
Dreference_nullable_types.params.yaml17 - {type: "Byte|null", value: "5"}
18 - {type: "Byte|null", value: "null"}
19 - {type: "Short|null", value: "5"}
20 - {type: "Short|null", value: "null"}
21 - {type: "Int|null", value: "5"}
22 - {type: "Int|null", value: "null"}
23 - {type: "Long|null", value: "5 as long"}
24 - {type: "Long|null", value: "null"}
25 - {type: "Float|null", value: "5.0"}
26 - {type: "Float|null", value: "null"}
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h109 using StringLiteralPool = std::unordered_map<util::StringView, Type *>;
110 using NumberLiteralPool = std::unordered_map<double, Type *>;
113 using TypeOrNode = std::variant<Type *, const ir::AstNode *>;
114 using IndexInfoTypePair = std::pair<Type *, Type *>;
140 Type *GlobalNumberType() in GlobalNumberType()
145 Type *GlobalAnyType() in GlobalAnyType()
150 Type *GlobalStringType() in GlobalStringType()
155 Type *GlobalSymbolType() in GlobalSymbolType()
160 Type *GlobalBooleanType() in GlobalBooleanType()
165 Type *GlobalVoidType() in GlobalVoidType()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/events/
Devents.yaml16 …s - data fields that will be stored within event. The type of each field should be a real C++ type
30 type: std::string
32 type: size_t
34 type: enum
37 type: enum
43 type: std::string
45 type: std::string
47 type: int
49 type: enum
52 type: enum
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/
DTSchecker.h110 Type *leftType;
111 Type *rightType;
126 Type *GlobalNumberType() in GlobalNumberType()
131 Type *GlobalAnyType() in GlobalAnyType()
136 Type *GlobalStringType() in GlobalStringType()
141 Type *GlobalBooleanType() in GlobalBooleanType()
146 Type *GlobalVoidType() in GlobalVoidType()
151 Type *GlobalNullType() in GlobalNullType()
156 Type *GlobalUndefinedType() in GlobalUndefinedType()
161 Type *GlobalUnknownType() in GlobalUnknownType()
[all …]

12345678910>>...220