Home
last modified time | relevance | path

Searched refs:IsSymbol (Results 1 – 25 of 36) sorted by relevance

12

/ark/js_runtime/ecmascript/builtins/
Dbuiltins_symbol.cpp71 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()
Dbuiltins_weak_set.cpp124 if (value->IsSymbol() || value->IsString()) { in Add()
Dbuiltins_weak_map.cpp210 if (key->IsSymbol() || key->IsString()) { in Set()
Dbuiltins_object.cpp386 if (key.IsSymbol()) { in GetOwnPropertyKeys()
/ark/js_runtime/ecmascript/
Djs_primitive_ref.h64 bool IsSymbol() const in IsSymbol() function
66 return GetValue().IsSymbol(); in IsSymbol()
Djs_tagged_value.cpp53 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()
Djs_symbol.h42 CAST_CHECK(JSSymbol, IsSymbol);
Dlayout_info.cpp64 if (key.IsSymbol()) { in GetAllKeys()
Dtransitions_dictionary.h51 } else if (key.IsSymbol()) { in Hash()
Djs_typed_array.cpp27 if (key->IsSymbol()) { in ToPropKey()
290 if (JSTaggedValue(key).IsSymbol()) { in OwnPropertyKeys()
Djs_tagged_value-inl.h135 if (tagged->IsSymbol()) { in ToNumber()
177 if (primValue->IsSymbol()) { in ToBigInt()
478 inline bool JSTaggedValue::IsSymbol() const in IsSymbol() function
Dglobal_dictionary-inl.h29 if (key.IsSymbol()) { in Hash()
Djs_object-inl.h313 if (!next.IsString() && !next.IsSymbol()) { in CreateListFromArrayLike()
Dtagged_dictionary.cpp24 if (jsKey.IsSymbol()) { in Hash()
Dobject_operator.cpp74 if (key->IsSymbol()) { in HandleKey()
80 if (key->IsSymbol()) { in HandleKey()
Dlinked_hash_table.cpp276 if (key.IsSymbol()) { in Hash()
Djs_function.cpp388 if (name->IsSymbol()) { in SetFunctionName()
497 if (!name.IsSymbol()) { in SetFunctionNameNoPrefix()
Djs_tagged_value.h247 bool IsSymbol() const;
Djs_hclass.h374 inline bool IsSymbol() const in IsSymbol() function
/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_symbol_test.cpp122 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/
Djson_stringifier.cpp465 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/
Dprofile_type_info.cpp33 if (!profileData.IsWeak() && (profileData.IsString() || profileData.IsSymbol())) { in AddElementHandler()
/ark/js_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp195 ASSERT_FALSE(description->IsSymbol()); in HWTEST_F_L0()
196 ASSERT_TRUE(symbol->IsSymbol()); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/hprof/
Dheap_snapshot.cpp664 if (key.IsSymbol()) { in ConvertKey()
/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp1824 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()

12