MCPcopy Create free account
hub / github.com/Kitware/VTK / htmlTagLookup

Function htmlTagLookup

ThirdParty/libxml2/vtklibxml2/HTMLparser.c:1336–1344  ·  view source on GitHub ↗

* htmlTagLookup: * @tag: The tag name in lowercase * * Lookup the HTML tag in the ElementTable * * Returns the related htmlElemDescPtr or NULL if not found. */

Source from the content-addressed store, hash-verified

1334 * Returns the related htmlElemDescPtr or NULL if not found.
1335 */
1336const htmlElemDesc *
1337htmlTagLookup(const xmlChar *tag) {
1338 if (tag == NULL)
1339 return(NULL);
1340
1341 return((const htmlElemDesc *) bsearch(tag, html40ElementTable,
1342 sizeof(html40ElementTable) / sizeof(htmlElemDesc),
1343 sizeof(htmlElemDesc), htmlCompareTags));
1344}
1345
1346/**
1347 * htmlGetEndPriority:

Callers 6

htmlAutoCloseOnCloseFunction · 0.85
htmlParseElementFunction · 0.85
htmlParseElementInternalFunction · 0.85
htmlParseTryOrFinishFunction · 0.85
htmlNodeStatusFunction · 0.85
htmlNodeDumpFormatOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected