/arkcompiler/ets_runtime/ecmascript/ |
D | filter_helper.h | 45 if ((filter & NATIVE_WRITABLE) && !desc.IsWritable()) { in IgnoreKeyByFilter()
|
D | object_operator.h | 177 inline bool IsWritable() const in IsWritable() function 179 return GetAttr().IsWritable(); in IsWritable()
|
D | js_proxy.cpp | 367 if (resultDesc.HasWritable() && !resultDesc.IsWritable() && targetDesc.IsWritable()) { in GetOwnProperty() 450 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && targetDesc.IsWritable() && in DefineOwnProperty() 451 desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty() 569 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && !targetDesc.IsWritable()) { in GetProperty() 641 … if (targetDesc.IsDataDescriptor() && !targetDesc.IsConfigurable() && !targetDesc.IsWritable()) { in SetProperty()
|
D | object_operator.cpp | 415 desc.SetWritable(IsWritable()); in ToPropertyDescriptor() 428 desc.SetWritable(IsWritable()); in ToPropertyDescriptor() 631 if (attr.IsWritable()) { in UpdateValueAndDetails() 753 if (desc.HasWritable() && attr.IsWritable() != desc.IsWritable()) { in WriteDataProperty() 754 attr.SetWritable(desc.IsWritable()); in WriteDataProperty()
|
D | js_object.cpp | 48 SetWritable(desc.IsWritable()); in PropertyAttributes() 332 return attr.IsWritable(); in IsArrayLengthWritable() 336 return op.GetAttr().IsWritable(); in IsArrayLengthWritable() 849 if (!existDesc.IsWritable()) { in SetPropertyForDataDescriptorProxy() 863 if (!op->IsWritable()) { in SetPropertyForDataDescriptor() 903 if (!op->IsWritable()) { in SetPropertyForDataDescriptor() 1240 if (!current.IsWritable() && desc.HasWritable() && desc.IsWritable()) { in ValidateDataDescriptorWhenConfigurable() 1244 if (!current.IsWritable()) { in ValidateDataDescriptorWhenConfigurable() 1304 (!desc.HasWritable() || (current.IsWritable() == desc.IsWritable())) && in ValidateAndApplyPropertyDescriptor() 1800 currentDesc.IsDataDescriptor() && currentDesc.IsWritable()) { in TestIntegrityLevel() [all …]
|
D | object_fast_operator-inl.h | 222 if (UNLIKELY(!attr.IsWritable())) { in SetPropertyByName() 265 if (UNLIKELY(!attr.IsWritable())) { in SetPropertyByName() 416 if (UNLIKELY(!attr.IsWritable() || !attr.IsConfigurable())) { in SetPropertyByIndex() 715 return attr.IsWritable(); in ShouldCallSetter()
|
D | property_attributes.h | 214 inline bool IsWritable() const in IsWritable() function
|
D | js_array.cpp | 283 if (!oldLenDesc.IsWritable() || in ArraySetLength() 294 if (!newLenDesc.HasWritable() || newLenDesc.IsWritable()) { in ArraySetLength()
|
D | js_hclass.cpp | 934 result.SetIsWritable(attr.IsWritable()); in LookupPropertyInAotHClass() 992 result.SetIsWritable(attr.IsWritable()); in LookupPropertyInPGOHClass() 1037 result.SetIsWritable(attr.IsWritable()); in LookupPropertyInBuiltinPrototypeHClass() 1251 result.SetIsWritable(attr.IsWritable()); in LookupPropertyInBuiltinHClass()
|
D | js_typed_array.cpp | 190 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
|
D | js_object.h | 122 inline bool IsWritable() const in IsWritable() function
|
D | js_hclass.h | 1899 inline bool IsWritable() const in IsWritable() function
|
D | js_serializer.cpp | 1009 bool isWritable = desc.IsWritable(); in WriteDesc()
|
/arkcompiler/ets_runtime/test/fuzztest/propertyattribute_fuzzer/ |
D | propertyattribute_fuzzer.cpp | 60 propertyattribute.IsWritable(); in PropertyAttributeSetIsFuzzTest()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
D | property_descriptor.h | 63 bool IsWritable() const in IsWritable() function
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | object_access_helper.cpp | 90 return (plr.IsFound() && plr.IsLocal() && !plr.IsAccessor() && plr.IsWritable()); in ComputeForClassOrObject()
|
D | stub_builder.cpp | 793 result = IsWritable(attr); in ShouldCallSetter() 3218 result = IsWritable(attr); in IsArrayLengthWritable() 3224 result = IsWritable(attr1); in IsArrayLengthWritable() 3233 result = IsWritable(attr); in IsArrayLengthWritable() 3458 … Branch(BoolAnd(IsWritable(attr), IsConfigable(attr)), &isWritandConfig, ¬WritandConfig); in SetPropertyByIndex() 3670 Branch(IsWritable(attr), &writable, ¬Writable); in SetPropertyByName() 3769 Branch(IsWritable(attr1), &writable1, ¬Writable1); in SetPropertyByName()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_layout.h | 86 attr.SetWritable(IsWritable()); in SetAttribute() 118 bool IsWritable() const in IsWritable() function
|
/arkcompiler/ets_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() 530 EXPECT_EQ(true, desc1.IsWritable()); in HWTEST_F_L0() 555 EXPECT_EQ(false, desc1.IsWritable()); in HWTEST_F_L0()
|
D | object_operator_first_test.cpp | 282 EXPECT_TRUE(!handleDesc1.IsWritable()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_namespace.cpp | 198 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_object_test.cpp | 240 EXPECT_TRUE(!descRes.IsWritable()); in HWTEST_F_L0() 287 EXPECT_TRUE(!descRes.IsWritable()); in HWTEST_F_L0() 305 JSHandle<JSTaggedValue> writable(thread, JSTaggedValue(desc.IsWritable())); in HWTEST_F_L0()
|
D | builtins_reflect_test.cpp | 213 ASSERT_EQ(descRuler.IsWritable(), true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi_expo.cpp | 1564 … attr.IsWritable(), attr.IsEnumerable(), in NewWithProperties() 1658 …PropertyDescriptor desc(thread, attribute.IsWritable(), attribute.IsEnumerable(), attribute.IsConf… in SetAccessorProperty() 1721 property.SetWritable(desc.IsWritable()); in GetOwnProperty() 1792 …PropertyDescriptor desc(thread, attribute.IsWritable(), attribute.IsEnumerable(), attribute.IsConf… in DefineProperty()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi_expo.h | 522 bool IsWritable() const in IsWritable() function
|