/ark/js_runtime/ecmascript/builtins/ |
D | builtins_symbol.cpp | 71 if (!valueHandle->IsSymbol()) { in ToString() 79 ASSERT(primitive.IsSymbol()); in ToString() 94 ASSERT(sym.IsSymbol()); in SymbolDescriptiveString() 130 if (valueHandle->IsSymbol()) { in ValueOf() 144 ASSERT(primitive.IsSymbol()); in ValueOf() 182 if (!sym->IsSymbol()) { in KeyFor() 210 if (sym->IsSymbol()) { in ToPrimitive() 227 ASSERT(primitive.IsSymbol()); in ToPrimitive() 247 if (value->IsSymbol()) { in ThisSymbolValue() 257 ASSERT(primitive.IsSymbol()); in ThisSymbolValue()
|
D | builtins_weak_set.cpp | 124 if (value->IsSymbol() || value->IsString()) { in Add()
|
D | builtins_weak_map.cpp | 210 if (key->IsSymbol() || key->IsString()) { in Set()
|
D | builtins_object.cpp | 386 if (key.IsSymbol()) { in GetOwnPropertyKeys()
|
/ark/js_runtime/ecmascript/ |
D | js_primitive_ref.h | 64 bool IsSymbol() const in IsSymbol() function 66 return GetValue().IsSymbol(); in IsSymbol()
|
D | js_tagged_value.cpp | 53 if (key->IsSymbol()) { in ToPropertyKey() 131 if (y->IsHeapObject() && !y->IsSymbol()) { in Equal() 159 if (y->IsHeapObject() && !y->IsSymbol()) { in Equal() 173 if (x->IsSymbol()) { in Equal() 174 if (y->IsSymbol()) { in Equal() 208 if (y->IsHeapObject() && !y->IsSymbol()) { in Equal() 468 if (tagged->IsSymbol()) { in ToObject() 830 if (obj->IsSymbol()) { in ToPrototypeOrObj()
|
D | js_symbol.h | 42 CAST_CHECK(JSSymbol, IsSymbol);
|
D | layout_info.cpp | 64 if (key.IsSymbol()) { in GetAllKeys()
|
D | transitions_dictionary.h | 51 } else if (key.IsSymbol()) { in Hash()
|
D | js_typed_array.cpp | 27 if (key->IsSymbol()) { in ToPropKey() 290 if (JSTaggedValue(key).IsSymbol()) { in OwnPropertyKeys()
|
D | js_tagged_value-inl.h | 135 if (tagged->IsSymbol()) { in ToNumber() 177 if (primValue->IsSymbol()) { in ToBigInt() 478 inline bool JSTaggedValue::IsSymbol() const in IsSymbol() function
|
D | global_dictionary-inl.h | 29 if (key.IsSymbol()) { in Hash()
|
D | js_object-inl.h | 313 if (!next.IsString() && !next.IsSymbol()) { in CreateListFromArrayLike()
|
D | tagged_dictionary.cpp | 24 if (jsKey.IsSymbol()) { in Hash()
|
D | object_operator.cpp | 74 if (key->IsSymbol()) { in HandleKey() 80 if (key->IsSymbol()) { in HandleKey()
|
D | linked_hash_table.cpp | 276 if (key.IsSymbol()) { in Hash()
|
D | js_function.cpp | 388 if (name->IsSymbol()) { in SetFunctionName() 497 if (!name.IsSymbol()) { in SetFunctionNameNoPrefix()
|
D | js_tagged_value.h | 247 bool IsSymbol() const;
|
D | js_hclass.h | 374 inline bool IsSymbol() const in IsSymbol() function
|
/ark/js_runtime/ecmascript/builtins/tests/ |
D | builtins_symbol_test.cpp | 122 EXPECT_TRUE(result.IsSymbol()); in HWTEST_F_L0() 136 EXPECT_TRUE(otherResult.IsSymbol()); in HWTEST_F_L0() 155 EXPECT_TRUE(result.IsSymbol()); in HWTEST_F_L0() 169 EXPECT_TRUE(otherResult.IsSymbol()); in HWTEST_F_L0() 262 EXPECT_TRUE(result.IsSymbol()); in HWTEST_F_L0() 276 EXPECT_TRUE(otherResult.IsSymbol()); in HWTEST_F_L0() 293 EXPECT_TRUE(result.IsSymbol()); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 465 if (UNLIKELY(serializeValue.IsUndefined() || serializeValue.IsSymbol() || in SerializeJSONObject() 497 if (UNLIKELY(serializeValue.IsUndefined() || serializeValue.IsSymbol() || in SerializeJSONObject() 789 if (UNLIKELY(serializeValue.IsUndefined() || serializeValue.IsSymbol() || in AppendJsonString()
|
/ark/js_runtime/ecmascript/ic/ |
D | profile_type_info.cpp | 33 if (!profileData.IsWeak() && (profileData.IsString() || profileData.IsSymbol())) { in AddElementHandler()
|
/ark/js_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 195 ASSERT_FALSE(description->IsSymbol()); in HWTEST_F_L0() 196 ASSERT_TRUE(symbol->IsSymbol()); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/hprof/ |
D | heap_snapshot.cpp | 664 if (key.IsSymbol()) { in ConvertKey()
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 1824 bool JSValueRef::IsSymbol() in IsSymbol() function in panda::JSValueRef 1826 return JSNApiHelper::ToJSTaggedValue(this).IsSymbol(); in IsSymbol() 2019 return JSPrimitiveRef::Cast(obj->GetHeapObject())->IsSymbol(); in IsJSPrimitiveSymbol()
|