Lines Matching full:module
33 void CjsModule::InitializeModule(JSThread *thread, JSHandle<CjsModule> &module, in InitializeModule() argument
39 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), dirKey.GetTaggedValue(), in InitializeModule()
42 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), filenameKey.GetTaggedValue(), in InitializeModule()
44 module->SetFilename(thread, filename.GetTaggedValue()); in InitializeModule()
45 module->SetPath(thread, dirname.GetTaggedValue()); in InitializeModule()
75 void CjsModule::PutIntoCache(JSThread *thread, JSHandle<CjsModule> &module, JSHandle<JSTaggedValue>… in PutIntoCache() argument
87 JSHandle<JSTaggedValue> moduleHandle = JSHandle<JSTaggedValue>::Cast(module); in PutIntoCache()
121 // Search from Module.cache in Load()
128 // module = new Module(), which belongs to required JSPandaFile. in Load()
129 JSHandle<CjsModule> module = factory->NewCjsModule(); in Load() local
131 InitializeModule(thread, module, filename, dirname); in Load()
132 PutIntoCache(thread, module, filename); in Load()
137 // Set module.exports ---> exports in Load()
139 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsKey.GetTaggedValue(), in Load()
149 // Search from Module.cache after execution. in Load()
152 …LOG_ECMA(ERROR) << "CJS REQUIRE FAIL : Can not obtain module, after executing required jsPandaFile… in Load()