MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / dumpAllStrings

Method dumpAllStrings

engine/source/string/stringBuffer.cc:483–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void StringBufferManager::dumpAllStrings()
484{
485 U32 nstrings = strings.size();
486 Con::printf("===== String Manager: All Strings =====");
487 Con::printf(" utf8 | utf16 | string");
488 for(U32 i=0; i < nstrings; i++)
489 {
490 UTF8* tmp = strings[i]->createCopy8();
491 strings[i]->rc->requestCount8--;
492 Con::printf("%5llu %5llu \"%s\"", strings[i]->rc->requestCount8, strings[i]->rc->requestCount16, tmp);
493 delete[] tmp;
494 }
495}
496
497#endif

Callers 1

Calls 3

printfFunction · 0.85
createCopy8Method · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected