| 700 | } |
| 701 | |
| 702 | s32 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 | |
| 712 | s32 SmallStringBase::find(const char* str, u32 offset) const |
| 713 | { |
no outgoing calls