Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.cpp89 const StringHashMap *stringTable = snapshot->GetEcmaStringTable(); in SerializeNodes() local
99 writer->WriteNumber(stringTable->GetStringId(node->GetName())); // 2. in SerializeNodes()
124 const StringHashMap *stringTable = snapshot->GetEcmaStringTable(); in SerializeEdges() local
130 edge->GetIndex() : stringTable->GetStringId(edge->GetName()); in SerializeEdges()
153 const StringHashMap *stringTable = snapshot->GetEcmaStringTable(); in SerializeTraceFunctionInfo() local
165 writer->WriteNumber(stringTable->GetStringId(&functionName)); in SerializeTraceFunctionInfo()
168 writer->WriteNumber(stringTable->GetStringId(&scriptName)); in SerializeTraceFunctionInfo()
245 const StringHashMap *stringTable = snapshot->GetEcmaStringTable(); in SerializeStringTable() local
246 ASSERT(stringTable != nullptr); in SerializeStringTable()
251 size_t capcity = stringTable->GetCapcity(); in SerializeStringTable()
[all …]
Dheap_snapshot.h402 …HeapSnapshot(const EcmaVM *vm, StringHashMap *stringTable, const bool isVmMode, const bool isPriva… in HeapSnapshot() argument
404 : vm_(vm), stringTable_(stringTable), isVmMode_(isVmMode), isPrivate_(isPrivate), in HeapSnapshot()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/mdgen/src/
Dmdrecord.cpp79 stringTable.emplace_back(inStr); in CreateStrInTable()
95 CHECK_FATAL(curIdx < stringTable.size(), "Array boundary check failed"); in GetStrTyByIdx()
96 return GetStrInTable(stringTable[curIdx]).sType; in GetStrTyByIdx()
101 CHECK_FATAL(curIdx < stringTable.size(), "Array boundary check failed"); in GetStrByIdx()
102 return stringTable[curIdx]; in GetStrByIdx()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dglobal_tables.h614 stringTable.push_back(ptr); in Init()
620 stringTable.clear(); in Reset()
627 for (auto it : stringTable) { in ReleaseStrings()
655 strIdx.reset(stringTable.size()); in GetOrCreateStrIdxFromName()
657 stringTable.push_back(newStr); in GetOrCreateStrIdxFromName()
661 strIdx.reset(stringTable.size()); in GetOrCreateStrIdxFromName()
663 stringTable.push_back(newStr); in GetOrCreateStrIdxFromName()
673 return stringTable.size(); in StringTableSize()
675 return stringTable.size(); in StringTableSize()
682 DEBUG_ASSERT(strIdx < stringTable.size(), "array index out of range"); in GetStringFromStrIdx()
[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.cpp2988 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
2989 …return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(utf8Data, utf8Len, canBeCompre… in GetStringFromStringTable()
2998 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTableNonMovable() local
2999 …return JSHandle<EcmaString>(thread_, stringTable->CreateAndInternStringNonMovable(utf8Data, utf8Le… in GetStringFromStringTableNonMovable()
3009 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
3010 …return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(utf16Data, utf16Len, canBeComp… in GetStringFromStringTable()
3019 auto stringTable = vm_->GetEcmaStringTable(); in GetStringFromStringTable() local
3020 return JSHandle<EcmaString>(thread_, stringTable->GetOrInternString(string)); in GetStringFromStringTable()
3491 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in InternString() local
3492 return stringTable->GetOrInternString(str); in InternString()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/mdgen/include/
Dmdrecord.h290 stringTable.clear(); in MDClassRange()
307 return stringTable.size(); in GetStringTableSize()
317 std::vector<std::string> stringTable; variable
/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.cpp143 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep() local
163 stringTable->SweepWeakReference(gcUpdateWeak); in Sweep()
Dparallel_evacuator.cpp310 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in UpdateWeakReference() local
340 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/serializer/
Dbase_deserializer.cpp106 EcmaStringTable *stringTable = thread_->GetEcmaVM()->GetEcmaStringTable(); in DeserializeTaggedObject() local
107 EcmaString *str = stringTable->GetString(reinterpret_cast<EcmaString *>(res)); in DeserializeTaggedObject()
113 stringTable->InternString(reinterpret_cast<EcmaString *>(res)); in DeserializeTaggedObject()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1331 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in DeserializeString() local
1355 auto strFromTable = stringTable->GetString(str); in DeserializeString()
1375 stringTable->GetOrInternString(str); in DeserializeString()
1543 EcmaStringTable *stringTable = vm_->GetEcmaStringTable(); in RelocateSpaceObject() local
1544 …space->EnumerateRegions([jsPandaFile, stringTable, &others, &objIndex, &rootObjSize, &constSpecial… in RelocateSpaceObject()
1573 stringTable->InsertStringIfNotExist(str); in RelocateSpaceObject()