Home
last modified time | relevance | path

Searched refs:global_obj (Results 1 – 10 of 10) sorted by relevance

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-method-register.c91 jerry_value_t global_obj = jerry_get_global_object (); in test_simple_registration() local
92 jerryx_set_property_str (global_obj, "test", target_object); in test_simple_registration()
94 jerry_release_value (global_obj); in test_simple_registration()
174 jerry_value_t global_obj = jerry_get_global_object (); in test_error_setvalue() local
175 freeze_property (global_obj, target_prop); in test_error_setvalue()
178 jerry_value_t set_result = jerryx_set_property_str (global_obj, target_prop, new_object); in test_error_setvalue()
183 jerry_release_value (global_obj); in test_error_setvalue()
/third_party/jerryscript/tests/unit-core/
Dtest-dataview.cpp100 jerry_value_t global_obj = jerry_get_global_object (); variable
103 TEST_ASSERT (jerry_set_property (global_obj, view1_str, view1));
104 TEST_ASSERT (jerry_set_property (global_obj, view2_str, view2));
108 jerry_release_value (global_obj);
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DsetTimeout-js.cpp63 jerry_value_t global_obj = jerry_get_global_object(); in DECLARE_GLOBAL_FUNCTION() local
65 jerry_value_t func_obj = jerry_get_property(global_obj, prop_name); in DECLARE_GLOBAL_FUNCTION()
70 jerry_release_value(global_obj); in DECLARE_GLOBAL_FUNCTION()
DsetInterval-js.cpp63 jerry_value_t global_obj = jerry_get_global_object(); in DECLARE_GLOBAL_FUNCTION() local
65 jerry_value_t func_obj = jerry_get_property(global_obj, prop_name); in DECLARE_GLOBAL_FUNCTION()
70 jerry_release_value(global_obj); in DECLARE_GLOBAL_FUNCTION()
/third_party/node/deps/v8/src/wasm/
Dwasm-js.cc1452 i::Handle<i::WasmGlobalObject> global_obj; in WebAssemblyGlobal() local
1453 if (!maybe_global_obj.ToHandle(&global_obj)) { in WebAssemblyGlobal()
1465 if (!TransferPrototype(i_isolate, global_obj, in WebAssemblyGlobal()
1476 global_obj->SetI32(i32_value); in WebAssemblyGlobal()
1482 global_obj->SetI64(i64_value); in WebAssemblyGlobal()
1488 global_obj->SetF32(f32_value); in WebAssemblyGlobal()
1494 global_obj->SetF64(f64_value); in WebAssemblyGlobal()
1504 global_obj->SetExternRef(i_isolate->factory()->null_value()); in WebAssemblyGlobal()
1507 global_obj->SetExternRef(Utils::OpenHandle(*value)); in WebAssemblyGlobal()
1514 global_obj->SetFuncRef(i_isolate, in WebAssemblyGlobal()
[all …]
Dwasm-objects.cc1034 auto global_obj = Handle<WasmGlobalObject>::cast( in New() local
1039 if (!instance.is_null()) global_obj->set_instance(*instance); in New()
1040 global_obj->set_type(type); in New()
1041 global_obj->set_offset(offset); in New()
1042 global_obj->set_is_mutable(is_mutable); in New()
1054 global_obj->set_tagged_buffer(*tagged_buffer); in New()
1071 global_obj->set_untagged_buffer(*untagged_buffer); in New()
1074 return global_obj; in New()
Dmodule-instantiate.cc1890 Handle<WasmGlobalObject> global_obj = in ProcessExports() local
1895 desc.set_value(global_obj); in ProcessExports()
/third_party/node/deps/v8/src/runtime/
Druntime-regexp.cc1831 Handle<Object> global_obj; in RUNTIME_FUNCTION() local
1833 isolate, global_obj, in RUNTIME_FUNCTION()
1835 const bool global = global_obj->BooleanValue(isolate); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/objects/
Djs-objects.cc2661 Handle<JSGlobalObject> global_obj = Handle<JSGlobalObject>::cast(object); in SetNormalizedProperty() local
2663 global_obj->global_dictionary(kAcquireLoad), isolate); in SetNormalizedProperty()
2668 DCHECK_IMPLIES(global_obj->map().is_prototype_map(), in SetNormalizedProperty()
2669 Map::IsPrototypeChainInvalidated(global_obj->map())); in SetNormalizedProperty()
2676 global_obj->set_global_dictionary(*dictionary, kReleaseStore); in SetNormalizedProperty()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.cc1198 JSGlobalObject global_obj = JSGlobalObject::cast(obj); in ExtractJSObjectReferences() local
1199 SetInternalReference(entry, "native_context", global_obj.native_context(), in ExtractJSObjectReferences()
1201 SetInternalReference(entry, "global_proxy", global_obj.global_proxy(), in ExtractJSObjectReferences()