MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / IsNameStartChar

Function IsNameStartChar

native/thirdpart/tinyxml2/tinyxml2.h:576–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574 }
575
576 inline static bool IsNameStartChar( unsigned char ch ) {
577 if ( ch >= 128 ) {
578 // This is a heuristic guess in attempt to not implement Unicode-aware isalpha()
579 return true;
580 }
581 if ( isalpha( ch ) ) {
582 return true;
583 }
584 return ch == ':' || ch == '_';
585 }
586
587 inline static bool IsNameChar( unsigned char ch ) {
588 return IsNameStartChar( ch )

Callers 3

IsNameCharFunction · 0.85
ParseNameMethod · 0.85
ParseAttributesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected