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

Method count

common/SmallString.cpp:722–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722u32 SmallStringBase::count(char ch) const
723{
724 const char* ptr = m_buffer;
725 const char* end = ptr + m_length;
726 u32 count = 0;
727 while (ptr != end)
728 count += static_cast<u32>(*(ptr++) == ch);
729 return count;
730}
731
732void SmallStringBase::resize(u32 new_size, char fill, bool shrink_if_smaller)
733{

Callers 15

makeNullableIntMethod · 0.45
makeNullableFloatMethod · 0.45
createDisplayWidgetMethod · 0.45
saveCoverURLsMethod · 0.45
createWidgetsMethod · 0.45
updateListDescriptionMethod · 0.45
refreshProfileListMethod · 0.45
initializeSpeedComboMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected