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

Function IsWhiteSpace

native/thirdpart/tinyxml2/tinyxml2.h:572–574  ·  view source on GitHub ↗

Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't correct, but simple, and usually works.

Source from the content-addressed store, hash-verified

570 // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't
571 // correct, but simple, and usually works.
572 static bool IsWhiteSpace( char p ) {
573 return !IsUTF8Continuation(p) && isspace( static_cast<unsigned char>(p) );
574 }
575
576 inline static bool IsNameStartChar( unsigned char ch ) {
577 if ( ch >= 128 ) {

Callers 2

tinyxml2.hFile · 0.85
CollapseWhitespaceMethod · 0.85

Calls 1

IsUTF8ContinuationFunction · 0.85

Tested by

no test coverage detected