Home
last modified time | relevance | path

Searched refs:NativeModuleLoader (Results 1 – 9 of 9) sorted by relevance

/third_party/node/src/
Dnode_native_module.cc20 NativeModuleLoader NativeModuleLoader::instance_;
22 NativeModuleLoader::NativeModuleLoader() : config_(GetConfig()) { in NativeModuleLoader() function in node::native_module::NativeModuleLoader
26 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 …]
Dnode_native_module.h32 class NativeModuleLoader {
34 NativeModuleLoader(const NativeModuleLoader&) = delete;
35 NativeModuleLoader& operator=(const NativeModuleLoader&) = delete;
42 NativeModuleLoader();
43 static NativeModuleLoader* GetInstance();
84 static NativeModuleLoader instance_;
Dnode_native_module_env.cc36 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 …]
Dnode_native_module_env.h42 NativeModuleLoader::Result result,
Dnode_internals.h47 class NativeModuleLoader; variable
/third_party/node/test/cctest/
Dtest_per_process.cc9 using node::native_module::NativeModuleLoader;
15 return NativeModuleLoader::instance_.source_; in get_sources_for_test()
/third_party/node/tools/code_cache/
Dcache_builder.cc120 NativeModuleLoader* loader = NativeModuleLoader::GetInstance(); in Generate()
131 NativeModuleLoader::Result result; in Generate()
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md1444 …(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…
DCHANGELOG_V12.md3924 …e99425)] - **src**: make a Environment-independent proxy class for NativeModuleLoader (Joyee Cheun…