| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_snapshot_json_serializer.cpp | 89 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 …]
|
| D | heap_snapshot.h | 402 …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/ |
| D | mdrecord.cpp | 79 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/ |
| D | global_tables.h | 614 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/ |
| D | global_env.cpp | 40 EcmaStringTable *stringTable = thread->GetEcmaVM()->GetEcmaStringTable(); in Init() local 41 stringTable->InternEmptyString(EcmaString::Cast(emptyStr.GetTaggedObject())); in Init()
|
| D | object_factory.cpp | 2988 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/ |
| D | mdrecord.h | 290 stringTable.clear(); in MDClassRange() 307 return stringTable.size(); in GetStringTableSize() 317 std::vector<std::string> stringTable; variable
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | stw_young_gc.cpp | 121 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep() local 135 stringTable->SweepWeakReference(gcUpdateWeak); in Sweep()
|
| D | full_gc.cpp | 143 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep() local 163 stringTable->SweepWeakReference(gcUpdateWeak); in Sweep()
|
| D | parallel_evacuator.cpp | 310 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in UpdateWeakReference() local 340 stringTable->SweepWeakReference(gcUpdateWeak); in UpdateWeakReference()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | tagged_dictionary_test.cpp | 168 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() 183 … stringTable->GetOrInternString(keyArray, utf::Mutf8Size(keyArray), true)); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/serializer/ |
| D | base_deserializer.cpp | 106 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/ |
| D | snapshot_processor.cpp | 1331 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()
|