MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / StringEqual

Function StringEqual

externals/tinyxml2/tinyxml2.h:595–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593 }
594
595 inline static bool StringEqual( const char* p, const char* q, int nChar=INT_MAX ) {
596 if ( p == q ) {
597 return true;
598 }
599 TIXMLASSERT( p );
600 TIXMLASSERT( q );
601 TIXMLASSERT( nChar >= 0 );
602 return strncmp( p, q, static_cast<size_t>(nChar) ) == 0;
603 }
604
605 inline static bool IsUTF8Continuation( const char p ) {
606 return ( p & 0x80 ) != 0;

Callers 9

ToBoolMethod · 0.85
IdentifyMethod · 0.85
ParseDeepMethod · 0.85
ToElementWithNameMethod · 0.85
ShallowEqualMethod · 0.85
FindAttributeMethod · 0.85
AttributeMethod · 0.85
FindOrCreateAttributeMethod · 0.85
DeleteAttributeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected