MCPcopy Create free account
hub / github.com/beefytech/Beef / c_str

Method c_str

BeefySysLib/util/String.cpp:911–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909}
910
911const wchar_t* UTF16String::c_str() const
912{
913 if (mVals == NULL)
914 return L"";
915 mVals[mSize - 1] = 0; // Re-terminate in case we modified the string
916 return (wchar_t*)mVals;
917}
918
919size_t UTF16String::length() const
920{

Callers 15

GetEnvFunction · 0.45
mainFunction · 0.45
CleanupOldProfilesMethod · 0.45
MakeProfileNameLockedMethod · 0.45
SuggestPprofCommandFunction · 0.45
SymbolizeMethod · 0.45
CheckWithSkipsMethod · 0.45
ValidateProfileMethod · 0.45
TEST_FFunction · 0.45
WriteStringToFileFunction · 0.45

Calls

no outgoing calls

Tested by 15

CheckWithSkipsMethod · 0.36
ValidateProfileMethod · 0.36
TEST_FFunction · 0.36
WriteStringToFileFunction · 0.36
MultithreadedTestThreadFunction · 0.36
PickTypeMethod · 0.36
TestDumpHeapProfilerFunction · 0.36
DirectTestSTLAllocFunction · 0.36
CheckWithSkipsMethod · 0.36
ValidateProfileMethod · 0.36
TEST_FFunction · 0.36