Searched refs:NativeModuleLoader (Results 1 – 9 of 9) sorted by relevance
20 NativeModuleLoader NativeModuleLoader::instance_;22 NativeModuleLoader::NativeModuleLoader() : config_(GetConfig()) { in NativeModuleLoader() function in node::native_module::NativeModuleLoader26 NativeModuleLoader* NativeModuleLoader::GetInstance() { in GetInstance()30 bool NativeModuleLoader::Exists(const char* id) { in Exists()34 bool NativeModuleLoader::Add(const char* id, const UnionBytes& source) { in Add()42 Local<Object> NativeModuleLoader::GetSourceObject(Local<Context> context) { in GetSourceObject()52 Local<String> NativeModuleLoader::GetConfigString(Isolate* isolate) { in GetConfigString()56 std::vector<std::string> NativeModuleLoader::GetModuleIds() { in GetModuleIds()65 void NativeModuleLoader::InitializeModuleCategories() { in InitializeModuleCategories()140 const std::set<std::string>& NativeModuleLoader::GetCannotBeRequired() { in GetCannotBeRequired()[all …]
32 class NativeModuleLoader {34 NativeModuleLoader(const NativeModuleLoader&) = delete;35 NativeModuleLoader& operator=(const NativeModuleLoader&) = delete;42 NativeModuleLoader();43 static NativeModuleLoader* GetInstance();84 static NativeModuleLoader instance_;
36 return NativeModuleLoader::GetInstance()->Add(id, source); in Add()40 return NativeModuleLoader::GetInstance()->Exists(id); in Exists()44 return NativeModuleLoader::GetInstance()->GetSourceObject(context); in GetSourceObject()48 return NativeModuleLoader::GetInstance()->GetConfigString(isolate); in GetConfigString()60 NativeModuleLoader::GetInstance()->GetCannotBeRequired(); in GetModuleCategories()62 NativeModuleLoader::GetInstance()->GetCanBeRequired(); in GetModuleCategories()105 NativeModuleLoader::GetInstance()->GetModuleIds(); in ModuleIdsGetter()116 NativeModuleLoader::Result result, in RecordResult()118 if (result == NativeModuleLoader::Result::kWithCache) { in RecordResult()129 NativeModuleLoader::Result result; in CompileFunction()[all …]
42 NativeModuleLoader::Result result,
47 class NativeModuleLoader; variable
9 using node::native_module::NativeModuleLoader;15 return NativeModuleLoader::instance_.source_; in get_sources_for_test()
120 NativeModuleLoader* loader = NativeModuleLoader::GetInstance(); in Generate()131 NativeModuleLoader::Result result; in Generate()
1444 …(https://github.com/nodejs/node/commit/d245c4cd50)] - **src**: use NativeModuleLoader to compile a…1914 …(https://github.com/nodejs/node/commit/c708abb3ba)] - **src**: use NativeModuleLoader to compile p…
3924 …e99425)] - **src**: make a Environment-independent proxy class for NativeModuleLoader (Joyee Cheun…