Home
last modified time | relevance | path

Searched refs:typeCount (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dheap.cpp1245 int typeCount[JS_TYPE_LAST] = { 0 }; in StatisticHeapObject() local
1248 nonMovableSpace_->IterateOverObjects([&typeCount] (TaggedObject *object) { in StatisticHeapObject()
1249 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in StatisticHeapObject()
1252 if (typeCount[i] > MIN_COUNT_THRESHOLD) { in StatisticHeapObject()
1254 << " count:" << typeCount[i]; in StatisticHeapObject()
1256 typeCount[i] = 0; in StatisticHeapObject()
1259 oldSpace_->IterateOverObjects([&typeCount] (TaggedObject *object) { in StatisticHeapObject()
1260 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in StatisticHeapObject()
1263 if (typeCount[i] > MIN_COUNT_THRESHOLD) { in StatisticHeapObject()
1265 << " count:" << typeCount[i]; in StatisticHeapObject()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_thread.cpp250 int typeCount[JS_TYPE_LAST] = { 0 }; in IterateHandleWithCheck() local
255 … globalDebugStorage_->IterateUsageGlobal([this, visitor, &globalCount, &typeCount, &primitiveCount, in IterateHandleWithCheck()
266 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in IterateHandleWithCheck()
300 if (typeCount[i] > MIN_COUNT_THRESHOLD) { in IterateHandleWithCheck()
302 << " count:" << typeCount[i]; in IterateHandleWithCheck()
/arkcompiler/ets_frontend/ts2panda/src/
Dts2panda.ts207 let typeCount = countType.getLiteral(0)?.getValue();
208 if (typeCount) {
209 for (let i = 0; i < typeCount; i++) {