/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_object.h | 67 V("preventExtensions", PreventExtensions, 1, INVALID) \ 135 static JSTaggedValue PreventExtensions(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_reflect.cpp | 277 BUILTINS_API_TRACE(argv->GetThread(), Reflect, PreventExtensions); in ReflectPreventExtensions() 286 // 2. Return ? target.[[PreventExtensions]](). in ReflectPreventExtensions() 287 return GetTaggedBoolean(JSTaggedValue::PreventExtensions(thread, target)); in ReflectPreventExtensions()
|
H A D | builtins_object.cpp | 664 JSTaggedValue BuiltinsObject::PreventExtensions(EcmaRuntimeCallInfo *argv) in PreventExtensions() function in panda::ecmascript::builtins::BuiltinsObject 668 BUILTINS_API_TRACE(thread, Object, PreventExtensions); in PreventExtensions() 675 // 2. Let status be O.[[PreventExtensions]](). in PreventExtensions() 676 bool status = JSTaggedValue::PreventExtensions(thread, obj); in PreventExtensions() 684 THROW_TYPE_ERROR_AND_RETURN(thread, "PreventExtensions: preventExtensions failed", in PreventExtensions()
|
H A D | builtins.cpp | 1298 JSObject::PreventExtensions(thread_, JSHandle<JSObject>::Cast(throwTypeErrorFunction)); in InitializeError()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_namespace.h | 38 // 9.4.6.3[[PreventExtensions]] 39 static bool PreventExtensions();
|
H A D | js_module_namespace.cpp | 211 bool ModuleNamespace::PreventExtensions() in PreventExtensions() function in panda::ecmascript::ModuleNamespace
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_proxy.h | 37 // ES6 9.5.4 [[PreventExtensions]] ( ) 38 static bool PreventExtensions(JSThread *thread, const JSHandle<JSProxy> &proxy);
|
H A D | js_tagged_value.cpp | 1270 bool JSTaggedValue::PreventExtensions(JSThread *thread, const JSHandle<JSTaggedValue> &obj) in PreventExtensions() function in panda::ecmascript::JSTaggedValue 1273 return JSProxy::PreventExtensions(thread, JSHandle<JSProxy>(obj)); in PreventExtensions() 1276 return ModuleNamespace::PreventExtensions(); in PreventExtensions() 1278 return JSObject::PreventExtensions(thread, JSHandle<JSObject>(obj)); in PreventExtensions()
|
H A D | js_proxy.cpp | 219 // ES6 9.5.4 [[PreventExtensions]] ( ) 220 bool JSProxy::PreventExtensions(JSThread *thread, const JSHandle<JSProxy> &proxy) in PreventExtensions() function in panda::ecmascript::JSProxy 231 // a. Return target.[[PreventExtensions]](). in PreventExtensions() 236 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::PreventExtensions: handler is null", false); in PreventExtensions() 246 return JSTaggedValue::PreventExtensions(thread, targetHandle); in PreventExtensions() 263 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::PreventExtensions: targetIsExtensible is true", false); in PreventExtensions()
|
H A D | js_tagged_value.h | 455 static bool PreventExtensions(JSThread *thread, const JSHandle<JSTaggedValue> &obj);
|
H A D | runtime_call_id.h | 667 V(Object, PreventExtensions) \ 730 V(Reflect, PreventExtensions) \
|
H A D | js_object.h | 493 // [[PreventExtensions]] 494 static bool PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj);
|
H A D | js_object.cpp | 1555 bool JSObject::PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj) in PreventExtensions() function in panda::ecmascript::JSObject 1820 bool status = JSTaggedValue::PreventExtensions(thread, JSHandle<JSTaggedValue>(obj)); in SetIntegrityLevel()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | shared_object_factory_test.cpp | 38 ModuleNamespace::PreventExtensions(); in HWTEST_F_L0()
|
H A D | js_proxy_test.cpp | 398 // ES6 9.5.4 [[PreventExtensions]] ( ) 399 HWTEST_F_L0(JSProxyTest, PreventExtensions) in HWTEST_F_L0() 402 // 1. handler has no "PreventExtensions" in HWTEST_F_L0() 413 bool status1 = JSProxy::PreventExtensions(thread, proxyHandle); in HWTEST_F_L0() 418 // 2. handler has "PreventExtensions" in HWTEST_F_L0() 428 EXPECT_FALSE(JSProxy::PreventExtensions(thread, proxyHandle2)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/ |
H A D | jsvaluerefismodulenamespace_fuzzer.cpp | 60 ModuleNamespace::PreventExtensions(); in IsModuleNamespaceObjectFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_object_test.cpp | 643 HWTEST_F_L0(BuiltinsObjectTest, PreventExtensions) in HWTEST_F_L0() 653 JSTaggedValue result = BuiltinsObject::PreventExtensions(ecmaRuntimeCallInfo); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_second_tests.cpp | 1171 EXPECT_TRUE(ModuleNamespace::PreventExtensions()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 289 reinterpret_cast<uintptr_t>(Object::PreventExtensions),
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_private.cpp | 198 JSObject::PreventExtensions(thread, JSHandle<JSObject>::Cast(value)); in SetFrozenConstructor()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
H A D | ecma_module_test.cpp | 730 EXPECT_TRUE(ModuleNamespace::PreventExtensions()); in HWTEST_F_L0()
|