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

Method rfind

common/SmallString.cpp:702–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702s32 SmallStringBase::rfind(char c, u32 offset) const
703{
704 if (m_length == 0)
705 return -1;
706
707 pxAssert(offset <= m_length);
708 const char* at = std::strrchr(m_buffer + offset, c);
709 return at ? static_cast<s32>(at - m_buffer) : -1;
710}
711
712s32 SmallStringBase::find(const char* str, u32 offset) const
713{

Callers 15

GetTypeNameFunction · 0.80
DownloadFileMethod · 0.80
getTreeViewParentMethod · 0.80
GetNamePartMethod · 0.80
GetNameParentPartMethod · 0.80
GetELFNameForHashMethod · 0.80
AnalyseElfMethod · 0.80
GetGatewaysMethod · 0.80
GetDNSMethod · 0.80
ExecutablePathToSerialFunction · 0.80
ApplyTemplateFunction · 0.80

Calls

no outgoing calls

Tested by 1

GetTypeNameFunction · 0.64