Home
last modified time | relevance | path

Searched refs:StringEqual (Results 1 – 5 of 5) sorted by relevance

/external/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp534 bool TiXmlBase::StringEqual( const char* p, in StringEqual() function in TiXmlBase
587 && !StringEqual( p, endTag, caseInsensitive, encoding ) in ReadText()
603 && !StringEqual( p, endTag, caseInsensitive, encoding ) ) in ReadText()
777 else if ( StringEqual( enc, "UTF-8", true, TIXML_ENCODING_UNKNOWN ) ) in Parse()
779 else if ( StringEqual( enc, "UTF8", true, TIXML_ENCODING_UNKNOWN ) ) in Parse()
847 if ( StringEqual( p, xmlHeader, true, encoding ) ) in Identify()
854 else if ( StringEqual( p, commentHeader, false, encoding ) ) in Identify()
861 else if ( StringEqual( p, cdataHeader, false, encoding ) ) in Identify()
870 else if ( StringEqual( p, dtdHeader, false, encoding ) ) in Identify()
1122 if ( StringEqual( p, endTag.c_str(), false, encoding ) ) in Parse()
[all …]
Dtinyxml.cpp690 if ( StringEqual( node->Value(), "true", true, TIXML_ENCODING_UNKNOWN ) in QueryBoolAttribute()
691 || StringEqual( node->Value(), "yes", true, TIXML_ENCODING_UNKNOWN ) in QueryBoolAttribute()
692 || StringEqual( node->Value(), "1", true, TIXML_ENCODING_UNKNOWN ) ) in QueryBoolAttribute()
697 else if ( StringEqual( node->Value(), "false", true, TIXML_ENCODING_UNKNOWN ) in QueryBoolAttribute()
698 || StringEqual( node->Value(), "no", true, TIXML_ENCODING_UNKNOWN ) in QueryBoolAttribute()
699 || StringEqual( node->Value(), "0", true, TIXML_ENCODING_UNKNOWN ) ) in QueryBoolAttribute()
Dtinyxml.h366 static bool StringEqual( const char* p,
/external/tinyxml2/
Dtinyxml2.cpp624 if (StringEqual(str, TRUE_VALS[i])) { in ToBool()
630 if (StringEqual(str, FALSE_VALS[i])) { in ToBool()
707 if ( XMLUtil::StringEqual( p, xmlHeader, xmlHeaderLen ) ) { in Identify()
712 else if ( XMLUtil::StringEqual( p, commentHeader, commentHeaderLen ) ) { in Identify()
717 else if ( XMLUtil::StringEqual( p, cdataHeader, cdataHeaderLen ) ) { in Identify()
724 else if ( XMLUtil::StringEqual( p, dtdHeader, dtdHeaderLen ) ) { in Identify()
729 else if ( XMLUtil::StringEqual( p, elementHeader, elementHeaderLen ) ) { in Identify()
1109 else if ( !XMLUtil::StringEqual( endTag.GetStr(), ele->Name() ) ) { in ParseDeep()
1162 if ( XMLUtil::StringEqual( element->Name(), name ) ) { in ToElementWithName()
1211 return ( text && XMLUtil::StringEqual( text->Value(), Value() ) ); in ShallowEqual()
[all …]
Dtinyxml2.h593 inline static bool StringEqual( const char* p, const char* q, int nChar=INT_MAX ) {