Home
last modified time | relevance | path

Searched refs:IsWritable (Results 1 – 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dfilter_helper.h45 if ((filter & NATIVE_WRITABLE) && !desc.IsWritable()) { in IgnoreKeyByFilter()
Dobject_operator.h177 inline bool IsWritable() const in IsWritable() function
179 return GetAttr().IsWritable(); in IsWritable()
Djs_proxy.cpp367 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()
Dobject_operator.cpp415 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()
Djs_object.cpp48 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 …]
Dobject_fast_operator-inl.h222 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()
Dproperty_attributes.h214 inline bool IsWritable() const in IsWritable() function
Djs_array.cpp283 if (!oldLenDesc.IsWritable() || in ArraySetLength()
294 if (!newLenDesc.HasWritable() || newLenDesc.IsWritable()) { in ArraySetLength()
Djs_hclass.cpp934 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()
Djs_typed_array.cpp190 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
Djs_object.h122 inline bool IsWritable() const in IsWritable() function
Djs_hclass.h1899 inline bool IsWritable() const in IsWritable() function
Djs_serializer.cpp1009 bool isWritable = desc.IsWritable(); in WriteDesc()
/arkcompiler/ets_runtime/test/fuzztest/propertyattribute_fuzzer/
Dpropertyattribute_fuzzer.cpp60 propertyattribute.IsWritable(); in PropertyAttributeSetIsFuzzTest()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dproperty_descriptor.h63 bool IsWritable() const in IsWritable() function
/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.cpp90 return (plr.IsFound() && plr.IsLocal() && !plr.IsAccessor() && plr.IsWritable()); in ComputeForClassOrObject()
Dstub_builder.cpp793 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, &notWritandConfig); in SetPropertyByIndex()
3670 Branch(IsWritable(attr), &writable, &notWritable); in SetPropertyByName()
3769 Branch(IsWritable(attr1), &writable1, &notWritable1); in SetPropertyByName()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h86 attr.SetWritable(IsWritable()); in SetAttribute()
118 bool IsWritable() const in IsWritable() function
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_object_test.cpp250 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()
Dobject_operator_first_test.cpp282 EXPECT_TRUE(!handleDesc1.IsWritable()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp198 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_object_test.cpp240 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()
Dbuiltins_reflect_test.cpp213 ASSERT_EQ(descRuler.IsWritable(), true); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp1564 … 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/
Djsnapi_expo.h522 bool IsWritable() const in IsWritable() function

12