/arkcompiler/ets_runtime/ecmascript/ |
D | method.cpp | 24 const JSPandaFile *jsPandaFile = GetJSPandaFile(); in ParseFunctionName() local 30 const JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetMethodName() local 41 const JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetRecordNameStr() local 47 const JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetCodeSize() local 66 const JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetMethodLiteral() local 92 JSHandle<Method> Method::Create(JSThread *thread, const JSPandaFile *jsPandaFile, MethodLiteral *me… in Create()
|
D | ecma_context.cpp | 199 std::shared_ptr<JSPandaFile> jsPandaFile = in ~EcmaContext() local 253 … const JSPandaFile *jsPandaFile, std::string_view entryPoint, in InvokeEcmaAotEntrypoint() 275 …pected<JSTaggedValue, bool> EcmaContext::CommonInvokeEcmaEntrypoint(const JSPandaFile *jsPandaFile, in CommonInvokeEcmaEntrypoint() 330 Expected<JSTaggedValue, bool> EcmaContext::InvokeEcmaEntrypoint(const JSPandaFile *jsPandaFile, in InvokeEcmaEntrypoint() 354 const JSPandaFile *jsPandaFile, std::string_view entryPoint, bool excuteFromJob) in InvokeEcmaEntrypointForHotReload() 379 const JSPandaFile *jsPandaFile, std::string_view entryPoint) in CJSExecution() 436 JSTaggedValue EcmaContext::FindConstpool(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpool() 450 const JSPandaFile *jsPandaFile) in FindConstpools() 460 JSTaggedValue EcmaContext::FindConstpool(const JSPandaFile *jsPandaFile, panda_file::File::EntityId… in FindConstpool() 467 JSTaggedValue EcmaContext::FindConstpoolWithAOT(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpoolWithAOT() [all …]
|
D | js_file_path.cpp | 57 std::string JSFilePath::GetHapName(const JSPandaFile *jsPandaFile) in GetHapName()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | js_pandafile_manager.cpp | 51 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFile() local 112 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), filename, ent… in LoadJSPandaFile() local 131 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFile() local 157 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPo… in LoadJSPandaFile() local 175 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFileSecure() local 201 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPo… in LoadJSPandaFileSecure() local 210 JSHandle<Program> JSPandaFileManager::GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile, in GenerateProgram() 219 std::shared_ptr<JSPandaFile> jsPandaFile = FindJSPandaFileUnlocked(filename); in FindJSPandaFileWithChecksum() local 300 …PandaFileManager::AddJSPandaFileVm(const EcmaVM *vm, const std::shared_ptr<JSPandaFile> &jsPandaFi… in AddJSPandaFileVm() 316 … const std::shared_ptr<JSPandaFile> &jsPandaFile) in InsertJSPandaFileVmUnlocked() [all …]
|
D | method_literal.cpp | 32 void MethodLiteral::Initialize(const JSPandaFile *jsPandaFile) in Initialize() 84 std::string MethodLiteral::ParseFunctionName(const JSPandaFile *jsPandaFile, EntityId methodId) in ParseFunctionName() 100 CString MethodLiteral::ParseFunctionNameToCString(const JSPandaFile *jsPandaFile, EntityId methodId) in ParseFunctionNameToCString() 115 const char *MethodLiteral::GetMethodName(const JSPandaFile *jsPandaFile, EntityId methodId, bool cp… in GetMethodName() 126 CString MethodLiteral::GetRecordName(const JSPandaFile *jsPandaFile, EntityId methodId) in GetRecordName() 135 const char *MethodLiteral::GetRecordNameWithSymbol(const JSPandaFile *jsPandaFile, EntityId methodI… in GetRecordNameWithSymbol() 147 uint32_t MethodLiteral::GetCodeSize(const JSPandaFile *jsPandaFile, EntityId methodId) in GetCodeSize()
|
D | type_literal_extractor.cpp | 36 static uint32_t GetMethodAnnoOffset(const JSPandaFile *jsPandaFile, uint32_t methodOffset, const ch… in GetMethodAnnoOffset() 67 TypeLiteralExtractor::TypeLiteralExtractor(const JSPandaFile *jsPandaFile, const uint32_t typeOffse… in TypeLiteralExtractor() 73 void TypeLiteralExtractor::ProcessTypeLiteral(const JSPandaFile *jsPandaFile, const uint32_t typeOf… in ProcessTypeLiteral() 176 TypeSummaryExtractor::TypeSummaryExtractor(const JSPandaFile *jsPandaFile, const CString &recordNam… in TypeSummaryExtractor() 182 void TypeSummaryExtractor::ProcessTypeSummary(const JSPandaFile *jsPandaFile, const uint32_t summar… in ProcessTypeSummary() 231 TypeAnnotationExtractor::TypeAnnotationExtractor(const JSPandaFile *jsPandaFile, const uint32_t met… in TypeAnnotationExtractor() 237 void TypeAnnotationExtractor::ProcessTypeAnnotation(const JSPandaFile *jsPandaFile, const uint32_t … in ProcessTypeAnnotation() 324 ExportTypeTableExtractor::ExportTypeTableExtractor(const JSPandaFile *jsPandaFile, in ExportTypeTableExtractor() 331 void ExportTypeTableExtractor::ProcessExportTable(const JSPandaFile *jsPandaFile, in ProcessExportTable()
|
D | js_pandafile_executor.cpp | 67 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteFromAbcFile() local 124 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteFromBuffer() local 168 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteModuleBuffer() local 225 …JSTaggedValue, bool> JSPandaFileExecutor::Execute(JSThread *thread, const JSPandaFile *jsPandaFile, in Execute() 244 void JSPandaFileExecutor::BindPandaFilesForAot(EcmaVM *vm, [[maybe_unused]]JSPandaFile *jsPandaFile) in BindPandaFilesForAot() 263 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteFromBufferSecure() local 287 const CString &entry, const JSPandaFile *jsPandaFile) in CommonExecuteBuffer() 330 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteModuleBufferSecure() local
|
D | program_object.h | 90 static JSHandle<ConstantPool> CreateConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in CreateConstPool() 122 JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetEntityId() local 130 JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetMethodIndexByEntityId() local 181 inline void SetJSPandaFile(const void *jsPandaFile) in SetJSPandaFile() 226 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetMethodFromCache() local 270 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile(); variable 301 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile(); in GetFieldLiteral() local 317 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetLiteralFromCache() local 450 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetStringFromCache() local
|
D | literal_data_extractor.cpp | 34 void LiteralDataExtractor::ExtractObjectDatas(JSThread *thread, const JSPandaFile *jsPandaFile, siz… in ExtractObjectDatas() 131 …const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &ent… in GetDatasIgnoreTypeForClass() 143 …edArray> LiteralDataExtractor::GetDatasIgnoreType(JSThread *thread, const JSPandaFile *jsPandaFile, in GetDatasIgnoreType() 152 …const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &ent… in EnumerateLiteralVals() 268 …tion> LiteralDataExtractor::DefineMethodInLiteral(JSThread *thread, const JSPandaFile *jsPandaFile, in DefineMethodInLiteral() 314 void LiteralDataExtractor::GetMethodOffsets(const JSPandaFile *jsPandaFile, size_t index, in GetMethodOffsets() 334 void LiteralDataExtractor::GetMethodOffsets(const JSPandaFile *jsPandaFile, EntityId id, in GetMethodOffsets() 354 void LiteralDataExtractor::ExtractObjectDatas(JSThread *thread, const JSPandaFile *jsPandaFile, Ent… in ExtractObjectDatas() 461 …edArray> LiteralDataExtractor::GetDatasIgnoreType(JSThread *thread, const JSPandaFile *jsPandaFile, in GetDatasIgnoreType()
|
D | program_object.cpp | 19 …ConstantPool> ConstantPool::GetDeserializedConstantPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in GetDeserializedConstantPool()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_path_helper.cpp | 21 CString ModulePathHelper::ConcatFileNameWithMerge(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatFileNameWithMerge() 148 CString ModulePathHelper::ParsePrefixBundle(JSThread *thread, const JSPandaFile *jsPandaFile, in ParsePrefixBundle() 203 CString ModulePathHelper::MakeNewRecord(const JSPandaFile *jsPandaFile, CString &baseFileName, in MakeNewRecord() 251 CString ModulePathHelper::FindOhpmEntryPoint(const JSPandaFile *jsPandaFile, in FindOhpmEntryPoint() 286 CString ModulePathHelper::FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, in FindPackageInTopLevelWithNamespace() 328 CString ModulePathHelper::ParseOhpmPackage(const JSPandaFile *jsPandaFile, in ParseOhpmPackage() 359 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() 388 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() 416 JSMutableHandle<JSTaggedValue> &fileName, const JSPandaFile *jsPandaFile) in ResolveCurrentPath() 428 CString ModulePathHelper::FindNpmEntryPoint(const JSPandaFile *jsPandaFile, const CString &packageE… in FindNpmEntryPoint() [all …]
|
D | module_data_extractor.cpp | 33 …e<JSTaggedValue> ModuleDataExtractor::ParseModule(JSThread *thread, const JSPandaFile *jsPandaFile, in ParseModule() 64 void ModuleDataExtractor::ExtractModuleDatas(JSThread *thread, const JSPandaFile *jsPandaFile, in ExtractModuleDatas() 90 …STaggedValue> ModuleDataExtractor::ParseCjsModule(JSThread *thread, const JSPandaFile *jsPandaFile) in ParseCjsModule() 110 …TaggedValue> ModuleDataExtractor::ParseJsonModule(JSThread *thread, const JSPandaFile *jsPandaFile, in ParseJsonModule() 154 JSTaggedValue ModuleDataExtractor::JsonParse(JSThread *thread, const JSPandaFile *jsPandaFile, CStr… in JsonParse()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_decoder.h | 82 void Update(const JSPandaFile *jsPandaFile, Callback callback) in Update() 91 void Update(const JSPandaFile *jsPandaFile, const CString &recordName, Callback callback) in Update() 100 …void GetTypeInfo(const JSPandaFile *jsPandaFile, const CString &recordName, const MethodLiteral *m… in GetTypeInfo() 118 …void MatchAndMarkMethod(const JSPandaFile *jsPandaFile, const CString &recordName, const char *met… in MatchAndMarkMethod() 188 bool GetABCIdByJSPandaFile(const JSPandaFile *jsPandaFile, ApEntityId &entryId) const in GetABCIdByJSPandaFile()
|
D | pgo_profiler_decoder.cpp | 204 bool PGOProfilerDecoder::Match(const JSPandaFile *jsPandaFile, const CString &recordName, PGOMethod… in Match() 223 void PGOProfilerDecoder::GetMismatchResult(const JSPandaFile *jsPandaFile, uint32_t &totalMethodCou… in GetMismatchResult()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | global_type_info.h | 27 explicit GlobalTypeID(const JSPandaFile *jsPandaFile, PGOSampleType pgoTypeId) in GlobalTypeID() 30 explicit GlobalTypeID(const JSPandaFile *jsPandaFile, uint32_t typeId) in GlobalTypeID() 81 explicit TypeLocation(const JSPandaFile *jsPandaFile, uint32_t methodOffset, in TypeLocation()
|
D | ts_type_parser.cpp | 47 GlobalTSTypeRef TSTypeParser::CreateGT(const JSPandaFile *jsPandaFile, const CString &recordName, u… in CreateGT() 82 GlobalTSTypeRef TSTypeParser::ParseType(const JSPandaFile *jsPandaFile, const CString &recordName, … in ParseType() 123 GlobalTSTypeRef TSTypeParser::ResolveType(const JSPandaFile *jsPandaFile, const CString &recordName, in ResolveType() 144 GlobalTSTypeRef TSTypeParser::ResolveImportType(const JSPandaFile *jsPandaFile, const CString &reco… in ResolveImportType() 185 GlobalTSTypeRef TSTypeParser::ParseIndexSigType(const JSPandaFile *jsPandaFile, const CString &reco… in ParseIndexSigType() 218 JSHandle<JSTaggedValue> TSTypeParser::ParseNonImportType(const JSPandaFile *jsPandaFile, const CStr… in ParseNonImportType() 263 JSHandle<TSClassType> TSTypeParser::ParseClassType(const JSPandaFile *jsPandaFile, const CString &r… in ParseClassType() 302 JSHandle<JSTaggedValue> TSTypeParser::ParseClassInstanceType(const JSPandaFile *jsPandaFile, in ParseClassInstanceType() 321 JSHandle<TSInterfaceType> TSTypeParser::ParseInterfaceType(const JSPandaFile *jsPandaFile, const CS… in ParseInterfaceType() 351 JSHandle<TSUnionType> TSTypeParser::ParseUnionType(const JSPandaFile *jsPandaFile, const CString &r… in ParseUnionType() [all …]
|
D | ts_manager.h | 434 inline void AddTypeToModuleVarGtMap(const JSPandaFile *jsPandaFile, const CString &recordName, in AddTypeToModuleVarGtMap() 445 inline bool HasExportGT(const JSPandaFile *jsPandaFile, const CString &recordName, in HasExportGT() 452 …inline GlobalTSTypeRef GetGTFromModuleMap(const JSPandaFile *jsPandaFile, const CString &recordNam… in GetGTFromModuleMap() 459 inline void AddResolvedExportTable(const JSPandaFile *jsPandaFile, const CString &recordName, in AddResolvedExportTable() 470 …inline bool HasResolvedExportTable(const JSPandaFile *jsPandaFile, const CString &recordName) const in HasResolvedExportTable() 476 …inline JSTaggedValue GetResolvedExportTable(const JSPandaFile *jsPandaFile, const CString &recordN… in GetResolvedExportTable() 571 …void AddElementToClassNameMap(const JSPandaFile *jsPandaFile, uint32_t offset, std::string classNa… in AddElementToClassNameMap() 576 const std::string GetClassNameByOffset(const JSPandaFile *jsPandaFile, uint32_t typeId) const in GetClassNameByOffset() 711 inline void SetBuiltinPandaFile(JSPandaFile *jsPandaFile) in SetBuiltinPandaFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | aot_compiler_preprocessor.cpp | 136 std::shared_ptr<JSPandaFile> jsPandaFile = CreateAndVerifyJSPandaFile(extendedFilePath); in GenerateAbcFileInfos() local 153 std::shared_ptr<JSPandaFile> jsPandaFile = nullptr; in CreateAndVerifyJSPandaFile() local 181 void AotCompilerPreprocessor::ResolveModule(const JSPandaFile *jsPandaFile, const std::string &file… in ResolveModule() 201 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GenerateGlobalTypes() local 243 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GeneratePGOTypes() local
|
D | pass_manager.cpp | 32 …const JSPandaFile *jsPandaFile = Method::Cast(jsFunction->GetMethod().GetTaggedObject())->GetJSPan… in Compile() local 66 auto jsPandaFile = ctx_->GetJSPandaFile(); in Compile() local 190 bool PassManager::Compile(JSPandaFile *jsPandaFile, const std::string &fileName, AOTFileGenerator &… in Compile() 224 auto jsPandaFile = ctx.GetJSPandaFile(); in Compile() local
|
D | ir_module.cpp | 21 const JSPandaFile *jsPandaFile) in GetFuncName()
|
D | type_recorder.cpp | 29 TypeRecorder::TypeRecorder(const JSPandaFile *jsPandaFile, const MethodLiteral *methodLiteral, in TypeRecorder() 45 void TypeRecorder::LoadTypes(const JSPandaFile *jsPandaFile, const MethodLiteral *methodLiteral, in LoadTypes() 134 void TypeRecorder::LoadTypesFromPGO(const JSPandaFile *jsPandaFile, const MethodLiteral *methodLite… in LoadTypesFromPGO() 153 void TypeRecorder::CreateTypesForPGO(const JSPandaFile *jsPandaFile, const MethodLiteral *methodLit… in CreateTypesForPGO() 211 void TypeRecorder::BindPgoTypeToGateType(const JSPandaFile *jsPandaFile, TSManager *tsManager, in BindPgoTypeToGateType()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
D | ts_type_parser_test.cpp | 64 JSPandaFile *jsPandaFile = nullptr; in HWTEST_F_L0() local 76 JSPandaFile *jsPandaFile = nullptr; in HWTEST_F_L0() local 141 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0() local 214 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0() local 280 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0() local 341 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0() local 407 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0() local
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | js_pt_method.h | 27 PtMethod(const JSPandaFile *jsPandaFile, EntityId methodId, bool isNative) in PtMethod()
|
D | js_pt_location.h | 31 const std::string &sourceFile = "") : jsPandaFile_(jsPandaFile), methodId_(methodId), in jsPandaFile_() argument
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 47 void Snapshot::Serialize(TaggedObject *objectHeader, const JSPandaFile *jsPandaFile, const CString … in Serialize() 176 std::shared_ptr<JSPandaFile> jsPandaFile; in Deserialize() local 198 void Snapshot::WriteToFile(std::fstream &writer, const JSPandaFile *jsPandaFile, in WriteToFile()
|