Home | History | Annotate | Download | only in libxml2

Lines Matching refs:flags

16  * - compilation flags to check for specific syntaxes
17 * using flags of xmlPatterncompile()
53 * NOTE: Those private flags (XML_STREAM_xxx) are used
72 #define XML_STREAM_XS_IDC(c) ((c)->flags & \
75 #define XML_STREAM_XS_IDC_SEL(c) ((c)->flags & XML_PATTERN_XSSEL)
77 #define XML_STREAM_XS_IDC_FIELD(c) ((c)->flags & XML_PATTERN_XSFIELD)
89 int flags; /* properties of that step */
102 int flags;
112 int flags; /* validation options */
166 int flags; /* flags */
1231 ctxt->comp->flags |= PAT_FROM_ROOT;
1232 } else if ((CUR == '.') || (ctxt->comp->flags & XML_PATTERN_NOTPATTERN)) {
1233 ctxt->comp->flags |= PAT_FROM_CUR;
1333 ctxt->comp->flags |= PAT_FROM_CUR;
1441 if (stream->steps[i].flags & XML_STREAM_STEP_ROOT)
1443 if (stream->steps[i].flags & XML_STREAM_STEP_DESC)
1445 if (stream->steps[i].flags & XML_STREAM_STEP_FINAL)
1469 if (ctxt->comp->steps[ctxt->states[2 * i]].flags &
1534 * @flags: the flags for that step
1542 const xmlChar *ns, int nodeType, int flags) {
1557 cur->flags = flags;
1575 int i, s = 0, root = 0, flags = 0, prevs = -1;
1591 stream->flags |= XML_STREAM_FINAL_IS_ANY_NODE;
1605 if (comp->flags & PAT_FROM_ROOT)
1606 stream->flags |= XML_STREAM_FROM_ROOT;
1620 XML_ELEMENT_NODE, flags);
1624 flags = 0;
1627 flags |= XML_STREAM_STEP_ATTR;
1630 step.value, step.value2, XML_ATTRIBUTE_NODE, flags);
1631 flags = 0;
1646 (flags & XML_STREAM_STEP_DESC)) {
1652 stream->flags |= XML_STREAM_FINAL_IS_ANY_NODE;
1654 flags |= XML_STREAM_STEP_NODE;
1656 XML_STREAM_ANY_NODE, flags);
1659 flags = 0;
1667 stream->steps[prevs].flags |= XML_STREAM_STEP_IN_SET;
1679 XML_ELEMENT_NODE, flags);
1683 flags = 0;
1688 XML_ELEMENT_NODE, flags);
1692 flags = 0;
1696 XML_ELEMENT_NODE, flags);
1700 flags = 0;
1706 if (flags & XML_STREAM_STEP_DESC)
1708 flags |= XML_STREAM_STEP_DESC;
1712 if ((stream->flags & XML_STREAM_DESC) == 0)
1713 stream->flags |= XML_STREAM_DESC;
1717 if ((! root) && (comp->flags & XML_PATTERN_NOTPATTERN) == 0) {
1723 if ((stream->flags & XML_STREAM_DESC) == 0)
1724 stream->flags |= XML_STREAM_DESC;
1727 if ((stream->steps[0].flags & XML_STREAM_STEP_DESC) == 0)
1728 stream->steps[0].flags |= XML_STREAM_STEP_DESC;
1733 stream->steps[s].flags |= XML_STREAM_STEP_FINAL;
1735 stream->steps[0].flags |= XML_STREAM_STEP_ROOT;
1875 if (comp->flags & XML_STREAM_FROM_ROOT) {
1882 (comp->steps[0].flags & XML_STREAM_STEP_DESC))
1889 } else if (comp->steps[0].flags & XML_STREAM_STEP_ROOT) {
1909 if (stream->flags & XML_PATTERN_XPATH) {
1919 (((stream->flags & XML_PATTERN_NOTPATTERN) == 0) ||
1936 ((comp->flags & XML_STREAM_FINAL_IS_ANY_NODE) == 0)) {
1952 if ((comp->flags & XML_STREAM_DESC) == 0) {
1987 desc = comp->steps[stepNr].flags & XML_STREAM_STEP_DESC;
2000 if ((comp->flags & XML_STREAM_DESC) == 0)
2045 final = step.flags & XML_STREAM_STEP_FINAL;
2062 if ((ret != 1) && (step.flags & XML_STREAM_STEP_IN_SET)) {
2070 if (((comp->flags & XML_STREAM_DESC) == 0) &&
2091 if (step.flags & XML_STREAM_STEP_ROOT)
2094 desc = step.flags & XML_STREAM_STEP_DESC;
2095 if (stream->flags & XML_PATTERN_NOTPATTERN) {
2160 final = step.flags & XML_STREAM_STEP_FINAL;
2166 if ((ret != 1) && (step.flags & XML_STREAM_STEP_IN_SET)) {
2174 if (((comp->flags & XML_STREAM_DESC) == 0) &&
2329 if (streamCtxt->comp->flags & XML_STREAM_FINAL_IS_ANY_NODE)
2346 * @flags: compilation flags, see xmlPatternFlags
2354 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags,
2396 cur->flags = flags;
2411 type = cur->flags & (PAT_FROM_ROOT | PAT_FROM_CUR);
2413 if (cur->flags & PAT_FROM_CUR)
2416 if (cur->flags & PAT_FROM_ROOT)
2504 cur->flags = comp->flags;
2552 if (comp->stream->steps[i].flags & XML_STREAM_STEP_DESC)
2603 if (comp->flags & PAT_FROM_ROOT)