Searched refs:IntegrityLevel (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 }; enum 413 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve… 415 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
|
D | js_object.cpp | 1448 bool JSObject::SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel le… in SetIntegrityLevel() 1451 ASSERT_PRINT((level == IntegrityLevel::SEALED || level == IntegrityLevel::FROZEN), in SetIntegrityLevel() 1469 if (level == IntegrityLevel::SEALED) { in SetIntegrityLevel() 1509 bool JSObject::TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel l… in TestIntegrityLevel() 1512 ASSERT_PRINT((level == IntegrityLevel::SEALED || level == IntegrityLevel::FROZEN), in TestIntegrityLevel() 1541 if (level == IntegrityLevel::FROZEN && in TestIntegrityLevel()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_object_test.cpp | 522 bool status1 = JSObject::SetIntegrityLevel(thread, jsobject, IntegrityLevel::SEALED); in HWTEST_F_L0() 547 bool status1 = JSObject::SetIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN); in HWTEST_F_L0() 571 bool status1 = JSObject::SetIntegrityLevel(thread, obj1, IntegrityLevel::SEALED); in HWTEST_F_L0() 579 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, obj1, IntegrityLevel::SEALED)); 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() 603 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, obj1, IntegrityLevel::SEALED)); in HWTEST_F_L0() 604 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, obj1, IntegrityLevel::FROZEN)); in HWTEST_F_L0() 618 bool status1 = JSObject::SetIntegrityLevel(thread, jsobject, IntegrityLevel::SEALED); in HWTEST_F_L0() 624 EXPECT_EQ(true, JSObject::TestIntegrityLevel(thread, jsobject, IntegrityLevel::SEALED)); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_object.cpp | 304 …bool status = JSObject::SetIntegrityLevel(thread, JSHandle<JSObject>(obj), IntegrityLevel::FROZEN); in Freeze() 499 …bool status = JSObject::TestIntegrityLevel(thread, JSHandle<JSObject>(obj), IntegrityLevel::FROZEN… in IsFrozen() 518 …bool status = JSObject::TestIntegrityLevel(thread, JSHandle<JSObject>(obj), IntegrityLevel::SEALED… in IsSealed() 622 bool status = JSObject::SetIntegrityLevel(thread, object, IntegrityLevel::SEALED); in Seal()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 1599 bool status = JSObject::SetIntegrityLevel(thread, obj, ecmascript::IntegrityLevel::FROZEN); in Freeze() 1624 bool status = JSObject::SetIntegrityLevel(thread, obj, ecmascript::IntegrityLevel::SEALED); in Seal()
|