MCPcopy Create free account
hub / github.com/MyGUI/mygui / starts_with

Function starts_with

Tools/EditorFramework/pugixml.cpp:6669–6681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6667 return xpath_string(str, false);
6668}
6669PUGI__NS_END
6670
6671PUGI__NS_BEGIN
6672PUGI__FN bool starts_with(const char_t* string, const char_t* pattern)
6673{
6674 while (*pattern && *string == *pattern)
6675 {
6676 string++;
6677 pattern++;
6678 }
6679
6680 return *pattern == 0;
6681}
6682
6683PUGI__FN const char_t* find_char(const char_t* s, char_t c)
6684{

Callers 3

operator()Method · 0.70
step_pushMethod · 0.70
eval_booleanMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected