MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / ParseName

Method ParseName

sourcecommon/tinyxml2.cpp:115–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114
115char* StrPair::ParseName( char* p )
116{
117 if ( !p || !(*p) ) {
118 return 0;
119 }
120
121 char* const start = p;
122
123 while( *p && ( p == start ? XMLUtil::IsNameStartChar( *p ) : XMLUtil::IsNameChar( *p ) )) {
124 ++p;
125 }
126
127 if ( p > start ) {
128 Set( start, p, 0 );
129 return p;
130 }
131 return 0;
132}
133
134
135void StrPair::CollapseWhitespace()

Callers 1

ParseDeepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected