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

Method dumpAllStrings

Engine/source/core/stringBuffer.cpp:458–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void StringBufferManager::dumpAllStrings()
459{
460 U32 nstrings = strings.size();
461 Con::printf("===== String Manager: All Strings =====");
462 Con::printf(" utf8 | utf16 | string");
463 for(S32 i=0; i < nstrings; i++)
464 {
465 UTF8* tmp = strings[i]->createCopy8();
466 strings[i]->rc->requestCount8--;
467 Con::printf("%5llu %5llu \"%s\"", strings[i]->rc->requestCount8, strings[i]->rc->requestCount16, tmp);
468 delete[] tmp;
469 }
470}
471
472#endif

Callers 1

DefineConsoleFunctionFunction · 0.80

Calls 3

printfFunction · 0.85
createCopy8Method · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected