MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / ParseText

Method ParseText

src/xml/tinyxml2.cpp:113–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113char* StrPair::ParseText( char* p, const char* endTag, int strFlags ) {
114 TIXMLASSERT( endTag && *endTag );
115
116 char* start = p;
117 char endChar = *endTag;
118 size_t length = strlen( endTag );
119
120 // Inner loop of text parsing.
121 while ( *p ) {
122 if ( *p == endChar && strncmp( p, endTag, length ) == 0 ) {
123 Set( start, p, strFlags );
124 return p + length;
125 }
126 ++p;
127 }
128 return 0;
129}
130
131
132char* StrPair::ParseName( char* p ) {

Callers 1

ParseDeepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected