MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / clear

Method clear

common/SmallString.cpp:681–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681void SmallStringBase::clear()
682{
683 // in debug, zero whole string, in release, zero only the first character
684#if _DEBUG
685 std::memset(m_buffer, 0, m_buffer_size);
686#else
687 m_buffer[0] = '\0';
688#endif
689 m_length = 0;
690}
691
692s32 SmallStringBase::find(char c, u32 offset) const
693{

Callers 11

ClearMethod · 0.45
SetKeyValueListMethod · 0.45
NextFrameMethod · 0.45
WideStringToUTF8StringFunction · 0.45
InvalidateMethod · 0.45
ClearMethod · 0.45
SanitizeFileNameMethod · 0.45
GetWin32PathMethod · 0.45
ChangeFileNameMethod · 0.45
FindFilesMethod · 0.45
LoadBMPPaletteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected