/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 | 72 FrameType type = GetFrameType(); in IsInterpretedFrame() local 76 bool IsInterpretedFrame(FrameType type) const in IsInterpretedFrame() 83 FrameType type = GetFrameType(); in IsJSFrame() local 89 FrameType type = GetFrameType(); in IsOptimizedJSFunctionFrame() local 94 bool IsJSFrame(FrameType type) const in IsJSFrame() 99 bool IsOptimizedJSFunctionFrame(FrameType type) const in IsOptimizedJSFunctionFrame() 108 FrameType type = it.GetFrameType(); in IsAsmInterpretedFrame() local 113 bool IsAsmInterpretedFrame(FrameType type) const in IsAsmInterpretedFrame() 120 FrameType type = GetFrameType(); in IsBuiltinFrame() local 131 FrameType type = GetFrameType(); in IsInterpretedEntryFrame() local [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/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/ets_frontend/ets2panda/ir/ |
D | statement.h | 37 …tReturnType([[maybe_unused]] checker::ETSChecker *checker, [[maybe_unused]] checker::Type *type) {} in SetReturnType() argument 40 explicit Statement(AstNodeType type) : AstNode(type) {} in Statement() 41 explicit Statement(AstNodeType type, ModifierFlags flags) : AstNode(type, flags) {} in Statement() 54 explicit TypedStatement(AstNodeType type) : Typed<Statement>(type) {}; in TypedStatement() 55 … explicit TypedStatement(AstNodeType type, ModifierFlags flags) : Typed<Statement>(type, flags) {}; in TypedStatement() 71 …explicit AnnotatedStatement(AstNodeType type, TypeNode *typeAnnotation) : Annotated<Statement>(typ… in AnnotatedStatement() 75 explicit AnnotatedStatement(AstNodeType type) : Annotated<Statement>(type) {} in AnnotatedStatement() 76 …explicit AnnotatedStatement(AstNodeType type, ModifierFlags flags) : Annotated<Statement>(type, fl… in AnnotatedStatement()
|
D | expression.h | 101 explicit Expression(AstNodeType const type) : TypedAstNode(type) {} in Expression() 102 …explicit Expression(AstNodeType const type, ModifierFlags const flags) : TypedAstNode(type, flags)… in Expression() 127 explicit AnnotatedExpression(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedExpression() 131 explicit AnnotatedExpression(AstNodeType const type) : Annotated<Expression>(type) {} in AnnotatedExpression() 160 …explicit MaybeOptionalExpression(AstNodeType type, bool optional) : Expression(type), optional_(op… in MaybeOptionalExpression() 161 explicit MaybeOptionalExpression(AstNodeType type, ModifierFlags flags, bool optional) in MaybeOptionalExpression()
|
/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 | 116 bool Token::IsBinaryToken(TokenType type) in IsBinaryToken() 121 bool Token::IsBinaryLvalueToken(TokenType type) in IsBinaryLvalueToken() 126 bool Token::IsUpdateToken(TokenType type) in IsUpdateToken() 131 bool Token::IsPunctuatorToken(TokenType type) in IsPunctuatorToken() 136 bool Token::IsTsParamToken(TokenType type) in IsTsParamToken() 141 const char *TokenToString(TokenType type) // NOLINT(readability-function-size) in TokenToString()
|
/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/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
D | pgo_method_type_set.h | 35 void AddType(uint32_t offset, PGOSampleType type) in AddType() 46 void AddCallTargetType(uint32_t offset, PGOSampleType type) in AddCallTargetType() 67 void AddDefine(uint32_t offset, PGODefineOpType type) in AddDefine() 80 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 84 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 88 const auto &type = typeInfo.GetTypeRef(); in GetTypeInfo() local 115 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader() 116 TypeInfoHeader(uint32_t size, InfoType type, uint32_t offset) in TypeInfoHeader() 167 void Merge(const RWScalarOpTemplate &type) in Merge() 207 ScalarOpTemplate(uint32_t offset, SampleType type) in ScalarOpTemplate() [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | concurrent_sweeper.cpp | 26 ConcurrentSweeper::ConcurrentSweeper(Heap *heap, EnableConcurrentSweepType type) in ConcurrentSweeper() 59 for (int type = startSpaceType_; type < FREE_LIST_NUM; type++) { in Sweep() local 73 void ConcurrentSweeper::AsyncSweepSpace(MemSpaceType type, bool isMain) in AsyncSweepSpace() 114 void ConcurrentSweeper::EnsureTaskFinished(MemSpaceType type) in EnsureTaskFinished() 123 void ConcurrentSweeper::WaitingTaskFinish(MemSpaceType type) in WaitingTaskFinish() 162 … auto type = static_cast<MemSpaceType>(((i + type_) % sweepTypeNum) + sweeper_->startSpaceType_); in Run() local 168 void ConcurrentSweeper::EnableConcurrentSweep(EnableConcurrentSweepType type) in EnableConcurrentSweep()
|
D | free_object_list.cpp | 47 SetType type = SelectSetType(size); in Allocate() local 90 SetType type = SelectSetType(size); in LookupSuitableFreeObject() local 131 SetType type = SelectSetType(size); in Free() local 171 SetType type = SelectSetType(size); in MatchFreeObjectInSet() local 190 SetType type = set->setType_; in AddSet() local 217 SetType type = set->setType_; in RemoveSet() local 247 SetType type = set->setType_; in Merge() local 271 void FreeObjectList::EnumerateSets(SetType type, const Callback &cb) const in EnumerateSets()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
D | lmir_builder.cpp | 23 inline Type *GetPrimitiveType(PrimType type) in GetPrimitiveType() 162 auto type = GlobalTables::GetTypeTable().GetOrCreatePointerType(*mirType, PTY_ptr); in CreatePtrType() local 168 auto type = GlobalTables::GetTypeTable().GetOrCreatePointerType(*mirType, PTY_ref); in CreateRefType() local 179 …auto type = GlobalTables::GetTypeTable().GetOrCreateArrayType(*elemType, dimSize.size(), dimSize.d… in CreateArrayType() local 193 …auto type = GlobalTables::GetTypeTable().GetOrCreateStructType(name, fields, parentFields, module); in CreateStructTypeInternal() local 201 MIRType *type = GlobalTables::GetTypeTable().GetTypeFromTyIdx(typeIdx); in GetStructType() local 205 StructConst &LMIRBuilder::CreateStructConstInternal(StructType *type) in CreateStructConstInternal() 210 ArrayConst &LMIRBuilder::CreateArrayConstInternal(ArrayType *type) in CreateArrayConstInternal() 232 …auto type = GlobalTables::GetTypeTable().GetOrCreateFunctionType(retType->GetTypeIndex(), params, … in CreateFuncType() local 236 Type *LMIRBuilder::LiteCGGetPointedType(Type *type) in LiteCGGetPointedType() [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_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() 164 void Checker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers() 176 void Checker::ResolveObjectTypeMembers(ObjectType *type) in ResolveObjectTypeMembers() 197 void Checker::ResolvePropertiesOfObjectType(ObjectType *type, const ir::Expression *member, in ResolvePropertiesOfObjectType() 233 void Checker::ResolveSignaturesOfObjectType(ObjectType *type, in ResolveSignaturesOfObjectType() 248 void Checker::ResolveIndexInfosOfObjectType(ObjectType *type, in ResolveIndexInfosOfObjectType() 275 binder::Variable *Checker::GetPropertyOfType(Type *type, const util::StringView &name, bool getPart… in GetPropertyOfType() 290 binder::Variable *Checker::GetPropertyOfUnionType(UnionType *type, const util::StringView &name, bo… in GetPropertyOfUnionType() [all …]
|
/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/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, std::string_view value) : Value(type), value_(std::string(value)) {} in ScalarValue() [all …]
|
/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 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet() 174 GateRef ContainerGetSize(GateRef obj, ContainersType type) in ContainerGetSize() 234 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue() 278 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey() 296 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode()
|
/arkcompiler/runtime_core/static_core/assembler/ |
D | annotation.h | 100 char type = '0'; in GetTypeAsChar() local 171 char type = '0'; in GetArrayTypeAsChar() local 233 Type type = Type::UNKNOWN; in GetCharAsType() local 304 Type type = Type::UNKNOWN; in GetCharAsArrayType() local 388 explicit Value(Type type) : type_(type) {} in Value() 485 ScalarValue(Type type, uint64_t value) : Value(type), value_(value) {} in ScalarValue() 487 ScalarValue(Type type, float value) : Value(type), value_(value) {} in ScalarValue() 489 ScalarValue(Type type, double value) : Value(type), value_(value) {} in ScalarValue() 491 ScalarValue(Type type, std::string_view value) : Value(type), value_(std::string(value)) {} in ScalarValue() 493 ScalarValue(Type type, pandasm::Type value) : Value(type), value_(std::move(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
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | pgo_type_infer_helper.cpp | 22 bool ClassTypeStrategy::CheckAndInsert(CollectedType &types, const GateType &type, TSManager *tsMan… in CheckAndInsert() 38 for (GateType type : types.classTypes) { in Merge() local 43 bool ClassInstanceTypeStrategy::CheckAndInsert(CollectedType &types, const GateType &type, TSManage… in CheckAndInsert() 64 for (GateType type : types.classInstanceTypes) { in Merge() local 71 bool BuiltinTypeStrategy::CheckAndInsert(CollectedType &types, const GateType &type, TSManager *tsM… in CheckAndInsert() 83 for (GateType type : types.builtinTypes) { in Merge() local 88 bool OtherTypeStrategy::CheckAndInsert(CollectedType &types, const GateType &type, [[maybe_unused]]… in CheckAndInsert() 100 for (GateType type : types.otherTypes) { in Merge() local 143 void PGOTypeInferHelper::CheckAndInsert(CollectedType &types, GateType type) in CheckAndInsert() 181 for (GateType type : types) { in InferTypeForBuiltin() local [all …]
|