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

Method PreviousSiblingElement

native/thirdpart/tinyxml2/tinyxml2.cpp:1030–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028
1029
1030const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const
1031{
1032 for( const XMLNode* node = _prev; node; node = node->_prev ) {
1033 const XMLElement* element = node->ToElementWithName( name );
1034 if ( element ) {
1035 return element;
1036 }
1037 }
1038 return 0;
1039}
1040
1041
1042char* XMLNode::ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected