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

Function xmlPatterncompile

ThirdParty/libxml2/vtklibxml2/pattern.c:2395–2401  ·  view source on GitHub ↗

* xmlPatterncompile: * @pattern: the pattern to compile * @dict: an optional dictionary for interned strings * @flags: compilation flags, see xmlPatternFlags * @namespaces: the prefix definitions, array of [URI, prefix] or NULL * * Compile a pattern. * * Returns the compiled form of the pattern or NULL in case of error */

Source from the content-addressed store, hash-verified

2393 * Returns the compiled form of the pattern or NULL in case of error
2394 */
2395xmlPatternPtr
2396xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags,
2397 const xmlChar **namespaces) {
2398 xmlPatternPtr ret;
2399 xmlPatternCompileSafe(pattern, dict, flags, namespaces, &ret);
2400 return(ret);
2401}
2402
2403/**
2404 * xmlPatternMatch:

Callers 5

xmllint.cFile · 0.85
xmlSchematronAddRuleFunction · 0.85
patternTestFunction · 0.85

Calls 1

xmlPatternCompileSafeFunction · 0.85

Tested by 1

patternTestFunction · 0.68