Home
last modified time | relevance | path

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

12345678910>>...190

/arkcompiler/runtime_core/assembler/
Dannotation.h27 #include "assembly-type.h"
78 enum class Type { enum
103 static constexpr char GetTypeAsChar(Type t) in GetTypeAsChar()
105 char type = '0'; in GetTypeAsChar() local
107 case Type::U1: in GetTypeAsChar()
108 type = '1'; in GetTypeAsChar()
110 case Type::I8: in GetTypeAsChar()
111 type = '2'; in GetTypeAsChar()
113 case Type::U8: in GetTypeAsChar()
114 type = '3'; in GetTypeAsChar()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dannotation.h28 #include "assembly-type.h"
75 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/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/ets_frontend/ets2panda/checker/types/
DglobalTypesHolder.h20 #include "checker/types/type.h"
193 Type *GlobalNumberType();
194 Type *GlobalAnyType();
195 Type *GlobalStringType();
196 Type *GlobalBooleanType();
197 Type *GlobalVoidType();
198 Type *GlobalNullType();
199 Type *GlobalUndefinedType();
200 Type *GlobalUnknownType();
201 Type *GlobalNeverType();
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
De2p_test_plugin_is-expected.txt7 "type": "Identifier",
14 "type": "Identifier",
21 "type": "ETSTypeReference",
23 "type": "ETSTypeReferencePart",
25 "type": "Identifier",
34 "type": "ETSTypeReferencePart",
36 "type": "Identifier",
44 "type": "Identifier",
51 "type": "Identifier",
58 "type": "ETSPrimitiveType"
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dfunctions.ts.json123 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
124 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
133 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
134 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
143 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
144 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
153 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
154 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
163 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
164 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
[all …]
Dundefined_check_calls.ts.json23 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
24 … "rule": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
33 …"suggest": "Argument of type 'string | undefined' is not assignable to parameter of type 'Resource…
34 …"rule": "Argument of type 'string | undefined' is not assignable to parameter of type 'ResourceStr…
43 "suggest": "Type 'undefined' is not assignable to type 'Object'.",
44 "rule": "Type 'undefined' is not assignable to type 'Object'.",
53 "suggest": "Type 'undefined' is not assignable to type 'Object'.",
54 "rule": "Type 'undefined' is not assignable to type 'Object'.",
63 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
64 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
[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/
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', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE', type: 'byte' }
27 - { val: 'Short.MIN_VALUE', 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', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE', type: 'byte' }
27 - { val: 'Short.MIN_VALUE', 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', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE', type: 'byte' }
27 - { val: 'Short.MIN_VALUE', type: 'short' }
[all …]
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', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE', type: 'byte' }
27 - { val: 'Short.MIN_VALUE', 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', type: 'byte' }
25 - { val: 'Byte.MAX_VALUE', type: 'byte' }
27 - { val: 'Short.MIN_VALUE', type: 'short' }
[all …]
/arkcompiler/ets_runtime/
Dhisysevent.yaml17 __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME GC KEY STATS, preserve: true}
18 BUNDLE_NAME: {type: STRING, desc: application bundle name}
19 PID: {type: INT32, desc: pid}
20 TID: {type: INT32, desc: tid}
21 GC_TOTAL_COUNT: {type: INT32, desc: Number of GC times in the statistical interval}
22 GC_TOTAL_TIME: {type: INT32, desc: Sum of GC total_time in the current statistical interval}
23 GC_MARK_TIME: {type: INT32, desc: Sum of mark_time of GC in the current statistical interval}
24 …GC_EVACUATE_TIME: {type: INT32, desc: Sum of evacuate_time of GC in the current statistical interv…
25 GC_LONG_TIME: {type: INT32, desc: Number of long time GCs in the statistical interval}
26 …GC_TOTAL_MEM_USED: {type: INT32, desc: Total memory used after GC in the current statistical inter…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/17.typeof_expression/
Dtof_vars.params.yaml18 - { type: number, expr: Number.MIN_VALUE }
19 - { type: number, expr: Number.MAX_VALUE }
20 - { type: Number, expr: new Number(Number.MIN_VALUE) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE) }
25 - { type: byte, expr: Byte.MIN_VALUE }
26 - { type: byte, expr: Byte.MAX_VALUE }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE) }
29 - { type: short, expr: Short.MIN_VALUE }
30 - { type: short, expr: Short.MAX_VALUE }
[all …]
Dtof_func.params.yaml18 - { type: number, expr: Number.MIN_VALUE }
19 - { type: number, expr: Number.MAX_VALUE }
20 - { type: Number, expr: new Number(Number.MIN_VALUE) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE) }
25 - { type: byte, expr: Byte.MIN_VALUE }
26 - { type: byte, expr: Byte.MAX_VALUE }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE) }
29 - { type: short, expr: Short.MIN_VALUE }
30 - { type: short, expr: Short.MAX_VALUE }
[all …]
Dtof_meth.params.yaml18 - { type: number, expr: Number.MIN_VALUE }
19 - { type: number, expr: Number.MAX_VALUE }
20 - { type: Number, expr: new Number(Number.MIN_VALUE) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE) }
25 - { type: byte, expr: Byte.MIN_VALUE }
26 - { type: byte, expr: Byte.MAX_VALUE }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE) }
29 - { type: short, expr: Short.MIN_VALUE }
30 - { type: short, expr: Short.MAX_VALUE }
[all …]
Dtof_const.params.yaml18 - { type: number, expr: Number.MIN_VALUE }
19 - { type: number, expr: Number.MAX_VALUE }
20 - { type: Number, expr: new Number(Number.MIN_VALUE) }
21 - { type: Number, expr: new Number(Number.MAX_VALUE) }
25 - { type: byte, expr: Byte.MIN_VALUE }
26 - { type: byte, expr: Byte.MAX_VALUE }
27 - { type: Byte, expr: new Byte(Byte.MIN_VALUE) }
28 - { type: Byte, expr: new Byte(Byte.MAX_VALUE) }
29 - { type: short, expr: Short.MIN_VALUE }
30 - { type: short, expr: Short.MAX_VALUE }
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/
Dtsconfig-sdk.json209 "type": "AbilityComponentAttribute", string
214 "type": "AlphabetIndexerAttribute", string
219 "type": "AnimatorAttribute", string
224 "type": "BadgeAttribute", string
229 "type": "BlankAttribute", string
234 "type": "ButtonAttribute", string
239 "type": "CalendarAttribute", string
244 "type": "CalendarPickerAttribute", string
249 "type": "CameraAttribute", string
254 "type": "CanvasAttribute", string
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/13.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/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/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 …]

12345678910>>...190