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

Method getSubString

external/amdt_base_tools/src/gtString.cpp:1553–1557  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Name: gtString::getSubString Description: Returns a sub string, beginning at startPosition and ending at endPosition. Author: AMD Developer Tools Team Date: 15/5/2004 ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1551// Date: 15/5/2004
1552// ---------------------------------------------------------------------------
1553void gtString::getSubString(int startPosition, int endPosition, gtString& subString) const
1554{
1555 std::wstring subStr = _impl.substr(startPosition, (endPosition - startPosition + 1));
1556 subString = subStr.c_str();
1557}
1558
1559// ---------------------------------------------------------------------------
1560// Name: gtString::truncate

Callers 14

gtString.cppFile · 0.45
fromStringMethod · 0.45
addPrintoutMethod · 0.45
osGetRedirectionFileNameFunction · 0.45
osFilePath.cppFile · 0.45
GT_IF_WITH_ASSERTFunction · 0.45
fromStringMethod · 0.45
asULongAddressMethod · 0.45
createMethod · 0.45
fromStringMethod · 0.45

Calls 1

substrMethod · 0.80

Tested by

no test coverage detected