MCPcopy Create free account
hub / github.com/cemu-project/Cemu / ParseName

Method ParseName

src/util/tinyxml2/tinyxml2.cpp:218–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218 char* StrPair::ParseName(char* p)
219 {
220 if (!p || !(*p)) {
221 return 0;
222 }
223 if (!XMLUtil::IsNameStartChar(*p)) {
224 return 0;
225 }
226
227 char* const start = p;
228 ++p;
229 while (*p && XMLUtil::IsNameChar(*p)) {
230 ++p;
231 }
232
233 Set(start, p, 0);
234 return p;
235 }
236
237
238 void StrPair::CollapseWhitespace()

Callers 1

ParseDeepMethod · 0.80

Calls 2

IsNameStartCharFunction · 0.85
IsNameCharFunction · 0.85

Tested by

no test coverage detected