MCPcopy Create free account
hub / github.com/cpputest/cpputest / StrStr

Method StrStr

src/CppUTest/SimpleString.cpp:204–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204const char* SimpleString::StrStr(const char* s1, const char* s2)
205{
206 if(!*s2) return s1;
207 for (; *s1; s1++)
208 if (StrNCmp(s1, s2, StrLen(s2)) == 0)
209 return s1;
210 return NULLPTR;
211}
212
213char SimpleString::ToLower(char ch)
214{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected