Home
last modified time | relevance | path

Searched refs:recordInfo (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_executor.cpp81 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 …]
Djs_pandafile.h245 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()
Djs_pandafile.cpp222 bool JSPandaFile::CheckAndGetRecordInfo(const CString &recordName, JSRecordInfo &recordInfo) const in CheckAndGetRecordInfo()
225 recordInfo = jsRecordInfo_.begin()->second; in CheckAndGetRecordInfo()
230 recordInfo = info->second; in CheckAndGetRecordInfo()
Dliteral_data_extractor.cpp236 JSRecordInfo recordInfo; in DefineMethodInLiteral() local
237 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entry, recordInfo); in DefineMethodInLiteral()
241 if (jsPandaFile->IsModule(recordInfo)) { in DefineMethodInLiteral()
Dpanda_file_translator.cpp227 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/
Drecorder.ts88 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/
Dmodule_data_extractor.cpp158 JSRecordInfo recordInfo; in JsonParse() local
159 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entryPoint, recordInfo); in JsonParse()
165 CString value = jsPandaFile->GetJsonStringId(recordInfo); in JsonParse()
Djs_module_manager.cpp480 …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/
Djs_cjs_module.cpp135 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/
Dbuiltins_promise_job.cpp204 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/
Dpass_manager.cpp179 const auto &recordInfo = jsPandaFile->GetJSRecordInfo(); in ResolveModule() local
183 for (auto info: recordInfo) { in ResolveModule()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_test.cpp306 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/
Decma_context.cpp258 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/
Decma_module_test.cpp410 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/
Djsnapi.cpp3607 ecmascript::JSRecordInfo recordInfo; in InitForConcurrentFunction() local
3608 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(recordName, recordInfo); in InitForConcurrentFunction()
3613 if (!jsPandaFile->IsModule(recordInfo)) { in InitForConcurrentFunction()