| /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 …]
|
| D | yaml-schema.json | 2 "type": "object", string 8 "type": "array", string 10 "type": "object", string 15 "type": "string" string 18 "type": "string" string 25 "type": "array", string 31 "type": "object", string 36 "type": "string" string
|
| /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 …]
|
| D | yaml-schema.json | 2 "type": "object", string 8 "type": "array", string 10 "type": "object", string 15 "type": "string" string 18 "type": "string" string 25 "type": "array", string 31 "type": "object", string 36 "type": "string" string
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | frame_handler.h | 64 FrameType type = GetFrameType(); in IsEntryFrame() local 81 FrameType type = GetFrameType(); in IsInterpretedFrame() local 85 bool IsInterpretedFrame(FrameType type) const in IsInterpretedFrame() 92 FrameType type = GetFrameType(); in IsJSFrame() local 98 FrameType type = GetFrameType(); in IsOptimizedJSFunctionFrame() local 103 bool IsJSFrame(FrameType type) const in IsJSFrame() 108 bool IsOptimizedJSFunctionFrame(FrameType type) const in IsOptimizedJSFunctionFrame() 114 bool IsFastJitFunctionFrame(FrameType type) const in IsFastJitFunctionFrame() 123 FrameType type = it.GetFrameType(); in IsAsmInterpretedFrame() local 128 bool IsAsmInterpretedFrame(FrameType type) const in IsAsmInterpretedFrame() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | datatype.h | 83 inline const char *ToString(Type type) in ToString() 89 constexpr inline Type GetCommonType(Type type) in GetCommonType() 107 inline bool IsInt32Bit(Type type) in IsInt32Bit() 123 inline bool IsTypeNumeric(Type type) in IsTypeNumeric() 144 inline bool IsLessInt32(Type type) in IsLessInt32() 196 inline bool Is32Bits(Type type, Arch arch) in Is32Bits() 217 inline bool Is64Bits(Type type, Arch arch) in Is64Bits() 222 inline bool IsFloatType(Type type) in IsFloatType() 233 inline bool IsTypeSigned(Type type) in IsTypeSigned() 248 inline bool IsReference(Type type) in IsReference() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | typed.h | 77 explicit Typed(AstNodeType const type) : T(type) {} in Typed() 78 explicit Typed(AstNodeType const type, ModifierFlags const flags) : T(type, flags) {} in Typed() 96 explicit TypedAstNode(AstNodeType const type) : Typed<AstNode>(type) {} in TypedAstNode() 97 …explicit TypedAstNode(AstNodeType const type, ModifierFlags const flags) : Typed<AstNode>(type, fl… in TypedAstNode() 111 explicit AnnotatedAstNode(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedAstNode() 115 explicit AnnotatedAstNode(AstNodeType const type) : Annotated<AstNode>(type) {} in AnnotatedAstNode() 116 …explicit AnnotatedAstNode(AstNodeType const type, ModifierFlags const flags) : Annotated<AstNode>(… in AnnotatedAstNode() 132 explicit TypedStatement(AstNodeType type) : Typed<Statement>(type) {}; in TypedStatement() 133 … explicit TypedStatement(AstNodeType type, ModifierFlags flags) : Typed<Statement>(type, flags) {}; in TypedStatement() 149 …explicit AnnotatedStatement(AstNodeType type, TypeNode *typeAnnotation) : Annotated<Statement>(typ… in AnnotatedStatement() [all …]
|
| D | expression.h | 102 explicit Expression(AstNodeType const type) : TypedAstNode(type) {} in Expression() 103 …explicit Expression(AstNodeType const type, ModifierFlags const flags) : TypedAstNode(type, flags)… in Expression() 128 explicit AnnotatedExpression(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedExpression() 132 explicit AnnotatedExpression(AstNodeType const type) : Annotated<Expression>(type) {} in AnnotatedExpression() 156 …explicit MaybeOptionalExpression(AstNodeType type, bool optional) : Expression(type), optional_(op… in MaybeOptionalExpression() 157 explicit MaybeOptionalExpression(AstNodeType type, ModifierFlags flags, bool optional) in MaybeOptionalExpression()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | datatype.h | 84 inline const char *ToString(Type type) in ToString() 96 constexpr inline Type GetCommonType(Type type) in GetCommonType() 117 inline bool IsInt32Bit(Type type) in IsInt32Bit() 133 inline bool IsTypeNumeric(Type type) in IsTypeNumeric() 154 inline bool IsLessInt32(Type type) in IsLessInt32() 206 inline bool Is32Bits(Type type, Arch arch) in Is32Bits() 227 inline bool Is64Bits(Type type, Arch arch) in Is64Bits() 232 inline bool IsFloatType(Type type) in IsFloatType() 243 inline bool IsTypeSigned(Type type) in IsTypeSigned() 258 inline bool IsReference(Type type) in IsReference() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/templates/ |
| D | intrinsics.rb | 18 def get_shorty_type(type) argument 40 def primitive_type?(type) argument 62 def get_primitive_descriptor(type) argument 83 def object_type?(type) argument 87 def get_object_descriptor(type) argument 94 def floating_point_type?(type) argument
|
| D | runtime.rb | 16 def array_type?(type) argument 20 def get_object_type(type) argument 31 def get_type(type) argument 55 def get_ret_type(type) argument 78 def get_effective_type(type) argument 82 def get_ret_effective_type(type) argument
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | token.cpp | 123 bool Token::IsBinaryToken(TokenType type) in IsBinaryToken() 128 bool Token::IsBinaryLvalueToken(TokenType type) in IsBinaryLvalueToken() 133 bool Token::IsUpdateToken(TokenType type) in IsUpdateToken() 138 bool Token::IsPunctuatorToken(TokenType type) in IsPunctuatorToken() 143 bool Token::IsTsParamToken(TokenType type) in IsTsParamToken() 148 const char *TokenToString(TokenType type) // NOLINT(readability-function-size) in TokenToString()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | concurrent_sweeper.cpp | 22 ConcurrentSweeper::ConcurrentSweeper(Heap *heap, EnableConcurrentSweepType type) in ConcurrentSweeper() 55 for (int type = startSpaceType_; type < FREE_LIST_NUM; type++) { in Sweep() local 69 void ConcurrentSweeper::AsyncSweepSpace(MemSpaceType type, bool isMain) in AsyncSweepSpace() 109 void ConcurrentSweeper::EnsureTaskFinished(MemSpaceType type) in EnsureTaskFinished() 115 void ConcurrentSweeper::EnsureTaskFinishedNoCheck(MemSpaceType type) in EnsureTaskFinishedNoCheck() 123 void ConcurrentSweeper::WaitingTaskFinish(MemSpaceType type) in WaitingTaskFinish() 165 … auto type = static_cast<MemSpaceType>(((i + type_) % sweepTypeNum) + sweeper_->startSpaceType_); in Run() local 171 void ConcurrentSweeper::EnableConcurrentSweep(EnableConcurrentSweepType type) in EnableConcurrentSweep()
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | token.cpp | 123 bool Token::IsBinaryToken(TokenType type) in IsBinaryToken() 128 bool Token::IsBinaryLvalueToken(TokenType type) in IsBinaryLvalueToken() 133 bool Token::IsUpdateToken(TokenType type) in IsUpdateToken() 138 bool Token::IsPunctuatorToken(TokenType type) in IsPunctuatorToken() 143 bool Token::IsTsParamToken(TokenType type, char32_t nextChar) in IsTsParamToken() 149 const char *TokenToString(TokenType type) in TokenToString()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | escompat_Atomics.cpp | 35 #define SHARED_MEMORY_AT(type, postfix) \ argument 41 #define SHARED_MEMORY_SET(type, postfix) \ argument 47 #define SHARED_MEMORY_ADD(type, postfix) \ argument 55 #define SHARED_MEMORY_AND_SIGNED(type, postfix) \ argument 65 #define SHARED_MEMORY_AND_UNSIGNED(type, postfix) … argument 73 #define SHARED_MEMORY_COMPARE_EXCHANGE(type, postfix) … argument 84 #define SHARED_MEMORY_EXCHANGE(type, postfix) \ argument 92 #define SHARED_MEMORY_LOAD(type, postfix) \ argument 100 #define SHARED_MEMORY_OR_SIGNED(type, postfix) \ argument 110 #define SHARED_MEMORY_OR_UNSIGNED(type, postfix) … argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | type.h | 64 explicit ParamType(uint32_t type = 0) : type_(type) {} in type_() argument 71 #define DEFINE_TYPE_CONSTRUCTOR(type, name) \ argument 78 #define DEFINE_JUDGE_METHOD(type, name) \ in PARAM_TYPE_LIST() argument 117 #define DECLARE_TYPE(type, name) type, argument 232 uint32_t type = GetType(); in IsAnyType() local 238 uint32_t type = GetType(); in IsNumberType() local 246 uint32_t type = GetType(); in IsIntType() local 252 uint32_t type = GetType(); in IsDoubleType() local 258 uint32_t type = GetType(); in IsStringType() local 264 uint32_t type = GetType(); in IsNullType() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | pt_hook_type_info.h | 34 bool IsEnabled(const PtHookType type) const in IsEnabled() 39 void Enable(const PtHookType type) in Enable() 44 void Disable(const PtHookType type) in Disable() 64 static constexpr size_t ToIndex(const PtHookType type) in ToIndex()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_stub_builder.h | 79 GateRef IsContainer(GateRef obj, ContainersType type) in IsContainer() 115 bool IsReplaceAllElements(ContainersType type) in IsReplaceAllElements() 135 bool IsPlainArray(ContainersType type) in IsPlainArray() 155 bool IsArrayListReplaceAllelements(ContainersType type) in IsArrayListReplaceAllelements() 175 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet() 194 GateRef ContainerGetSize(GateRef obj, ContainersType type) in ContainerGetSize() 254 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue() 298 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey() 316 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ts/ |
| D | object.cpp | 41 void TSChecker::CheckIndexConstraints(Type *type) in CheckIndexConstraints() 83 void TSChecker::ResolveStructuredTypeMembers(Type *type) in ResolveStructuredTypeMembers() 105 void TSChecker::ResolveUnionTypeMembers(UnionType *type) in ResolveUnionTypeMembers() 162 void TSChecker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers() 174 void TSChecker::ResolveObjectTypeMembers(ObjectType *type) in ResolveObjectTypeMembers() 195 void TSChecker::ResolvePropertiesOfObjectType(ObjectType *type, ir::AstNode *member, in ResolvePropertiesOfObjectType() 230 void TSChecker::ResolveSignaturesOfObjectType(ObjectType *type, in ResolveSignaturesOfObjectType() 245 void TSChecker::ResolveIndexInfosOfObjectType(ObjectType *type, ArenaVector<ir::TSIndexSignature *>… in ResolveIndexInfosOfObjectType() 271 varbinder::Variable *TSChecker::GetPropertyOfType(Type *type, const util::StringView &name, bool ge… in GetPropertyOfType() 286 varbinder::Variable *TSChecker::GetPropertyOfUnionType(UnionType *type, const util::StringView &nam… in GetPropertyOfUnionType() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
| D | lmir_builder.cpp | 23 inline Type *GetPrimitiveType(PrimType type) in GetPrimitiveType() 164 auto type = GlobalTables::GetTypeTable().GetOrCreatePointerType(*mirType, PTY_ptr); in CreatePtrType() local 170 auto type = GlobalTables::GetTypeTable().GetOrCreatePointerType(*mirType, PTY_ref); in CreateRefType() local 181 auto type = GlobalTables::GetTypeTable().GetOrCreateArrayType(*elemType, dimSize.size(), in CreateArrayType() local 196 …auto type = GlobalTables::GetTypeTable().GetOrCreateStructType(name, fields, parentFields, module); in CreateStructTypeInternal() local 204 MIRType *type = GlobalTables::GetTypeTable().GetTypeFromTyIdx(typeIdx); in GetStructType() local 208 StructConst &LMIRBuilder::CreateStructConstInternal(StructType *type) in CreateStructConstInternal() 213 ArrayConst &LMIRBuilder::CreateArrayConstInternal(ArrayType *type) in CreateArrayConstInternal() 235 …auto type = GlobalTables::GetTypeTable().GetOrCreateFunctionType(retType->GetTypeIndex(), params, … in CreateFuncType() local 239 Type *LMIRBuilder::LiteCGGetPointedType(Type *type) in LiteCGGetPointedType() [all …]
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | object.cpp | 43 void Checker::CheckIndexConstraints(Type *type) in CheckIndexConstraints() 85 void Checker::ResolveStructuredTypeMembers(Type *type) in ResolveStructuredTypeMembers() 107 void Checker::ResolveUnionTypeMembers(UnionType *type) in ResolveUnionTypeMembers() 166 void Checker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers() 178 void Checker::ResolveObjectTypeMembers(ObjectType *type) in ResolveObjectTypeMembers() 199 void Checker::ResolvePropertiesOfObjectType(ObjectType *type, const ir::Expression *member, in ResolvePropertiesOfObjectType() 235 void Checker::ResolveSignaturesOfObjectType(ObjectType *type, in ResolveSignaturesOfObjectType() 250 void Checker::ResolveIndexInfosOfObjectType(ObjectType *type, in ResolveIndexInfosOfObjectType() 277 binder::Variable *Checker::GetPropertyOfType(Type *type, const util::StringView &name, bool getPart… in GetPropertyOfType() 292 binder::Variable *Checker::GetPropertyOfUnionType(UnionType *type, const util::StringView &name, bo… in GetPropertyOfUnionType() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
| D | pgo_method_type_set.h | 42 void AddType(uint32_t offset, PGOSampleType type) in AddType() 53 void AddCallTargetType(uint32_t offset, PGOSampleType type) in AddCallTargetType() 74 void AddDefine(uint32_t offset, PGODefineOpType type) in AddDefine() 91 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 95 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 99 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 128 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader() 129 TypeInfoHeader(uint32_t size, InfoType type, uint32_t offset) in TypeInfoHeader() 180 void Merge(const RWScalarOpTemplate &type) in Merge() 229 ScalarOpTemplate(uint32_t offset, SampleType type) in ScalarOpTemplate() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
| D | shared_concurrent_sweeper.cpp | 20 SharedConcurrentSweeper::SharedConcurrentSweeper(SharedHeap *heap, EnableConcurrentSweepType type) in SharedConcurrentSweeper() 65 void SharedConcurrentSweeper::AsyncSweepSpace(MemSpaceType type, bool isMain) in AsyncSweepSpace() 100 int type = spaceIndex + SHARED_SWEEPING_SPACE_BEGIN; in EnsureAllTaskFinished() local 110 void SharedConcurrentSweeper::EnsureTaskFinished(MemSpaceType type) in EnsureTaskFinished() 118 void SharedConcurrentSweeper::WaitingTaskFinish(MemSpaceType type) in WaitingTaskFinish() 162 void SharedConcurrentSweeper::EnableConcurrentSweep(EnableConcurrentSweepType type) in EnableConcurrentSweep()
|
| /arkcompiler/runtime_core/assembler/ |
| D | annotation.h | 103 char type = '0'; in GetTypeAsChar() local 177 char type = '0'; in GetArrayTypeAsChar() local 239 Type type = Type::UNKNOWN; in GetCharAsType() local 310 Type type = Type::UNKNOWN; in GetCharAsArrayType() local 394 explicit Value(Type type) : type_(type) {} in Value() 406 using type = std::conditional_t<value_type == Value::Type::U1, uint8_t, member 493 ScalarValue(Type type, uint64_t value) : Value(type), value_(value) {} in ScalarValue() 495 ScalarValue(Type type, float value) : Value(type), value_(value) {} in ScalarValue() 497 ScalarValue(Type type, double value) : Value(type), value_(value) {} in ScalarValue() 499 … ScalarValue(Type type, const std::string_view &value) : Value(type), value_(std::string(value)) {} in ScalarValue() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test_export_type3.ts | 17 type type = number; alias 18 export { type type }; alias
|