Home
last modified time | relevance | path

Searched refs:stringTable (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.cpp96 const StringHashMap *stringTable = snapshot_->GetEcmaStringTable(); in SerializeNodes() local
106 writer_->Write(stringTable->GetStringId(node->GetName())); // 2. in SerializeNodes()
128 const StringHashMap *stringTable = snapshot_->GetEcmaStringTable(); in SerializeEdges() local
138 writer_->Write(stringTable->GetStringId(edge->GetName())); // 2. Use StringId in SerializeEdges()
155 const StringHashMap *stringTable = snapshot_->GetEcmaStringTable(); in SerializeTraceFunctionInfo() local
167 writer_->Write(stringTable->GetStringId(&functionName)); in SerializeTraceFunctionInfo()
170 writer_->Write(stringTable->GetStringId(&scriptName)); in SerializeTraceFunctionInfo()
247 const StringHashMap *stringTable = snapshot_->GetEcmaStringTable(); in SerializeStringTable() local
248 ASSERT(stringTable != nullptr); in SerializeStringTable()
253 size_t capcity = stringTable->GetCapcity(); in SerializeStringTable()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dglobal_env.cpp40 EcmaStringTable *stringTable = thread->GetEcmaVM()->GetEcmaStringTable(); in Init() local
41 stringTable->InternEmptyString(EcmaString::Cast(emptyStr.GetTaggedObject())); in Init()
Dobject_factory.cpp2551 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
2552 …return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(utf8Data, utf8Len, canBeCompre… in GetStringFromStringTable()
2561 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTableNonMovable() local
2562 …return JSHandle<EcmaString>(thread_, stringTable->CreateAndInternStringNonMovable(utf8Data, utf8Le… in GetStringFromStringTableNonMovable()
2572 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
2573 …return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(utf16Data, utf16Len, canBeComp… in GetStringFromStringTable()
2582 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
2583 return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(string)); in GetStringFromStringTable()
3014 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in InternString() local
3015 return stringTable->GetOrInternString(str); in InternString()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dstw_young_gc.cpp121 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep() local
135 stringTable->SweepWeakReference(gcUpdateWeak); in Sweep()
Dfull_gc.cpp131 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep() local
147 stringTable->SweepWeakReference(gcUpdateWeak); in Sweep()
Dparallel_evacuator.cpp275 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in UpdateWeakReference() local
301 stringTable->SweepWeakReference(gcUpdateWeak); in UpdateWeakReference()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_dictionary_test.cpp168 auto stringTable = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0() local
172 …JSHandle<JSTaggedValue> key(thread, stringTable->GetOrInternString(keyArray, utf::Mutf8Size(keyArr… in HWTEST_F_L0()
183stringTable->GetOrInternString(keyArray, utf::Mutf8Size(keyArray), true)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1327 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in DeserializeString() local
1350 auto strFromTable = stringTable->GetString(str); in DeserializeString()
1370 stringTable->GetOrInternString(str); in DeserializeString()
1531 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in RelocateSpaceObject() local
1532 …space->EnumerateRegions([jsPandaFile, stringTable, &others, &objIndex, &rootObjSize, &constSpecial… in RelocateSpaceObject()
1561 stringTable->InsertStringIfNotExist(str); in RelocateSpaceObject()