Home
last modified time | relevance | path

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

12345678910>>...274

/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/
Dannotation.h27 #include "assembly-type.h"
85 enum class Type { enum
110 static constexpr char GetTypeAsChar(Type t) in GetTypeAsChar()
112 char type = '0'; in GetTypeAsChar() local
114 case Type::U1: in GetTypeAsChar()
115 type = '1'; in GetTypeAsChar()
117 case Type::I8: in GetTypeAsChar()
118 type = '2'; in GetTypeAsChar()
120 case Type::U8: in GetTypeAsChar()
121 type = '3'; in GetTypeAsChar()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dlambda-type-inference-no-ret-type-expected.txt2 "type": "Program",
5 "type": "ClassDeclaration",
8 "type": "Identifier",
15 "program": "lambda-type-inference-no-ret-type.ets"
20 "program": "lambda-type-inference-no-ret-type.ets"
28 "type": "MethodDefinition",
30 "type": "Identifier",
52 "type": "FunctionExpression",
54 "type": "ScriptFunction",
56 "type": "Identifier",
[all …]
Dlambda-type-inference-arg-no-type-expected.txt2 "type": "Program",
5 "type": "ClassDeclaration",
8 "type": "Identifier",
15 "program": "lambda-type-inference-arg-no-type.ets"
20 "program": "lambda-type-inference-arg-no-type.ets"
28 "type": "MethodDefinition",
30 "type": "Identifier",
52 "type": "FunctionExpression",
54 "type": "ScriptFunction",
56 "type": "Identifier",
[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/linter/homecheck/src/utils/checker/
DTypeUtils.ts16 import { AliasType, ArrayType, ClassType, FunctionType, GenericType, TupleType, Type, UnclearRefere…
22 * @param type 被检查类型
25 export function isAppointType(appointType: Type, type: Type): boolean {
27 if (appointType.getTypeString() === type.getTypeString()) {
31 if (type instanceof ArrayType) {
32 return isAppointType(appointType, type.getBaseType());
35 if (type instanceof UnclearReferenceType) {
36 return generic(appointType, type.getGenericTypes());
39 if (type instanceof UnionType) {
40 return generic(appointType, type.getTypes());
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
De2p_test_plugin_after_bind-expected.txt2 "type": "Program",
5 "type": "ClassDeclaration",
8 "type": "Identifier",
16 "type": "MethodDefinition",
18 "type": "Identifier",
28 "type": "FunctionExpression",
30 "type": "ScriptFunction",
32 "type": "Identifier",
41 "type": "BlockStatement",
44 "type": "ExpressionStatement",
[all …]
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/checker/types/
DglobalTypesHolder.h20 #include "checker/types/type.h"
233 Type *GlobalNumberType();
234 Type *GlobalAnyType();
235 Type *GlobalStringType();
236 Type *GlobalBooleanType();
237 Type *GlobalVoidType();
238 Type *GlobalNullType();
239 Type *GlobalUndefinedType();
240 Type *GlobalUnknownType();
241 Type *GlobalNeverType();
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-type-annotation-expected.txt2 "type": "Program",
5 "type": "VariableDeclaration",
8 "type": "VariableDeclarator",
10 "type": "Identifier",
13 "type": "TSNumberKeyword",
18 "program": "test-type-annotation.ts"
23 "program": "test-type-annotation.ts"
32 "program": "test-type-annotation.ts"
37 "program": "test-type-annotation.ts"
46 "program": "test-type-annotation.ts"
[all …]
Dtest-ts-type-predicate-expected.txt2 "type": "Program",
5 "type": "FunctionDeclaration",
7 "type": "ScriptFunction",
9 "type": "Identifier",
16 "program": "test-ts-type-predicate.ts"
21 "program": "test-ts-type-predicate.ts"
30 "type": "Identifier",
33 "type": "TSUnionType",
36 "type": "TSNumberKeyword",
41 "program": "test-ts-type-predicate.ts"
[all …]
Dtest-tuple-type-expected.txt2 "type": "Program",
5 "type": "VariableDeclaration",
8 "type": "VariableDeclarator",
10 "type": "Identifier",
13 "type": "TSTupleType",
16 "type": "TSNamedTupleMember",
18 "type": "TSNumberKeyword",
23 "program": "test-tuple-type.ts"
28 "program": "test-tuple-type.ts"
33 "type": "Identifier",
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dfunctions.ets.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 …]
/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/ets_frontend/ets2panda/test/compiler/ts/
Dtest-type-literal-expected.txt2 "type": "Program",
5 "type": "VariableDeclaration",
8 "type": "VariableDeclarator",
10 "type": "Identifier",
13 "type": "TSTypeLiteral",
16 "type": "TSConstructSignatureDeclaration",
19 "type": "Identifier",
22 "type": "TSNumberKeyword",
27 "program": "test-type-literal.ts"
32 "program": "test-type-literal.ts"
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/10.compatibility_features/01.extended_conditional_expressions/
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 …]
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 …]
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 …]
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 …]
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 …]
/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 …]

12345678910>>...274