Home | History | Annotate | Download | only in libxml2

Lines Matching refs:pattern

2  * pattern.c: Implemetation of selectors for nodes
18 * - making clear how pattern starting with / or . need to be handled,
36 #include <libxml/pattern.h>
109 struct _xmlStreamCtxt *next;/* link to next sub pattern if | */
167 struct _xmlPattern *next; /* next pattern if | is used */
168 const xmlChar *pattern; /* the pattern */
198 * Create a new XSLT Pattern
241 if (comp->pattern != NULL)
242 xmlFree((xmlChar *)comp->pattern);
282 * @pattern: the pattern context
287 * Create a new XML pattern parser context
292 xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict,
296 if (pattern == NULL)
307 cur->cur = pattern;
308 cur->base = pattern;
490 * @comp: the precompiled pattern
493 * Test whether the node matches the pattern
1006 * Compile the Step Pattern and generates a precompiled
1227 * Compile the Path Pattern and generates a precompiled
1313 "Failed to compile pattern %s\n", ctxt->base);
1324 * Compile the Path Pattern and generates a precompiled
1487 * build a new compiled pattern for streaming
1519 * @comp: the compiled pattern for streaming
1521 * Free the compiled pattern for streaming
1536 * @comp: the compiled pattern for streaming
1541 * Add a new step to the compiled pattern
1571 * @comp: the precompiled pattern
1573 * Tries to stream compile a pattern
1724 * If this should behave like a real pattern, we will mark
1919 * For non-pattern like evaluation like XML Schema IDCs
2080 * expressions if the *pattern* behaviour is used.
2320 * Query if the streaming pattern additionally needs to be fed with
2349 * @pattern: the pattern to compile
2354 * Compile a pattern.
2356 * Returns the compiled form of the pattern or NULL in case of error
2359 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags,
2368 if (pattern == NULL)
2371 start = pattern;
2456 * @comp: the precompiled pattern
2459 * Test whether the node matches the pattern
2482 * @comp: the precompiled pattern
2484 * Get a streaming context for that pattern
2520 * @comp: the precompiled pattern
2522 * Check if the pattern is streamable i.e. xmlPatternGetStreamCtxt()
2541 * @comp: the precompiled pattern
2543 * Check the maximum depth reachable by a pattern
2568 * @comp: the precompiled pattern
2570 * Check the minimum depth reachable by a pattern, 0 mean the / or . are
2595 * @comp: the precompiled pattern
2597 * Check if the pattern must be looked at from the root.