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

Function xmlPatternStreamable

ThirdParty/libxml2/vtklibxml2/pattern.c:2476–2486  ·  view source on GitHub ↗

* xmlPatternStreamable: * @comp: the precompiled pattern * * Check if the pattern is streamable i.e. xmlPatternGetStreamCtxt() * should work. * * Returns 1 if streamable, 0 if not and -1 in case of error. */

Source from the content-addressed store, hash-verified

2474 * Returns 1 if streamable, 0 if not and -1 in case of error.
2475 */
2476int
2477xmlPatternStreamable(xmlPatternPtr comp) {
2478 if (comp == NULL)
2479 return(-1);
2480 while (comp != NULL) {
2481 if (comp->stream == NULL)
2482 return(0);
2483 comp = comp->next;
2484 }
2485 return(1);
2486}
2487
2488/**
2489 * xmlPatternMaxDepth:

Callers 1

xmlXPathTryStreamCompileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected