Searched refs:FROZEN (Results 1 – 6 of 6) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | template_string.cpp | 55 JSObject::SetIntegrityLevel(thread, rawObj, IntegrityLevel::FROZEN); in GetTemplateObject() 60 JSObject::SetIntegrityLevel(thread, templateObj, IntegrityLevel::FROZEN); in GetTemplateObject()
|
D | js_object.h | 44 enum IntegrityLevel { SEALED, FROZEN }; enumerator
|
D | js_object.cpp | 1446 ASSERT_PRINT((level == IntegrityLevel::SEALED || level == IntegrityLevel::FROZEN), in SetIntegrityLevel() 1507 ASSERT_PRINT((level == IntegrityLevel::SEALED || level == IntegrityLevel::FROZEN), in TestIntegrityLevel() 1536 if (level == IntegrityLevel::FROZEN && in TestIntegrityLevel()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_object.cpp | 304 …bool status = JSObject::SetIntegrityLevel(thread, JSHandle<JSObject>(obj), IntegrityLevel::FROZEN); in Freeze() 499 …ool status = JSObject::TestIntegrityLevel(thread, JSHandle<JSObject>(obj), IntegrityLevel::FROZEN); in IsFrozen()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_object_test.cpp | 547 bool status1 = JSObject::SetIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN); in HWTEST_F_L0() 580 EXPECT_EQ(false, JSObject::TestIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN)); in HWTEST_F_L0() 595 bool status1 = JSObject::SetIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN); in HWTEST_F_L0() 604 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN)); in HWTEST_F_L0() 625 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, jsobject, IntegrityLevel::FROZEN)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 1599 bool status = JSObject::SetIntegrityLevel(thread, obj, ecmascript::IntegrityLevel::FROZEN); in Freeze()
|