Home
last modified time | relevance | path

Searched refs:IsEnumerable (Results 1 – 25 of 37) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dfilter_helper.h48 if ((filter & NATIVE_ENUMERABLE) && !desc.IsEnumerable()) { in IgnoreKeyByFilter()
Dlayout_info.cpp133 if (GetAttr(i).IsEnumerable()) { in GetNumOfEnumKeys()
159 if (GetAttr(i).IsEnumerable()) { in GetAllEnumKeys()
183 if (keyHandle->IsString() && GetAttr(i).IsEnumerable()) { in GetAllEnumKeys()
Dtagged_dictionary.cpp128 if (attr.IsEnumerable()) { in GetNumOfEnumKeys()
148 if (attr.IsEnumerable()) { in GetAllEnumKeys()
177 if (attr.IsEnumerable()) { in GetAllEnumKeys()
343 if (attr.IsEnumerable()) { in GetAllEnumKeys()
Dglobal_dictionary-inl.h167 if (attr.IsEnumerable()) { in GetNumOfEnumKeys()
190 if (attr.IsEnumerable()) { in GetEnumAllKeys()
Dobject_operator.h182 inline bool IsEnumerable() const in IsEnumerable() function
184 return GetAttr().IsEnumerable(); in IsEnumerable()
Djs_for_in_iterator.cpp68 if (has && desc.IsEnumerable()) { in HasProperty()
Dobject_operator.cpp443 desc.SetEnumerable(IsEnumerable()); in ToPropertyDescriptor()
747 if (desc.HasEnumerable() && attr.IsEnumerable() != desc.IsEnumerable()) { in WriteDataProperty()
748 attr.SetEnumerable(desc.IsEnumerable()); in WriteDataProperty()
Dproperty_attributes.h222 inline bool IsEnumerable() const in IsEnumerable() function
Djs_array.cpp288 (newLenDesc.HasEnumerable() && (newLenDesc.IsEnumerable() != oldLenDesc.IsEnumerable()))) { in ArraySetLength()
Djs_object.cpp52 SetEnumerable(desc.IsEnumerable()); in PropertyAttributes()
1301 if ((!desc.HasEnumerable() || desc.IsEnumerable() == current.IsEnumerable()) && in ValidateAndApplyPropertyDescriptor()
1320 if (desc.HasEnumerable() && (desc.IsEnumerable() != current.IsEnumerable())) { in ValidateAndApplyPropertyDescriptor()
1851 if (status && desc.IsEnumerable()) { in EnumerableOwnNames()
1882 if (!status || !desc.IsEnumerable()) { in EnumerableOwnPropertyNamesHelper()
1956 if (status && desc.IsEnumerable()) { in EnumerableOwnPropertyNames()
2090 JSHandle<JSTaggedValue> enumerable(thread, JSTaggedValue(desc.IsEnumerable())); in FromPropertyDescriptor()
Dproperty_accessor.cpp250 if (!desc.IsEnumerable()) { in PushRemainingKeys()
Djs_typed_array.cpp187 if (desc.HasEnumerable() && !desc.IsEnumerable()) { in DefineOwnProperty()
Djs_object.h133 inline bool IsEnumerable() const in IsEnumerable() function
/arkcompiler/ets_runtime/test/fuzztest/propertyattribute_fuzzer/
Dpropertyattribute_fuzzer.cpp62 propertyattribute.IsEnumerable(); in PropertyAttributeSetIsFuzzTest()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dproperty_descriptor.h58 bool IsEnumerable() const in IsEnumerable() function
Dremote_object.cpp40 if (!property.IsEnumerable()) { in GeneratePreview()
/arkcompiler/ets_runtime/ecmascript/base/
Dfast_json_stringifier.cpp430 if (attr.IsEnumerable()) { in TryCacheSerializeElements()
533 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in TryCacheSerializeKeys()
567 if (!attr.IsEnumerable()) { in TryCacheSerializeKeys()
599 if (!attr.IsEnumerable()) { in TryCacheSerializeKeys()
749 if (attr.IsEnumerable()) { in DefaultSerializeElements()
818 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in DefaultSerializeKeys()
852 if (!attr.IsEnumerable()) { in DefaultSerializeKeys()
884 if (!attr.IsEnumerable()) { in DefaultSerializeKeys()
Djson_stringifier.cpp612 if (attr.IsEnumerable()) { in SerializeElements()
687 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in SerializeKeys()
720 if (!attr.IsEnumerable() || index < 0) { in SerializeKeys()
748 if (!attr.IsEnumerable()) { in SerializeKeys()
783 if (!attr.IsEnumerable()) { in SerializeKeys()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_object_stub_builder.cpp388 Branch(IsEnumerable(attr), &enumerable, &loopEnd); in AssignEnumElementProperty()
450 Branch(IsEnumerable(attr), &enumerable, &loopEnd); in LayoutInfoAssignAllEnumProperty()
541 Branch(IsEnumerable(attr), &enumerable, &loopEnd); in NameDictionaryAssignAllEnumProperty()
844 Branch(IsEnumerable(GetAttr(layoutInfo, *i)), &isEnumerable, &loopEnd); in GetNumKeysFromLayoutInfo()
935 Branch(IsEnumerable(attr), &isEnumerable, &loopEnd); in GetNumKeysFromDictionary()
975 …Branch(BoolAnd(TaggedIsString(key), IsEnumerable(GetAttr(layoutInfo, *i))), &isEnumerable, &loopEn… in LayoutInfoGetAllEnumKeys()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_object.cpp80 if (success && desc.IsEnumerable()) { in AssignTaggedValue()
146 if (success && desc.IsEnumerable()) { in Assign()
217 if (success && propDesc.IsEnumerable()) { in ObjectDefineProperties()
871 return GetTaggedBoolean(desc.IsEnumerable()); in PropertyIsEnumerable()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h87 attr.SetEnumerable(IsEnumerable()); in SetAttribute()
123 bool IsEnumerable() const in IsEnumerable() function
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_object_test.cpp251 EXPECT_EQ(true, desc.IsEnumerable()); in HWTEST_F_L0()
276 EXPECT_EQ(false, desc.IsEnumerable()); in HWTEST_F_L0()
298 EXPECT_EQ(true, descRes1.IsEnumerable()); in HWTEST_F_L0()
309 EXPECT_EQ(true, descRes2.IsEnumerable()); in HWTEST_F_L0()
323 EXPECT_EQ(false, descRes3.IsEnumerable()); in HWTEST_F_L0()
531 EXPECT_EQ(true, desc1.IsEnumerable()); in HWTEST_F_L0()
556 EXPECT_EQ(true, desc1.IsEnumerable()); in HWTEST_F_L0()
Dobject_operator_first_test.cpp288 EXPECT_FALSE(handleDesc2.IsEnumerable()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp195 if (desc.HasEnumerable() && !desc.IsEnumerable()) { in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp214 ASSERT_EQ(descRuler.IsEnumerable(), false); in HWTEST_F_L0()

12