MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / ParseName

Method ParseName

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:218–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

ParseDeepMethod · 0.80

Calls 3

IsNameStartCharFunction · 0.85
IsNameCharFunction · 0.85
SetFunction · 0.50

Tested by

no test coverage detected