/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_type.h | 29 explicit ClassType(int32_t type) : type_(type) {} in ClassType() 33 return type_ == 0; in IsNone() 38 return type_; in GetClassType() 43 return type_ < right.type_; 48 return type_ != right.type_; 53 return type_ == right.type_; 58 return std::to_string(type_); in GetTypeString() 62 int32_t type_ { 0 }; 113 PGOSampleType() : type_(Type::NONE) {}; in PGOSampleType() 115 explicit PGOSampleType(Type type) : type_(type) {}; in PGOSampleType() [all …]
|
D | pgo_profiler_layout.h | 112 explicit PGOHClassLayoutDesc(ClassType type) : type_(type) {} in PGOHClassLayoutDesc() 126 return type_; in GetClassType() 194 return type_ < right.type_; 200 ClassType type_; variable
|
/arkcompiler/ets_frontend/es2panda/lexer/token/ |
D | token.cpp | 24 return (type_ == TokenType::LITERAL_IDENT && in IsAccessability() 32 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_ASYNC && in IsAsyncModifier() 38 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_STATIC && in IsStaticModifier() 44 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_DECLARE && in IsDeclareModifier() 50 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_READONLY && in IsReadonlyModifier() 56 return (type_ == TokenType::PUNCTUATOR_MINUS_MINUS || type_ == TokenType::PUNCTUATOR_PLUS_PLUS); in IsUpdate() 61 return (type_ == TokenType::PUNCTUATOR_MINUS || type_ == TokenType::PUNCTUATOR_PLUS || in IsUnary() 62 … type_ == TokenType::PUNCTUATOR_TILDE || type_ == TokenType::PUNCTUATOR_EXCLAMATION_MARK || in IsUnary() 63 … type_ == TokenType::PUNCTUATOR_PLUS_PLUS || type_ == TokenType::PUNCTUATOR_MINUS_MINUS || in IsUnary() 64 …type_ == TokenType::KEYW_TYPEOF || type_ == TokenType::KEYW_VOID || type_ == TokenType::KEYW_DELET… in IsUnary() [all …]
|
D | token.h | 48 return type_; in DEFINE_BITOPS() 58 type_ = type; in DEFINE_BITOPS() 88 ASSERT(type_ == TokenType::LITERAL_NUMBER && (flags_ & TokenFlags::NUMBER_BIGINT)); in DEFINE_BITOPS() 94 ASSERT(type_ == TokenType::LITERAL_NUMBER && !(flags_ & TokenFlags::NUMBER_BIGINT)); in DEFINE_BITOPS() 100 ASSERT(type_ == TokenType::LITERAL_STRING || type_ == TokenType::LITERAL_NUMBER); in DEFINE_BITOPS() 129 TokenType type_ {TokenType::EOS}; in DEFINE_BITOPS()
|
/arkcompiler/ets_frontend/es2panda/lexer/ |
D | lexer.cpp | 108 pos_.token.type_ = type; in BackwardToken() 115 pos_.token.type_ = type; in ForwardToken() 223 GetToken().type_ = TokenType::LITERAL_NUMBER; in ScanNumberLeadingZero() 363 GetToken().type_ = TokenType::LITERAL_NUMBER; in ScanNumber() 621 GetToken().type_ = TokenType::PUNCTUATOR_QUESTION_MARK; in ScanQuestionPunctuator() 625 GetToken().type_ = TokenType::PUNCTUATOR_NULLISH_COALESCING; in ScanQuestionPunctuator() 630 GetToken().type_ = TokenType::PUNCTUATOR_LOGICAL_NULLISH_EQUAL; in ScanQuestionPunctuator() 645 GetToken().type_ = TokenType::PUNCTUATOR_QUESTION_DOT; in ScanQuestionPunctuator() 660 GetToken().type_ = TokenType::PUNCTUATOR_LESS_THAN; in ScanLessThanPunctuator() 664 GetToken().type_ = TokenType::PUNCTUATOR_LEFT_SHIFT; in ScanLessThanPunctuator() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | global_ts_type_ref.h | 83 explicit GlobalTSTypeRef(uint32_t type = 0) : type_(type) {} in type_() function 84 GlobalTSTypeRef(int moduleId, int localId) : type_(0) in GlobalTSTypeRef() 99 return type_; in GetType() 104 type_ = type; in SetType() 109 type_ = 0; in Clear() 114 return type_ == 0; in IsDefault() 119 return type_ < other.type_; 124 return type_ == other.type_; 129 return type_ != other.type_; 183 uint32_t type_ {0};
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
D | graph.cpp | 40 return type_; in GetType() 45 return type_ == InstType::STLEXVAR_IMM4_IMM4 || type_ == InstType::STLEXVAR_IMM8_IMM8 || in IsInstStLexVar() 46 type_ == InstType::WIDE_STLEXVAR_PREF_IMM16_IMM16; in IsInstStLexVar() 51 return type_ == InstType::LDLEXVAR_IMM4_IMM4 || type_ == InstType::LDLEXVAR_IMM8_IMM8 || in IsInstLdLexVar() 52 type_ == InstType::WIDE_LDLEXVAR_PREF_IMM16_IMM16; in IsInstLdLexVar() 57 …return type_ == InstType::TRYSTGLOBALBYNAME_IMM8_ID16 || type_ == InstType::TRYSTGLOBALBYNAME_IMM1… in IsInstStGlobal() 58 …type_ == InstType::STGLOBALVAR_IMM16_ID16 || type_ == InstType::STCONSTTOGLOBALRECORD_IMM16_ID16 || in IsInstStGlobal() 59 type_ == InstType::STTOGLOBALRECORD_IMM16_ID16; in IsInstStGlobal() 64 …return type_ == InstType::LDGLOBALVAR_IMM16_ID16 || type_ == InstType::TRYLDGLOBALBYNAME_IMM8_ID16… in IsInstLdGlobal() 65 type_ == InstType::TRYLDGLOBALBYNAME_IMM16_ID16; in IsInstLdGlobal()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | type.h | 24 constexpr explicit GateType(uint32_t type = 0) : type_(type) in type_() function 28 explicit GateType(GlobalTSTypeRef gt) : type_(0) in GateType() 30 type_ |= gt.GetType(); in GateType() 37 return type_; in Value() 207 return type_ == NJS_VALUE; in IsNJSValueType() 217 return (type_ & (~GateType::GC_MASK)) == 0; in IsGCRelated() 222 return type_ == other.type_; 227 return type_ != other.type_; 232 return type_ < other.type_; 237 return type_ <= other.type_; [all …]
|
D | object_access_helper.h | 25 : type_(type), hclassIndex_(hclassIndex), plr_(plr) {} in type_() function 36 return type_; in Type() 50 GateType type_ {GateType::AnyType()}; 72 type_(type), in ObjectAccessHelper() 109 GateType type_ {GateType::AnyType()};
|
D | object_access_helper.cpp | 24 ObjectAccessInfo info(type_); in Compute() 25 TSTypeKind kind = tsManager_->GetTypeKind(type_.GetGTRef()); in Compute() 94 ASSERT(tsManager_->IsUnionTypeKind(type_)); in ComputePolymorphism() 95 JSHandle<TSUnionType> unionType(tsManager_->GetTSType(type_.GetGTRef())); in ComputePolymorphism()
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
D | XScroll.js | 21 this.type_ = options["type"]; 24 this.type_ = "right"; 38 if (this.type_ == "right") { 41 else if (this.type_ == "button") { 53 if (this.type_ == "right") { 62 if (this.type_ == "right") { 70 if (this.type_ == "right") { 90 if (this.type_ == "right") { 98 if (this.type_ == "right") { 108 if (this.type_ == "right") {
|
/arkcompiler/ets_runtime/ecmascript/ |
D | date_parse.h | 163 return type_ == DATE_INVALID; in IsInvalid() 168 return type_ == DATE_UNKNOWN; in IsUnknown() 173 return type_ == DATE_NUMBER; in IsNumber() 178 return type_ == DATE_SYMBOL; in IsSymbol() 183 return type_ == DATE_SYMBOL && static_cast<int>(ch) == value_; in IsSymbol() 188 return type_ == DATE_STRING_END; in IsStringEnd() 193 return type_ == DATE_TIME_ZONE; in IsTimeZone() 198 return type_ == DATE_TIME_FALG; in IsTimeFlag() 203 return type_ == DATE_INVALID_WORD; in IsInvalidWord() 208 return type_ == DATE_MONTH; in IsMonth() [all …]
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsParenthesizedType.cpp | 25 cb(type_); in Iterate() 30 dumper->Add({{"type", "TSParenthesizedType"}, {"typeAnnotation", type_}}); in Dump() 37 type_->Check(checker); in Check() 49 checker::Type *type = type_->AsTypeNode()->GetType(checker); in GetType() 56 type_ = std::get<ir::AstNode *>(cb(type_))->AsExpression(); in UpdateSelf()
|
D | tsOptionalType.cpp | 25 cb(type_); in Iterate() 30 dumper->Add({{"type", "TSOptionalType"}, {"typeAnnotation", type_}}); in Dump() 48 checker::Type *type = type_->AsTypeNode()->GetType(checker); in GetType() 55 type_ = std::get<ir::AstNode *>(cb(type_))->AsExpression(); in UpdateSelf()
|
D | tsRestType.cpp | 25 cb(type_); in Iterate() 30 dumper->Add({{"type", "TSRestType"}, {"typeAnnotation", type_}}); in Dump() 48 checker::Type *type = type_->AsTypeNode()->GetType(checker); in GetType() 55 type_ = std::get<ir::AstNode *>(cb(type_))->AsExpression(); in UpdateSelf()
|
D | tsTypeOperator.cpp | 24 cb(type_); in Iterate() 32 {"typeAnnotation", type_}, in Dump() 50 type_ = std::get<ir::AstNode *>(cb(type_))->AsExpression(); in UpdateSelf()
|
D | tsParenthesizedType.h | 34 …explicit TSParenthesizedType(Expression *type) : TypeNode(AstNodeType::TS_PARENT_TYPE), type_(type… in TSParenthesizedType() 38 return type_; in Type() 49 Expression *type_;
|
D | tsTypeOperator.h | 35 : TypeNode(AstNodeType::TS_TYPE_OPERATOR), type_(type), operatorType_(operatorType) in TSTypeOperator() 41 return type_; in Type() 67 Expression *type_;
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | indexInfo.h | 26 : type_(type), paramName_(paramName), readonly_(readonly) in IndexInfo() 31 : type_(type), paramName_(paramName), readonly_(readonly), pos_(pos) in IndexInfo() 41 return type_; in GetType() 46 return type_; in GetType() 51 type_ = type; in SetType() 75 Type *type_;
|
D | indexInfo.cpp | 24 …return allocator->New<IndexInfo>(type_->Instantiate(allocator, relation, globalTypes), paramName_,… in Copy() 41 type_->ToString(ss); in ToString() 46 relation->IsIdenticalTo(type_, other->GetType()); in Identical() 51 relation->IsAssignableTo(source->GetType(), type_); in AssignmentTarget()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | spill_fill_data.h | 31 : src_(src_type, src_val), dst_(dst_type, dst_val), type_(tp) in SpillFillData() 34 …SpillFillData(Location src, Location dst, DataType::Type type) : src_(src), dst_(dst), type_(type)… in SpillFillData() 70 return type_; in GetType() 74 return DataType::GetCommonType(type_); in GetCommonType() 78 type_ = type; in SetType() 92 DataType::Type type_ {DataType::NO_TYPE};
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | type.h.erb | 45 constexpr explicit Type(TypeId id) : type_(id) {} 48 return type_ != TypeId::REFERENCE; 52 return type_ == TypeId::REFERENCE; 56 return static_cast<uint8_t>(type_); 60 switch (type_) { 71 switch (type_) { 84 switch (type_) { 95 switch (type_) { 106 switch (type_) { 117 return type_ == TypeId::VOID; [all …]
|
/arkcompiler/ets_frontend/es2panda/ir/ |
D | astNode.h | 115 explicit AstNode(AstNodeType type) : type_(type) {}; in AST_NODE_REINTERPRET_MAPPING() 128 return type_ == AstNodeType::nodeType; \ in AST_NODE_REINTERPRET_MAPPING() 136 return type_ == AstNodeType::nodeType1; \ in AST_NODE_REINTERPRET_MAPPING() 140 return type_ == AstNodeType::nodeType2; \ in AST_NODE_REINTERPRET_MAPPING() 249 return type_; in AST_NODE_REINTERPRET_MAPPING() 296 type_ = type; in AST_NODE_REINTERPRET_MAPPING() 301 AstNodeType type_; in AST_NODE_REINTERPRET_MAPPING() local
|
/arkcompiler/toolchain/tooling/backend/ |
D | js_single_stepper.h | 36 type_(type) {} in SingleStepper() 45 return type_; in GetStepperType() 63 Type type_; variable
|
/arkcompiler/runtime_core/libpandafile/ |
D | method_handle_data_accessor.h | 33 return type_; in GetType() 60 MethodHandleType type_; variable
|