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

Method FindAttribute

native/thirdpart/tinyxml2/tinyxml2.cpp:1584–1592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1582
1583
1584const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1585{
1586 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1587 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1588 return a;
1589 }
1590 }
1591 return 0;
1592}
1593
1594
1595const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers

nothing calls this directly

Calls 2

StringEqualFunction · 0.85
NameMethod · 0.45

Tested by

no test coverage detected