Home
last modified time | relevance | path

Searched refs:Realm (Results 1 – 25 of 52) sorted by relevance

123

/third_party/node/src/
Dnode_realm-inl.h11 inline Realm* Realm::GetCurrent(v8::Isolate* isolate) { in GetCurrent()
17 inline Realm* Realm::GetCurrent(v8::Local<v8::Context> context) { in GetCurrent()
19 return static_cast<Realm*>( in GetCurrent()
23 inline Realm* Realm::GetCurrent( in GetCurrent()
29 inline Realm* Realm::GetCurrent(const v8::PropertyCallbackInfo<T>& info) { in GetCurrent()
33 inline IsolateData* Realm::isolate_data() const { in isolate_data()
37 inline Environment* Realm::env() const { in env()
41 inline v8::Isolate* Realm::isolate() const { in isolate()
45 inline bool Realm::has_run_bootstrapping_code() const { in has_run_bootstrapping_code()
51 inline T* Realm::GetBindingData(const v8::PropertyCallbackInfo<U>& info) { in GetBindingData()
[all …]
Dnode_realm.h44 class Realm : public MemoryRetainer {
46 static inline Realm* GetCurrent(v8::Isolate* isolate);
47 static inline Realm* GetCurrent(v8::Local<v8::Context> context);
48 static inline Realm* GetCurrent(
51 static inline Realm* GetCurrent(const v8::PropertyCallbackInfo<T>& info);
53 Realm(Environment* env,
56 ~Realm();
58 Realm(const Realm&) = delete;
59 Realm& operator=(const Realm&) = delete;
60 Realm(Realm&&) = delete;
[all …]
Dnode_realm.cc21 Realm::Realm(Environment* env, in Realm() function in node::Realm
35 Realm::~Realm() { in ~Realm()
39 void Realm::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
51 void Realm::CreateProperties() { in CreateProperties()
95 RealmSerializeInfo Realm::Serialize(SnapshotCreator* creator) { in Serialize()
125 void Realm::DeserializeProperties(const RealmSerializeInfo* info) { in DeserializeProperties()
166 MaybeLocal<Value> Realm::ExecuteBootstrapper(const char* id) { in ExecuteBootstrapper()
185 MaybeLocal<Value> Realm::BootstrapNode() { in BootstrapNode()
225 MaybeLocal<Value> Realm::RunBootstrapping() { in RunBootstrapping()
244 void Realm::DoneBootstrapping() { in DoneBootstrapping()
[all …]
Dnode_builtins.h24 class Realm; variable
58 Realm* optional_realm);
64 Realm* optional_realm);
68 Realm* realm);
116 Realm* realm);
Dnode_builtins.cc360 Realm* optional_realm) { in LookupAndCompile()
423 Realm* realm) { in CompileAndCall()
478 Realm* optional_realm) { in CompileAndCall()
574 Realm* realm = Realm::GetCurrent(args); in GetCacheUsage()
640 Realm* realm) { in RecordResult()
649 Realm* realm = Realm::GetCurrent(args); in CompileFunction()
669 Realm* realm = Realm::GetCurrent(args); in SetInternalLoaders()
Dnode_v8.cc95 BindingData::BindingData(Realm* realm, Local<Object> obj) in BindingData()
135 Realm* realm = Realm::GetCurrent(context); in Deserialize()
173 BindingData* data = Realm::GetBindingData<BindingData>(args); in UpdateHeapStatisticsBuffer()
184 BindingData* data = Realm::GetBindingData<BindingData>(args); in UpdateHeapSpaceStatisticsBuffer()
199 BindingData* data = Realm::GetBindingData<BindingData>(args); in UpdateHeapCodeStatisticsBuffer()
398 Realm* realm = Realm::GetCurrent(context); in Initialize()
Dnode_url.cc31 BindingData::BindingData(Realm* realm, v8::Local<v8::Object> object) in BindingData()
64 Realm* realm = Realm::GetCurrent(context); in Deserialize()
197 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in Parse()
232 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in Update()
343 Realm* realm = Realm::GetCurrent(context); in Initialize()
Dnode_process.h16 class Realm; variable
45 v8::MaybeLocal<v8::Object> CreateProcessObject(Realm* env);
59 BindingData(Realm* realm, v8::Local<v8::Object> object);
Dbase_object.h36 class Realm; variable
53 BaseObject(Realm* realm, v8::Local<v8::Object> object);
71 inline Realm* realm() const;
229 Realm* realm_;
Dnode_blob.cc40 Realm* realm = Realm::GetCurrent(context); in Initialize()
239 BlobBindingData* binding_data = Realm::GetBindingData<BlobBindingData>(args); in StoreDataObject()
262 BlobBindingData* binding_data = Realm::GetBindingData<BlobBindingData>(args); in RevokeDataObject()
273 BlobBindingData* binding_data = Realm::GetBindingData<BlobBindingData>(args); in GetDataObject()
428 BlobBindingData::BlobBindingData(Realm* realm, Local<Object> wrap) in BlobBindingData()
465 Realm* realm = Realm::GetCurrent(context); in Deserialize()
Dnode_util.h19 WeakReference(Realm* realm,
37 WeakReference(Realm* realm,
DREADME.md99 * Given a [`Realm`][], using `realm->isolate()`.
269 principal [`Realm`][] of an [`Environment`][] instance, and a number of
274 `Realm`. The only exception at the time of writing are [`MessagePort`][]
284 principal [`Realm`][]'s context.
285 * Given a [`Realm`][], using `realm->context()` to get the `Realm`'s
313 * One principal [`Realm`][]
316 different built-in modules that can be shared across different `Realm`
333 ### `Realm`
335 The `Realm` class is a container for a set of JavaScript objects and functions
340 the Node.js [`Realm`][] object.
[all …]
Dnode_snapshotable.h88 SnapshotableObject(Realm* realm,
121 void SerializeSnapshotableObjects(Realm* realm,
Dnode_util.cc201 WeakReference::WeakReference(Realm* realm, in WeakReference()
206 WeakReference::WeakReference(Realm* realm, in WeakReference()
268 Realm::GetCurrent(context), holder, target, weak_info->reference_count); in Deserialize()
272 Realm* realm = Realm::GetCurrent(args); in New()
Dnode_process_methods.cc462 BindingData::BindingData(Realm* realm, v8::Local<v8::Object> object) in BindingData()
561 Realm* realm = Realm::GetCurrent(context); in Deserialize()
571 Realm* realm = Realm::GetCurrent(context); in Initialize()
Dnode_v8.h21 BindingData(Realm* realm, v8::Local<v8::Object> obj);
Dnode_url.h35 explicit BindingData(Realm* realm, v8::Local<v8::Object> obj);
Dnode_http2_state.h86 Http2State(Realm* realm, v8::Local<v8::Object> obj) in Http2State()
Dnode_binding.cc619 static Local<Object> InitInternalBinding(Realm* realm, node_module* mod) { in InitInternalBinding()
633 Realm* realm = Realm::GetCurrent(args); in GetInternalBinding()
Dnode_file.cc255 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in New()
315 BindingData* bd = Realm::GetBindingData<BindingData>(context); in Deserialize()
710 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in NewFSReqCallback()
1116 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in Stat()
1149 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in LStat()
1183 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in FStat()
1215 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in StatFs()
1930 BindingData* binding_data = Realm::GetBindingData<BindingData>(args); in OpenFileHandle()
2620 BindingData::BindingData(Realm* realm, v8::Local<v8::Object> wrap) in BindingData()
2655 Realm* realm = Realm::GetCurrent(context); in Deserialize()
[all …]
/third_party/node/test/cctest/
Dtest_base_object_ptr.cc13 using node::Realm;
51 Realm* realm = env->principal_realm(); in TEST_F()
66 Realm* realm = env->principal_realm(); in TEST_F()
85 Realm* realm = env->principal_realm(); in TEST_F()
90 EXPECT_EQ(static_cast<Realm*>(arg)->base_object_count(), 0); in TEST_F()
103 Realm* realm = env->principal_realm(); in TEST_F()
136 Realm* realm = env->principal_realm(); in TEST_F()
175 Realm* realm = env->principal_realm(); in TEST_F()
180 EXPECT_EQ(static_cast<Realm*>(arg)->base_object_count(), 0); in TEST_F()
/third_party/node/deps/v8/tools/testrunner/
Dtrycatch_loader.js31 let realm = Realm.create();
33 Realm.eval(realm, preambleString + "d8.file.execute(\"" + jstest + "\");");
37 Realm.dispose(realm);
/third_party/node/src/quic/
Dbindingdata.cc28 return *Realm::GetBindingData<BindingData>(env->context()); in Get()
62 Realm::GetCurrent(env->context()) in Initialize()
72 BindingData::BindingData(Realm* realm, Local<Object> object) in BindingData()
/third_party/node/deps/v8/src/builtins/
Dfinalization-registry.tq112 // "%FinalizationRegistryPrototype%", « [[Realm]], [[CleanupCallback]],
118 // 5. Set finalizationRegistry.[[Realm]] to fn.[[Realm]].
/third_party/curl/tests/data/
Dtest28115 WWW-Authenticate: Basic Realm=authenticate

123