Home
last modified time | relevance | path

Searched refs:HasWritable (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_proxy.cpp362 if (resultDesc.HasWritable() && !resultDesc.IsWritable() && targetDesc.IsWritable()) { in GetOwnProperty()
367 if (resultDesc.HasWritable() && !resultDesc.IsWritable() && targetDesc.IsWritable()) { in GetOwnProperty()
450 desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
456 desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
Djs_object.cpp39 if (desc.HasWritable()) { in PropertyAttributes()
1087 (!desc.HasWritable() || (current.IsWritable() == desc.IsWritable())) && in ValidateAndApplyPropertyDescriptor()
1132 if (!current.IsWritable() && desc.HasWritable() && desc.IsWritable()) { in ValidateAndApplyPropertyDescriptor()
1807 if (desc.HasWritable()) { in FromPropertyDescriptor()
1901 if (desc.HasValue() || desc.HasWritable()) { in ToPropertyDescriptorFast()
1983 if (desc.HasValue() || desc.HasWritable()) { in ToPropertyDescriptor()
2046 if (!desc.HasWritable()) { in CompletePropertyDescriptor()
Djs_array.cpp276 if (!newLenDesc.HasWritable() || newLenDesc.IsWritable()) { in ArraySetLength()
Djs_typed_array.cpp190 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
Djs_object.h130 inline bool HasWritable() const in HasWritable() function
Dobject_operator.cpp576 if (desc.HasWritable() && attr.IsWritable() != desc.IsWritable()) { in WriteDataProperty()
Djs_serializer.cpp1013 bool hasWritable = desc.HasWritable(); in WriteDesc()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp187 if (desc.HasWritable() && !desc.IsWritable()) { in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_object_test.cpp312 EXPECT_TRUE(!descNw.HasWritable()); in HWTEST_F_L0()
329 EXPECT_TRUE(descRes.HasWritable()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp1221 … EXPECT_FALSE(descTo1.HasWritable() || descTo1.HasEnumerable() || descTo1.HasConfigurable()); in HWTEST_F_L0()
1223 … EXPECT_TRUE(descTo1.HasWritable() && descTo1.HasEnumerable() && descTo1.HasConfigurable()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h626 bool HasWritable() const in HasWritable() function
/arkcompiler/toolchain/tooling/base/
Dpt_types.h907 bool HasWritable() const in HasWritable() function
Dpt_types.cpp1283 if (property.HasWritable()) { in FromProperty()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1458 if (desc.HasWritable()) { in GetOwnProperty()