/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | js_pandafile_executor.cpp | 81 JSRecordInfo recordInfo; in ExecuteFromFile() local 82 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in ExecuteFromFile() 88 if (jsPandaFile->IsModule(recordInfo)) { in ExecuteFromFile() 128 JSRecordInfo recordInfo; in ExecuteFromBuffer() local 129 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in ExecuteFromBuffer() 135 if (jsPandaFile->IsModule(recordInfo)) { in ExecuteFromBuffer() 179 JSRecordInfo recordInfo; in ExecuteModuleBuffer() local 180 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in ExecuteModuleBuffer() 186 if (!jsPandaFile->IsModule(recordInfo)) { in ExecuteModuleBuffer() 262 JSRecordInfo recordInfo; in ExecuteFromBufferSecure() local [all …]
|
D | js_pandafile.h | 245 bool CheckAndGetRecordInfo(const CString &recordName, JSRecordInfo &recordInfo) const; 348 bool HasTSTypes(const JSRecordInfo &recordInfo) const in HasTSTypes() argument 350 return recordInfo.hasTSTypes; in HasTSTypes() 369 for (auto &recordInfo : jsRecordInfo_) { in DeleteParsedConstpoolVM() 370 recordInfo.second.vmListOfParsedConstPool.erase(vm); in DeleteParsedConstpoolVM()
|
D | js_pandafile.cpp | 222 bool JSPandaFile::CheckAndGetRecordInfo(const CString &recordName, JSRecordInfo &recordInfo) const in CheckAndGetRecordInfo() 225 recordInfo = jsRecordInfo_.begin()->second; in CheckAndGetRecordInfo() 230 recordInfo = info->second; in CheckAndGetRecordInfo()
|
D | literal_data_extractor.cpp | 236 JSRecordInfo recordInfo; in DefineMethodInLiteral() local 237 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in DefineMethodInLiteral() 241 if (jsPandaFile->IsModule(recordInfo)) { in DefineMethodInLiteral()
|
D | panda_file_translator.cpp | 227 auto &recordInfo = const_cast<JSPandaFile *>(jsPandaFile)->FindRecordInfo(entryPoint); in ParseFuncAndLiteralConstPool() local 230 if (recordInfo.IsParsedConstpoolOfCurrentVM(vm)) { in ParseFuncAndLiteralConstPool() 289 recordInfo.SetParsedConstpoolVM(vm); in ParseFuncAndLiteralConstPool()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | recorder.ts | 88 this.recordInfo(this.node, this.scope); 113 private recordInfo(node: ts.Node, scope: Scope): void { method in Recorder 127 this.recordInfo(childNode, functionScope); 147 this.recordInfo(childNode, functionScope); 159 this.recordInfo(childNode, localScope); 169 this.recordInfo(childNode, loopScope); 236 this.recordInfo(childNode, scope); 252 this.recordInfo(childNode, scope); 256 this.recordInfo(childNode, scope); 276 this.recordInfo(childNode, localScope);
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_data_extractor.cpp | 158 JSRecordInfo recordInfo; in JsonParse() local 159 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entryPoint, recordInfo); in JsonParse() 165 CString value = jsPandaFile->GetJsonStringId(recordInfo); in JsonParse()
|
D | js_module_manager.cpp | 480 …JSRecordInfo recordInfo = const_cast<JSPandaFile *>(jsPandaFile)->FindRecordInfo(JSPandaFile::ENTR… in ResolveModule() local 481 if (jsPandaFile->IsModule(recordInfo)) { in ResolveModule() 483 } else if (jsPandaFile->IsJson(recordInfo)) { in ResolveModule() 486 ASSERT(jsPandaFile->IsCjs(recordInfo)); in ResolveModule() 518 JSRecordInfo recordInfo; in ResolveModuleWithMerge() local 519 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(recordName, recordInfo); in ResolveModuleWithMerge() 526 if (jsPandaFile->IsModule(recordInfo)) { in ResolveModuleWithMerge() 529 } else if (jsPandaFile->IsJson(recordInfo)) { in ResolveModuleWithMerge() 532 ASSERT(jsPandaFile->IsCjs(recordInfo)); in ResolveModuleWithMerge()
|
/arkcompiler/ets_runtime/ecmascript/require/ |
D | js_cjs_module.cpp | 135 JSRecordInfo recordInfo; in Load() local 136 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(requestEntryPoint, recordInfo); in Load() 142 if (jsPandaFile->IsJson(recordInfo)) { in Load()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_job.cpp | 204 JSRecordInfo recordInfo; in DynamicImportJob() local 205 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entryPoint, recordInfo); in DynamicImportJob() 213 if (!jsPandaFile->IsModule(recordInfo)) { in DynamicImportJob()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | pass_manager.cpp | 179 const auto &recordInfo = jsPandaFile->GetJSRecordInfo(); in ResolveModule() local 183 for (auto info: recordInfo) { in ResolveModule()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
D | js_pandafile_test.cpp | 306 auto &recordInfo = pf->FindRecordInfo(JSPandaFile::ENTRY_FUNCTION_NAME); in HWTEST_F_L0() local 307 EXPECT_TRUE(!recordInfo.IsParsedConstpoolOfCurrentVM(instance)); in HWTEST_F_L0() 308 recordInfo.SetParsedConstpoolVM(instance); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_context.cpp | 258 JSRecordInfo recordInfo; in InvokeEcmaEntrypoint() local 259 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in InvokeEcmaEntrypoint() 265 if (jsPandaFile->IsModule(recordInfo)) { in InvokeEcmaEntrypoint() 282 if (jsPandaFile->IsCjs(recordInfo)) { in InvokeEcmaEntrypoint()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 410 const CUnorderedMap<CString, JSPandaFile::JSRecordInfo> &recordInfo = pf->GetJSRecordInfo(); in HWTEST_F_L0() local 417 …const_cast<CUnorderedMap<CString, JSPandaFile::JSRecordInfo> &>(recordInfo).insert({moduleRecordNa… in HWTEST_F_L0() 418 …const_cast<CUnorderedMap<CString, JSPandaFile::JSRecordInfo> &>(recordInfo).insert({result, info}); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 3607 ecmascript::JSRecordInfo recordInfo; in InitForConcurrentFunction() local 3608 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(recordName, recordInfo); in InitForConcurrentFunction() 3613 if (!jsPandaFile->IsModule(recordInfo)) { in InitForConcurrentFunction()
|