/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_symbol_test.cpp | 53 JSHandle<JSSymbol> normallSymbol = factory->NewJSSymbol(); in HWTEST_F_L0() 57 JSHandle<JSSymbol> privateSymbol = factory->NewPrivateSymbol(); in HWTEST_F_L0() 63 JSHandle<JSSymbol> privateNameSymbol = factory->NewPrivateNameSymbol(symbolName); in HWTEST_F_L0() 68 JSHandle<JSSymbol> wellKnowSymbol = factory->NewWellKnownSymbol(symbolName); in HWTEST_F_L0() 83 JSSymbol *helloWord1Symbol = JSSymbol::Cast(helloWord1SymbolVal->GetTaggedObject()); in HWTEST_F_L0() 84 JSSymbol *helloWord2Symbol = JSSymbol::Cast(helloWord2SymbolVal->GetTaggedObject()); in HWTEST_F_L0() 85 JSSymbol *hiWordSymbol = JSSymbol::Cast(hiWordSymbolVal->GetTaggedObject()); in HWTEST_F_L0() 86 EXPECT_TRUE(JSSymbol::Equal(*helloWord1Symbol, *helloWord2Symbol)); in HWTEST_F_L0() 88 EXPECT_FALSE(JSSymbol::Equal(*helloWord1Symbol, *helloWord2Symbol)); in HWTEST_F_L0() 89 EXPECT_FALSE(JSSymbol::Equal(*helloWord1Symbol, *hiWordSymbol)); in HWTEST_F_L0()
|
D | symbol_table_test.cpp | 114 EXPECT_EQ(SymbolTable::Hash(jsObJect.GetTaggedValue()), JSSymbol::ComputeHash()); in HWTEST_F_L0() 246 JSHandle<JSSymbol> handleSymbol = factory->NewJSSymbol(); in HWTEST_F_L0()
|
D | js_function_test.cpp | 163 JSHandle<JSSymbol> symbol = factory->NewPublicSymbolWithChar("name"); in HWTEST_F_L0()
|
D | global_dictionary_test.cpp | 78 JSHandle<JSSymbol> jsSymbol = factory->NewJSSymbol(); in HWTEST_F_L0()
|
D | transitions_dictionary_test.cpp | 87 JSHandle<JSSymbol> privateNameSymbol = factory->NewPrivateNameSymbol(symbolName); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_symbol.h | 24 class JSSymbol : public TaggedObject { 42 CAST_CHECK(JSSymbol, IsSymbol); 101 static bool Equal(const JSSymbol &src, const JSSymbol &dst) in Equal()
|
D | symbol_table.h | 67 return JSSymbol::ComputeHash(); in Hash() 94 JSSymbol *symbol = JSSymbol::Cast(value.GetTaggedObject()); in FindSymbol()
|
D | object_factory.h | 39 class JSSymbol; variable 275 JSHandle<JSSymbol> NewJSSymbol(); 277 JSHandle<JSSymbol> NewPrivateSymbol(); 279 JSHandle<JSSymbol> NewPrivateNameSymbol(const JSHandle<JSTaggedValue> &name); 281 JSHandle<JSSymbol> NewWellKnownSymbol(const JSHandle<JSTaggedValue> &name); 283 JSHandle<JSSymbol> NewPublicSymbol(const JSHandle<JSTaggedValue> &name); 285 JSHandle<JSSymbol> NewSymbolWithTable(const JSHandle<JSTaggedValue> &name); 287 JSHandle<JSSymbol> NewPrivateNameSymbolWithChar(const char *description); 289 JSHandle<JSSymbol> NewWellKnownSymbolWithChar(const char *description); 291 JSHandle<JSSymbol> NewPublicSymbolWithChar(const char *description); [all …]
|
D | transitions_dictionary.h | 54 hash = JSSymbol::Cast(key.GetTaggedObject())->GetHashField(); in Hash()
|
D | tagged_node.h | 58 auto symbolString = JSSymbol::Cast(key.GetTaggedObject()); in Hash()
|
D | object_factory.cpp | 931 JSHandle<JSSymbol> jsSymbol = NewPublicSymbolWithChar("IntlLegacyConstructedSymbol"); in InitializeJSObject() 1889 JSHandle<JSSymbol> ObjectFactory::NewJSSymbol() in NewJSSymbol() 1894 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewJSSymbol() 1901 JSHandle<JSSymbol> ObjectFactory::NewPrivateSymbol() in NewPrivateSymbol() 1903 JSHandle<JSSymbol> obj = NewJSSymbol(); in NewPrivateSymbol() 1908 JSHandle<JSSymbol> ObjectFactory::NewPrivateNameSymbol(const JSHandle<JSTaggedValue> &name) in NewPrivateNameSymbol() 1913 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewPrivateNameSymbol() 1921 JSHandle<JSSymbol> ObjectFactory::NewWellKnownSymbol(const JSHandle<JSTaggedValue> &name) in NewWellKnownSymbol() 1926 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewWellKnownSymbol() 1934 JSHandle<JSSymbol> ObjectFactory::NewPublicSymbol(const JSHandle<JSTaggedValue> &name) in NewPublicSymbol() [all …]
|
D | global_dictionary-inl.h | 32 auto symbolString = JSSymbol::Cast(key.GetTaggedObject()); in Hash()
|
D | linked_hash_table.cpp | 236 auto symbolString = JSSymbol::Cast(key.GetTaggedObject()); in Hash()
|
D | js_function.cpp | 503 JSTaggedValue description = JSHandle<JSSymbol>::Cast(name)->GetDescription(); in SetFunctionName() 625 JSTaggedValue description = JSSymbol::Cast(name.GetTaggedObject())->GetDescription(); in SetFunctionNameNoPrefix() 632 … JSHandle<EcmaString>(thread, JSSymbol::Cast(nameBegin->GetTaggedObject())->GetDescription())); in SetFunctionNameNoPrefix()
|
D | tagged_dictionary.cpp | 27 auto symbolString = JSSymbol::Cast(key.GetTaggedObject()); in Hash()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_symbol.cpp | 47 JSHandle<JSSymbol> jsSymbol = factory->NewJSSymbol(); in SymbolConstructor() 55 JSHandle<JSSymbol> jsSymbol = factory->NewPublicSymbol(descHandle); in SymbolConstructor() 95 auto symbolObject = reinterpret_cast<JSSymbol *>(sym.GetTaggedObject()); in SymbolDescriptiveString() 165 JSHandle<JSSymbol> symbol = factory->NewSymbolWithTable(stringHandle); in For() 238 JSTaggedValue desValue = JSSymbol::Cast(value->GetTaggedObject())->GetDescription(); in ThisSymbolValue() 247 … JSTaggedValue primitiveDesValue = JSSymbol::Cast(primitive.GetTaggedObject())->GetDescription(); in ThisSymbolValue()
|
D | builtins.h | 275 template<int type = JSSymbol::SYMBOL_DEFAULT_TYPE>
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_symbol_test.cpp | 72 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 119 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("aaa"); in HWTEST_F_L0() 140 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 199 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("bbb"); in HWTEST_F_L0() 239 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewSymbolWithTableWithChar("ccc"); in HWTEST_F_L0() 261 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("bbb"); in HWTEST_F_L0() 285 JSHandle<JSSymbol> otherSymbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("ccc"); in HWTEST_F_L0() 319 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 360 JSSymbol *sym = reinterpret_cast<JSSymbol *>(result.GetRawData()); in HWTEST_F_L0() 374 …thread, JSHandle<JSTaggedValue>(thread, reinterpret_cast<JSSymbol *>(result1.GetRawData())->GetDes… in HWTEST_F_L0() [all …]
|
D | builtins_finalization_registry_test.cpp | 459 JSHandle<JSSymbol> symbol1 = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 460 JSHandle<JSSymbol> symbol2 = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 507 JSHandle<JSSymbol> symbol = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
|
D | builtins_weak_ref_test.cpp | 196 JSHandle<JSSymbol> symbolTarget = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
|
D | builtins_weak_map_test.cpp | 225 JSHandle<JSSymbol> symbolKey = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
|
D | builtins_weak_set_test.cpp | 219 JSHandle<JSSymbol> symbolKey = thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | properties_cache_test.cpp | 63 JSHandle<JSSymbol> handleSymbol(factory->NewJSSymbol()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | c_string.cpp | 115 ecmascript::JSTaggedValue desc = JSSymbol::Cast(key.GetTaggedObject())->GetDescription(); in ConvertToString()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_snapshot.cpp | 1112 JSSymbol *symbol = JSSymbol::Cast(key.GetTaggedObject()); in ConvertKey()
|