MCPcopy Create free account
hub / github.com/GPUOpen-Tools/radeon_gpu_analyzer / lengthInBytes

Method lengthInBytes

external/amdt_base_tools/src/gtString.cpp:314–319  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Name: gtString::length Description: Returns this string length in bytes Author: AMD Developer Tools Team Date: 07/09/2010 ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

312// Date: 07/09/2010
313// ---------------------------------------------------------------------------
314int gtString::lengthInBytes() const
315{
316 // TO_DO: Unicode - use preprocessor definitions (http://www.firstobject.com/wchar_t-string-on-linux-osx-windows.htm)
317 // (Static sizeof variable)
318 return (int)_impl.length() * sizeof(wchar_t);
319};
320
321
322// ---------------------------------------------------------------------------

Callers 1

writeStringImplMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected