| /arkcompiler/runtime_core/static_core/assembler/ |
| D | annotation.h | 28 #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/ |
| D | annotation.h | 27 #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/ |
| D | lambda-type-inference-no-ret-type-expected.txt | 2 "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 …]
|
| D | lambda-type-inference-arg-no-type-expected.txt | 2 "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/ |
| D | annotation_test.cpp | 35 * @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/ |
| D | test-schema.json | 2 "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/ |
| D | test-schema.json | 2 "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/ |
| D | TypeUtils.ts | 16 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/ |
| D | e2p_test_plugin_after_bind-expected.txt | 2 "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 …]
|
| D | e2p_test_plugin_is-expected.txt | 7 "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/ |
| D | globalTypesHolder.h | 20 #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/ |
| D | test-type-annotation-expected.txt | 2 "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 …]
|
| D | test-ts-type-predicate-expected.txt | 2 "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 …]
|
| D | test-tuple-type-expected.txt | 2 "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/ |
| D | functions.ets.json | 123 "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/ |
| D | ops.params.yaml | 16 - { 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 …]
|
| D | ops_boxed.params.yaml | 16 - { 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/ |
| D | test-type-literal-expected.txt | 2 "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/ |
| D | if_t2.params.yaml | 16 - { 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 …]
|
| D | do_t.params.yaml | 16 - { 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 …]
|
| D | for_t.params.yaml | 16 - { 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 …]
|
| D | cond_t2.params.yaml | 16 - { 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 …]
|
| D | while_t.params.yaml | 16 - { 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/ |
| D | hisysevent.yaml | 17 __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/ |
| D | tof_vars.params.yaml | 18 - { 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 …]
|