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

Method MarkInUse

native/thirdpart/tinyxml2/tinyxml2.cpp:2179–2190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2177
2178
2179void XMLDocument::MarkInUse(const XMLNode* const node)
2180{
2181 TIXMLASSERT(node);
2182 TIXMLASSERT(node->_parent == 0);
2183
2184 for (int i = 0; i < _unlinked.Size(); ++i) {
2185 if (node == _unlinked[i]) {
2186 _unlinked.SwapRemove(i);
2187 break;
2188 }
2189 }
2190}
2191
2192void XMLDocument::Clear()
2193{

Callers 2

DeleteNodeMethod · 0.80
InsertChildPreambleMethod · 0.80

Calls 2

SizeMethod · 0.80
SwapRemoveMethod · 0.80

Tested by

no test coverage detected