Home
last modified time | relevance | path

Searched refs:global_object (Results 1 – 25 of 33) sorted by relevance

12

/third_party/jerryscript/targets/particle/source/
Dmain.cpp94 jerry_value_t global_object = jerry_get_global_object (); in init_jerry() local
98 jerry_release_value (jerry_set_property (global_object, prop_name, object)); in init_jerry()
101 jerry_release_value (global_object); in init_jerry()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc388 Handle<WasmGlobalObject> global_object);
1388 const WasmGlobal& global, Handle<WasmGlobalObject> global_object) { in ProcessImportedWasmGlobalObject() argument
1389 if (static_cast<bool>(global_object->is_mutable()) != global.mutability) { in ProcessImportedWasmGlobalObject()
1396 !global_object->instance().IsUndefined() in ProcessImportedWasmGlobalObject()
1397 ? WasmInstanceObject::cast(global_object->instance()).module() in ProcessImportedWasmGlobalObject()
1402 ? EquivalentTypes(global_object->type(), global.type, in ProcessImportedWasmGlobalObject()
1404 : IsSubtypeOf(global_object->type(), global.type, global_type_module, in ProcessImportedWasmGlobalObject()
1417 static_assert(sizeof(global_object->offset()) <= sizeof(Address), in ProcessImportedWasmGlobalObject()
1420 buffer = handle(global_object->tagged_buffer(), isolate_); in ProcessImportedWasmGlobalObject()
1423 address_or_offset = static_cast<Address>(global_object->offset()); in ProcessImportedWasmGlobalObject()
[all …]
Dwasm-js.cc2768 Handle<JSGlobalObject> global = isolate->global_object(); in Install()
2991 Handle<JSGlobalObject> global = handle(context->global_object(), isolate); in InstallConditionalFeatures()
/third_party/node/deps/v8/include/
Dv8-context.h88 MaybeLocal<Value> global_object = MaybeLocal<Value>(),
116 MaybeLocal<Value> global_object = MaybeLocal<Value>(),
138 MaybeLocal<Value> global_object = MaybeLocal<Value>());
/third_party/node/deps/v8/src/init/
Dbootstrapper.cc218 void HookUpGlobalObject(Handle<JSGlobalObject> global_object);
227 void InitializeGlobal(Handle<JSGlobalObject> global_object,
1350 Handle<JSGlobalObject> global_object = in CreateNewGlobals() local
1379 global_object->set_native_context(*native_context()); in CreateNewGlobals()
1380 global_object->set_global_proxy(*global_proxy); in CreateNewGlobals()
1392 return global_object; in CreateNewGlobals()
1401 Handle<JSObject> global_object( in HookUpGlobalProxy() local
1402 JSObject::cast(native_context()->global_object()), isolate()); in HookUpGlobalProxy()
1403 JSObject::ForceSetPrototype(isolate(), global_proxy, global_object); in HookUpGlobalProxy()
1408 void Genesis::HookUpGlobalObject(Handle<JSGlobalObject> global_object) { in HookUpGlobalObject() argument
[all …]
/third_party/node/deps/v8/src/execution/
Dexecution.cc205 Handle<JSGlobalObject> global_object(native_context->global_object(), in NewScriptContext() local
240 LookupIterator it(isolate, global_object, name, global_object, in NewScriptContext()
259 JSGlobalObject::InvalidatePropertyCell(global_object, name); in NewScriptContext()
316 DCHECK(function->context().global_object().IsJSGlobalObject()); in Invoke()
Disolate-inl.h117 Handle<JSGlobalObject> Isolate::global_object() { in global_object() function
118 return handle(context().global_object(), this); in global_object()
Disolate.h854 inline Handle<JSGlobalObject> global_object();
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md242 jerry_value_t global_object = jerry_get_global_object ();
248 …jerry_value_t set_result = jerry_set_property (global_object, property_name_print, property_value_…
259 jerry_release_value (global_object);
362 jerry_value_t global_object = jerry_get_global_object ();
368 …jerry_value_t set_result = jerry_set_property (global_object, property_name_print, property_value_…
379 jerry_release_value (global_object);
511 jerry_value_t global_object = jerry_get_global_object ();
518 jerry_value_t set_result = jerry_set_property (global_object, prop_name, prop_value);
530 jerry_release_value (global_object);
888 jerry_value_t global_object = jerry_get_global_object ();
[all …]
D02.API-REFERENCE.md5016 jerry_value_t global_object = jerry_get_global_object ();
5019 jerry_value_t has_prop_js = jerry_has_property (global_object, prop_name);
5024 jerry_release_value (global_object);
5076 jerry_value_t global_object = jerry_get_global_object ();
5079 jerry_value_t has_prop_js = jerry_has_own_property (global_object, prop_name);
5084 jerry_release_value (global_object);
5138 jerry_value_t global_object = jerry_get_global_object ();
5141 bool has_internal_js_prop = jerry_has_internal_property (global_object, prop_name);
5144 jerry_release_value (global_object);
5181 jerry_value_t global_object = jerry_get_global_object ();
[all …]
/third_party/node/deps/v8/src/codegen/
Doptimized-compilation-info.cc213 JSGlobalObject OptimizedCompilationInfo::global_object() const { in global_object() function in v8::internal::OptimizedCompilationInfo
215 return native_context().global_object(); in global_object()
Doptimized-compilation-info.h150 JSGlobalObject global_object() const;
/third_party/node/deps/v8/src/objects/
Dcontexts.h613 V8_EXPORT_PRIVATE JSGlobalObject global_object() const;
741 JSGlobalObject global_object() { return Context::global_object(); } in global_object() function
742 JSGlobalObject global_object(AcquireLoadTag) { in global_object() function
743 return Context::global_object(); in global_object()
Dcontexts.cc148 JSGlobalObject Context::global_object() const { in global_object() function in v8::internal::Context
244 context->global_object().native_context().script_context_table(); in Lookup()
Dobjects-inl.h438 JSGlobalObject global = proxy.GetIsolate()->context().global_object(); in DEF_GETTER()
/third_party/node/deps/v8/src/debug/
Ddebug-scopes.cc524 DCHECK(context_->global_object().IsJSGlobalObject()); in Type()
713 context_->global_object().native_context().script_context_table().Print( in DebugPrint()
736 Handle<JSGlobalObject> global(context_->global_object(), isolate_); in VisitScriptScope()
1096 context_->global_object().native_context().script_context_table(), in SetScriptVariableValue()
/third_party/node/deps/v8/src/runtime/
Druntime-scopes.cc179 Handle<JSGlobalObject> global(isolate->global_object()); in RUNTIME_FUNCTION()
275 DCHECK(context->global_object().IsJSGlobalObject()); in DeclareEvalHelper()
277 JSGlobalObject::cast(context->global_object()), isolate); in DeclareEvalHelper()
818 object = handle(context->global_object(), isolate); in StoreLookupSlot()
/third_party/node/deps/v8/src/snapshot/
Dcontext-serializer.cc102 DCHECK(!context_.global_object().IsUndefined()); in Serialize()
/third_party/node/deps/v8/src/compiler/
Djs-native-context-specialization.h249 Handle<JSGlobalObject> global_object() const { return global_object_; } in global_object() function
Dheap-refs.h530 V(JSGlobalObject, global_object) \
Dheap-refs.cc2229 return !proxy_proto.equals(global_object()); in GlobalIsDetached()
2237 broker()->target_native_context().global_object().object(), in GetPropertyCell()
/third_party/node/deps/v8/src/ic/
Dic.cc525 Handle<JSGlobalObject> global = isolate()->global_object(); in Load()
1692 Handle<JSGlobalObject> global = isolate()->global_object(); in Store()
2700 receiver = isolate->global_object(); in RUNTIME_FUNCTION()
2750 Handle<JSGlobalObject> global = isolate->global_object(); in RUNTIME_FUNCTION()
2923 Handle<JSGlobalObject> global = isolate->global_object(); in RUNTIME_FUNCTION()
2962 Handle<JSGlobalObject> global = isolate->global_object(); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/d8/
Dd8.cc1772 v8::MaybeLocal<Value> global_object) { in CreateRealm() argument
1793 Context::New(isolate, nullptr, global_template, global_object); in CreateRealm()
1847 v8::MaybeLocal<Value> global_object = context->Global(); in RealmNavigate() local
1851 if (!global_object.IsEmpty()) { in RealmNavigate()
1853 if (!Utils::OpenHandle(*global_object.ToLocalChecked()) in RealmNavigate()
1855 global_object = v8::MaybeLocal<Value>(); in RealmNavigate()
1860 CreateRealm(args, index, global_object); in RealmNavigate()
Dd8.h756 v8::MaybeLocal<Value> global_object);
/third_party/node/deps/v8/src/api/
Dapi.cc6396 v8::MaybeLocal<Value> global_object, size_t context_snapshot_index, in NewContext() argument
6411 isolate, extensions, global_template, global_object, in NewContext()
6423 v8::MaybeLocal<Value> global_object, in New() argument
6427 global_object, 0, internal_fields_deserializer, in New()
6434 v8::ExtensionConfiguration* extensions, MaybeLocal<Value> global_object, in FromSnapshot() argument
6443 global_object, index_including_default_context, in FromSnapshot()
6449 v8::MaybeLocal<v8::Value> global_object) { in NewRemoteContext() argument
6465 isolate, nullptr, global_template, global_object, 0, in NewRemoteContext()
6482 env->set_security_token(env->global_object()); in UseDefaultSecurityToken()
6512 context->global_object())) { in Global()
[all …]

12