/ark/js_runtime/ecmascript/ |
D | js_proxy.cpp | 345 if (resultDesc.HasWritable() && !resultDesc.IsWritable() && targetDesc.IsWritable()) { in GetOwnProperty() 350 if (resultDesc.HasWritable() && !resultDesc.IsWritable() && targetDesc.IsWritable()) { in GetOwnProperty() 429 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && targetDesc.IsWritable() && in DefineOwnProperty() 430 desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty() 435 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && targetDesc.IsWritable() && in DefineOwnProperty() 436 desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty() 545 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && !targetDesc.IsWritable()) { in GetProperty() 609 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && !targetDesc.IsWritable()) { in SetProperty()
|
D | object_operator.cpp | 209 desc.SetWritable(IsWritable()); in ToPropertyDescriptor() 216 desc.SetWritable(IsWritable()); in ToPropertyDescriptor() 458 if (desc.HasWritable() && attr.IsWritable() != desc.IsWritable()) { in WriteDataProperty() 459 attr.SetWritable(desc.IsWritable()); in WriteDataProperty()
|
D | object_operator.h | 142 inline bool IsWritable() const in IsWritable() function 144 return GetAttr().IsWritable(); in IsWritable()
|
D | js_object.cpp | 39 SetWritable(desc.IsWritable()); in PropertyAttributes() 177 return attr.IsWritable(); in IsArrayLengthWritable() 181 return op.GetAttr().IsWritable(); in IsArrayLengthWritable() 532 if (!op->IsWritable()) { in SetProperty() 562 if (!existDesc.IsWritable()) { in SetProperty() 586 if (!op->IsWritable()) { in SetProperty() 896 (!desc.HasWritable() || (current.IsWritable() == desc.IsWritable())) && in ValidateAndApplyPropertyDescriptor() 941 if (!current.IsWritable() && desc.HasWritable() && desc.IsWritable()) { in ValidateAndApplyPropertyDescriptor() 945 if (!current.IsWritable()) { in ValidateAndApplyPropertyDescriptor() 1265 …f (level == IntegrityLevel::FROZEN && currentDesc.IsDataDescriptor() && currentDesc.IsWritable()) { in TestIntegrityLevel() [all …]
|
D | js_arguments.cpp | 97 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
|
D | js_array.cpp | 257 if (!oldLenDesc.IsWritable() || in ArraySetLength() 267 if (!newLenDesc.HasWritable() || newLenDesc.IsWritable()) { in ArraySetLength()
|
D | property_attributes.h | 181 inline bool IsWritable() const in IsWritable() function
|
D | js_typed_array.cpp | 186 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
|
D | js_object.h | 97 inline bool IsWritable() const in IsWritable() function
|
D | js_serializer.cpp | 695 bool isWritable = desc.IsWritable(); in WriteDesc()
|
D | dump.cpp | 381 if (attr.IsWritable()) { in DumpAttr()
|
/ark/js_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 239 return attr.IsWritable(); in ShouldCallSetter() 482 if (UNLIKELY(!attr.IsWritable())) { in SetPropertyByName() 505 if (UNLIKELY(!attr.IsWritable())) { in SetPropertyByName() 841 if (attr.IsWritable()) { in SetElement() 903 if (UNLIKELY(!JSObject::Cast(receiver)->IsExtensible() || !attr.IsWritable())) { in SetPropertyByName() 916 if (attr.IsWritable()) { in SetPropertyByName() 1046 if (attr.IsWritable()) { in SetGlobalOwnProperty() 1101 ASSERT(!attr.IsAccessor() && attr.IsWritable()); in SetOwnPropertyByName() 1137 ASSERT(!attr.IsAccessor() && attr.IsWritable()); in SetOwnElement()
|
/ark/js_runtime/ecmascript/tests/ |
D | js_object_test.cpp | 250 EXPECT_EQ(true, desc.IsWritable()); in HWTEST_F_L0() 275 EXPECT_EQ(true, desc.IsWritable()); in HWTEST_F_L0() 297 EXPECT_EQ(true, descRes1.IsWritable()); in HWTEST_F_L0() 308 EXPECT_EQ(false, descRes2.IsWritable()); in HWTEST_F_L0() 322 EXPECT_EQ(false, descRes3.IsWritable()); in HWTEST_F_L0() 529 EXPECT_EQ(true, desc1.IsWritable()); in HWTEST_F_L0() 554 EXPECT_EQ(false, desc1.IsWritable()); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 173 EXPECT_TRUE(desc3.IsWritable()); in DescriptionTest() 178 EXPECT_FALSE(desc4.IsWritable()); in DescriptionTest()
|
D | js_typed_array_test.cpp | 1245 EXPECT_TRUE(descTo1.IsWritable() && descTo1.IsEnumerable() && descTo1.IsConfigurable()); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/builtins/tests/ |
D | builtins_object_test.cpp | 241 EXPECT_TRUE(!descRes.IsWritable()); in HWTEST_F_L0() 288 EXPECT_TRUE(!descRes.IsWritable()); in HWTEST_F_L0() 306 JSHandle<JSTaggedValue> writable(thread, JSTaggedValue(desc.IsWritable())); in HWTEST_F_L0()
|
D | builtins_reflect_test.cpp | 216 ASSERT_EQ(descRuler.IsWritable(), true); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/compiler/ |
D | stub.cpp | 849 result = IsWritable(attr); in ShouldCallSetter() 2530 Branch(IsWritable(attr), &writable, ¬Writable); in SetPropertyByName() 2607 Branch(IsWritable(attr1), &writable1, ¬Writable1); in SetPropertyByName() 2767 Branch(IsWritable(attr), &writable, ¬Writable); in SetPropertyByNameWithOwn() 2845 Branch(IsWritable(attr1), &writable1, ¬Writable1); in SetPropertyByNameWithOwn()
|
D | stub.h | 642 inline GateRef IsWritable(GateRef attr);
|
D | stub-inl.h | 1280 GateRef Stub::IsWritable(GateRef attr) in IsWritable() function
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 776 …PropertyDescriptor desc(thread, attribute.IsWritable(), attribute.IsEnumerable(), attribute.IsConf… in SetAccessorProperty() 824 property.SetWritable(desc.IsWritable()); in GetOwnProperty() 870 …PropertyDescriptor desc(thread, attribute.IsWritable(), attribute.IsEnumerable(), attribute.IsConf… in DefineProperty()
|
/ark/js_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 430 bool IsWritable() const in IsWritable() function
|
/ark/js_runtime/ecmascript/tooling/base/ |
D | pt_types.cpp | 713 debuggerProperty->writable_ = property.IsWritable(); in FromProperty()
|