Home
last modified time | relevance | path

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

12345678910>>...211

/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"
126 Type *GlobalNumberType();
127 Type *GlobalAnyType();
128 Type *GlobalStringType();
129 Type *GlobalBooleanType();
130 Type *GlobalVoidType();
131 Type *GlobalBuiltinVoidType();
132 Type *GlobalNullType();
133 Type *GlobalUndefinedType();
134 Type *GlobalUnknownType();
[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/28.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/tools/declgen_ts2ets/templates/
Dmodel.template.d.ts17 type Generic<T> = T;
18 type Undef = JSValue;
19 type Any = JSValue;
20 type Union = number | Any | string;
21 type UnionWithNull = number | null | Any | string;
22 type Nullable1 = null | string;
23 type Nullable2 = string | null;
24 type StringLitType = "ease-in" | "ease-out" | "ease-in-out";
26 static field1: TYPE;
28 let GLOB: TYPE;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/05.compatibility_features/01.extended_conditional_expressions/
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_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 …]
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 …]
/arkcompiler/ets_frontend/ets2panda/checker/
DTSchecker.h113 Type *GlobalNumberType() in GlobalNumberType()
118 Type *GlobalAnyType() in GlobalAnyType()
123 Type *GlobalStringType() in GlobalStringType()
128 Type *GlobalBooleanType() in GlobalBooleanType()
133 Type *GlobalVoidType() in GlobalVoidType()
138 Type *GlobalNullType() in GlobalNullType()
143 Type *GlobalUndefinedType() in GlobalUndefinedType()
148 Type *GlobalUnknownType() in GlobalUnknownType()
153 Type *GlobalNeverType() in GlobalNeverType()
158 Type *GlobalNonPrimitiveType() in GlobalNonPrimitiveType()
[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/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/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/runtime_core/static_core/compiler/optimizer/ir/
Ddatatype.h26 * Type of the param/instruction
30 enum Type : uint8_t { enum
64 inline constexpr std::array<const char *, Type::LAST + 1> TYPE_NAMES = {
84 inline const char *ToString(Type type) in ToString() argument
86 ASSERT(type <= Type::LAST); in ToString()
87 return internal::TYPE_NAMES[type]; in ToString()
90 inline std::ostream &operator<<(std::ostream &os, const DataType::Type &type)
92 os << ToString(type);
96 constexpr inline Type GetCommonType(Type type) in GetCommonType() argument
98 switch (type) { in GetCommonType()
[all …]
/arkcompiler/runtime_core/compiler/
Dcompiler.yaml20 type: bool
26 type: std::string
32 type: bool
42 type: bool
46 type: bool
50 type: bool
54 type: std::string
58 type: bool
62 type: bool
71 type: bool
[all …]
/arkcompiler/runtime_core/static_core/compiler/
Dcompiler.yaml20 type: bool
26 type: std::string
32 type: bool
42 type: bool
46 type: bool
50 type: bool
54 type: std::string
58 type: bool
62 type: bool
66 type: bool
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddatatype.h25 * Type of the param/instruction
29 enum Type : uint8_t { enum
63 inline constexpr std::array<const char *, Type::LAST + 1> TYPE_NAMES = {
83 inline const char *ToString(Type type) in ToString() argument
85 ASSERT(type <= Type::LAST); in ToString()
86 return internal::TYPE_NAMES[type]; in ToString()
89 constexpr inline Type GetCommonType(Type type) in GetCommonType() argument
91 switch (type) { in GetCommonType()
92 case Type::BOOL: in GetCommonType()
93 case Type::UINT8: in GetCommonType()
[all …]
/arkcompiler/runtime_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_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/
Dlmir_builder.h62 // Our type abstraction. currently delegate to MIR
69 // Note: Type is base class of all other Types
70 using Type = MIRType; // base class of all Types variable
80 using Param = std::pair<const String, Type *>;
97 Expr(BaseNode *baseNode, Type *nodeType) : node(baseNode), type(nodeType) {} in Expr()
99 Expr() : node(nullptr), type(nullptr) {} in Expr()
113 Type *GetType() in GetType()
115 return type; in GetType()
118 Type *GetType() const in GetType()
120 return type; in GetType()
[all …]

12345678910>>...211