Home
last modified time | relevance | path

Searched refs:typeName (Results 1 - 25 of 41) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/typescript/types/
H A Dtype.h36 #define DECLARE_TYPENAMES(typeFlag, typeName) class typeName;
53 #define TYPE_IS_CHECKS(typeFlag, typeName) \
54 bool Is##typeName() const \
61 #define TYPE_AS_CASTS(typeFlag, typeName) \
62 typeName *As##typeName() \
64 ASSERT(Is##typeName()); \
65 return reinterpret_cast<typeName *>(this); \
67 const typeName *A
[all...]
H A DobjectType.h36 #define DECLARE_OBJECT_TYPENAMES(objectKind, typeName) class typeName;
60 #define OBJECT_TYPE_IS_CHECKS(objectKind, typeName) \
61 bool Is##typeName() const \
68 #define OBJECT_TYPE_AS_CASTS(objectKind, typeName) \
69 typeName *As##typeName() \
71 ASSERT(Is##typeName()); \
72 return reinterpret_cast<typeName *>(this); \
74 const typeName *A
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
H A DobjectType.h31 #define DECLARE_OBJECT_TYPENAMES(objectKind, typeName) class typeName;
73 #define OBJECT_TYPE_AS_CASTS(objectKind, typeName) \
74 typeName *As##typeName() \
76 ASSERT(Is##typeName()); \
77 return reinterpret_cast<typeName *>(this); \
79 const typeName *As##typeName() const \
81 ASSERT(Is##typeName()); \
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/types/
H A Dtype.h39 #define DECLARE_TYPENAMES(typeFlag, typeName) class typeName;
61 #define TYPE_IS_CHECKS(typeFlag, typeName) \
62 bool Is##typeName() const \
70 #define TYPE_AS_CASTS(typeFlag, typeName) \
71 typeName *As##typeName() \
73 ASSERT(Is##typeName()); \
74 return reinterpret_cast<typeName *>(this); \
76 const typeName *A
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_file_utils.cpp25 bool AbcFileUtils::IsSystemTypeName(const std::string &typeName) in IsSystemTypeName() argument
27 bool isArrayType = typeName.back() == ARRAY_TYPE_POSTFIX; in IsSystemTypeName()
28 bool isGlobal = typeName == g_globalTypeName; in IsSystemTypeName()
H A Dabc2program_key_data.cpp74 inline bool Abc2ProgramKeyData::IsSystemType(const std::string &typeName) const in IsSystemType()
76 bool isArrayType = typeName.back() == ']'; in IsSystemType()
77 bool isGlobal = typeName == "_GLOBAL"; in IsSystemType()
H A Dabc_method_processor.cpp183 std::string typeName = stringTable_->GetStringById(pda.GetReferenceType(refIdx++)); in PFTypeToPandasmType() local
184 std::replace(typeName.begin(), typeName.end(), '/', '.'); in PFTypeToPandasmType()
185 pandasmType = pandasm::Type::FromDescriptor(typeName); in PFTypeToPandasmType()
H A Dabc_file_utils.h49 static bool IsSystemTypeName(const std::string &typeName);
H A Dabc2program_key_data.h49 inline bool IsSystemType(const std::string &typeName) const;
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dpgo.cpp102 auto typeName = item->GetName(); in ProfileGuidedRelayout() local
103 if (typeName != CLASS_ITEM && typeName != STRING_ITEM && typeName != CODE_ITEM) { in ProfileGuidedRelayout()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_typed_array.cpp473 DataViewType JSTypedArray::GetTypeFromName(JSThread *thread, const JSHandle<JSTaggedValue> &typeName) in GetTypeFromName() argument
476 if (JSTaggedValue::SameValue(typeName, globalConst->GetHandledInt8ArrayString()) || in GetTypeFromName()
477 JSTaggedValue::SameValue(typeName, globalConst->GetHandledSharedInt8ArrayString())) { in GetTypeFromName()
480 if (JSTaggedValue::SameValue(typeName, globalConst->GetHandledUint8ArrayString()) || in GetTypeFromName()
481 JSTaggedValue::SameValue(typeName, globalConst->GetHandledSharedUint8ArrayString())) { in GetTypeFromName()
484 if (JSTaggedValue::SameValue(typeName, globalConst->GetHandledUint8ClampedArrayString()) || in GetTypeFromName()
485 JSTaggedValue::SameValue(typeName, globalConst->GetHandledSharedUint8ClampedArrayString())) { in GetTypeFromName()
488 if (JSTaggedValue::SameValue(typeName, globalConst->GetHandledInt16ArrayString()) || in GetTypeFromName()
489 JSTaggedValue::SameValue(typeName, globalConst->GetHandledSharedInt16ArrayString())) { in GetTypeFromName()
492 if (JSTaggedValue::SameValue(typeName, globalCons in GetTypeFromName()
[all...]
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DtsTypeReferenceBuilder.h29 TSTypeReferenceBuilder &SetTypeName(Identifier *typeName) in SetTypeName() argument
31 typeName_ = typeName; in SetTypeName()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsTypeReference.h30 explicit TSTypeReference(Expression *typeName, TSTypeParameterInstantiation *typeParams) in TSTypeReference() argument
31 : TypeNode(AstNodeType::TS_TYPE_REFERENCE), typeName_(typeName), typeParams_(typeParams) in TSTypeReference()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsTypeReference.h41 explicit TSTypeReference(Expression *typeName, TSTypeParameterInstantiation *typeParams) in TSTypeReference() argument
42 : TypeNode(AstNodeType::TS_TYPE_REFERENCE), typeName_(typeName), typeParams_(typeParams) in TSTypeReference()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Ddebugger_api.cpp25 static void SetNotFoundException(EtsLong regNumber, EtsCoroutine *coroutine, std::string_view typeName) in SetNotFoundException() argument
28 "No local variable found at vreg #" + std::to_string(regNumber) + " and type " + std::string(typeName); in SetNotFoundException()
36 static void SetRuntimeException(EtsLong regNumber, EtsCoroutine *coroutine, std::string_view typeName) in SetRuntimeException() argument
39 "Failed to access variable at vreg #" + std::to_string(regNumber) + " and type " + std::string(typeName); in SetRuntimeException()
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_code_parser_context.cpp38 panda_file::BaseClassItem *GetType([[maybe_unused]] panda_file::File::EntityId typeId, const std::string &typeName) in GetType() argument
41 auto iter = cm->find(typeName); in GetType()
67 panda_file::BaseClassItem *GetType([[maybe_unused]] panda_file::File::EntityId typeId, const std::string &typeName) in GetType() argument
70 if (cm->find(typeName) == cm->end()) { in GetType()
72 GetOrCreateStringItem(typeName); in GetType()
/arkcompiler/ets_runtime/ecmascript/base/
H A Datomic_helper.cpp32 // 3. Let typeName be typedArray.[[TypedArrayName]]. in ValidateIntegerTypedArray()
33 // 4. Let type be the Element Type value in Table 60 for typeName. in ValidateIntegerTypedArray()
34 JSHandle<JSTaggedValue> typeName(thread, JSTypedArray::Cast(typedArray->GetTaggedObject())->GetTypedArrayName()); in ValidateIntegerTypedArray()
35 DataViewType type = JSTypedArray::GetTypeFromName(thread, typeName); in ValidateIntegerTypedArray()
38 // a. If typeName is not "Int32Array" or "BigInt64Array", throw a TypeError exception. in ValidateIntegerTypedArray()
44 THROW_TYPE_ERROR_AND_RETURN(thread, "The typeName is not Int32Array/BigInt64Array.", in ValidateIntegerTypedArray()
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A DdeclgenEts2Ts.cpp127 #define TYPE_CHECKS(type_flag, typeName) \ in GetDebugTypeName()
128 if (checkerType->Is##typeName()) { \ in GetDebugTypeName()
129 return #typeName; \ in GetDebugTypeName()
328 auto typeName = objectType->Name(); in GenObjectType() local
329 if (typeName.Empty()) { in GenObjectType()
333 Out(typeName); in GenObjectType()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DTypedParser.h53 ir::Expression *ParseQualifiedReference(ir::Expression *typeName,
156 ir::Expression *ParseLiteralIndent(ir::Expression *typeName, ExpressionParseFlags flags,
H A DTSparser.cpp646 ir::TypeNode *TSParser::ParseIndexAccessType(ir::TypeNode *typeName) in ParseIndexAccessType() argument
661 typeName = AllocNode<ir::TSIndexedAccessType>(typeName, indexType); in ParseIndexAccessType()
662 typeName->SetRange({typeName->AsTSIndexedAccessType()->ObjectType()->Start(), Lexer()->GetToken().End()}); in ParseIndexAccessType()
666 return typeName; in ParseIndexAccessType()
690 ir::Expression *typeName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseTypeReferenceOrQuery() local
691 typeName->SetRange(Lexer()->GetToken().Loc()); in ParseTypeReferenceOrQuery()
692 typeName->AsIdentifier()->SetReference(); in ParseTypeReferenceOrQuery()
701 typeName in ParseTypeReferenceOrQuery()
[all...]
H A DASparser.cpp575 auto *typeName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseTypeAnnotationLiteralIdentHelper() local
576 typeName->SetRange(Lexer()->GetToken().Loc()); in ParseTypeAnnotationLiteralIdentHelper()
577 type = AllocNode<ir::NamedType>(typeName); in ParseTypeAnnotationLiteralIdentHelper()
589 typeName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseTypeAnnotationLiteralIdentHelper()
590 typeName->SetRange(Lexer()->GetToken().Loc()); in ParseTypeAnnotationLiteralIdentHelper()
591 auto *next = AllocNode<ir::NamedType>(typeName); in ParseTypeAnnotationLiteralIdentHelper()
651 auto *typeName = AllocNode<ir::Identifier>(name, Allocator()); in ParseTypeAnnotationTokens() local
652 typeName->SetRange(Lexer()->GetToken().Loc()); in ParseTypeAnnotationTokens()
653 type = AllocNode<ir::NamedType>(typeName); in ParseTypeAnnotationTokens()
722 auto *typeName in ParseTypeAnnotationTokenLeftSquareBracket() local
[all...]
H A DTypedParser.cpp1181 ir::Expression *TypedParser::ParseLiteralIndent(ir::Expression *typeName, ExpressionParseFlags flags, in ParseLiteralIndent() argument
1186 typeName->SetRange({startLoc, Lexer()->GetToken().End()}); in ParseLiteralIndent()
1187 return typeName; in ParseLiteralIndent()
1197 ir::Expression *TypedParser::ParseQualifiedReference(ir::Expression *typeName, ExpressionParseFlags flags) in ParseQualifiedReference() argument
1199 lexer::SourcePosition startLoc = typeName->Start(); in ParseQualifiedReference()
1212 return ParseLiteralIndent(typeName, flags, startLoc); in ParseQualifiedReference()
1220 typeName = AllocNode<ir::TSQualifiedName>(typeName, propName); in ParseQualifiedReference()
1221 typeName->SetRange({typeName in ParseQualifiedReference()
[all...]
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp1052 ir::Expression *ParserImpl::ParseTsQualifiedReference(ir::Expression *typeName) in ParseTsQualifiedReference() argument
1054 lexer::SourcePosition startLoc = typeName->Start(); in ParseTsQualifiedReference()
1066 typeName = AllocNode<ir::TSQualifiedName>(typeName, propName); in ParseTsQualifiedReference()
1067 typeName->SetRange({typeName->AsTSQualifiedName()->Left()->Start(), lexer_->GetToken().End()}); in ParseTsQualifiedReference()
1072 typeName->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsQualifiedReference()
1074 return typeName; in ParseTsQualifiedReference()
1077 ir::Expression *ParserImpl::ParseTsIndexAccessType(ir::Expression *typeName, bool throwError) in ParseTsIndexAccessType() argument
1096 typeName in ParseTsIndexAccessType()
1127 ir::Expression *typeName = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); ParseTsTypeReferenceOrQuery() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Demit.cpp46 char typeName = name[0]; in GetPrimitiveTypeSize() local
47 switch (typeName) { in GetPrimitiveTypeSize()
1407 std::string typeName = stName.substr(prefixStrLen, pos - prefixStrLen); in EmitAsmLabel() local
1413 int64 fieldOffset = GetFieldOffsetValue(typeName, *intConst, strIdx2Type); in EmitAsmLabel()
1418 Emit("\t// " + typeName + " static field, data def table index " + std::to_string(fieldOffset) + "\n"); in EmitAsmLabel()
1422 Emit("\t// " + typeName + "\t field" + std::to_string(fieldIdx) + "\n"); in EmitAsmLabel()
1428 std::string typeName; in EmitAsmLabel() local
1436 typeName = stName.substr(strlen(kFieldsInfoPrefixStr)); in EmitAsmLabel()
1444 typeName = stName.substr(prefixStrLen); in EmitAsmLabel()
1449 GlobalTables::GetStrTable().GetStrIdxFromName(kFieldOffsetDataPrefixStr + typeName)); in EmitAsmLabel()
1462 std::string typeName = EmitAsmLabel() local
[all...]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/
H A DTabPaneApSummary.js344 type: (item === null || item === void 0 ? void 0 : item.typeName) === undefined ? '-' : item.typeName,
411 this.typeName = '-';

Completed in 22 milliseconds

12