Lines Matching refs:CUR
3087 #define CUR (*ctxt->cur) macro
9832 if (ret && CUR == ':') { in xmlXPathParseQName()
10099 if ((CUR != '.') && ((CUR < '0') || (CUR > '9'))) { in xmlXPathCompNumber()
10108 while ((CUR >= '0') && (CUR <= '9')) { in xmlXPathCompNumber()
10110 tmp = (CUR - '0'); in xmlXPathCompNumber()
10118 while ((CUR >= '0') && (CUR <= '9')) { in xmlXPathCompNumber()
10119 ret = ret * 10 + (CUR - '0'); in xmlXPathCompNumber()
10124 if (CUR == '.') { in xmlXPathCompNumber()
10129 if (((CUR < '0') || (CUR > '9')) && (!ok)) { in xmlXPathCompNumber()
10132 while (CUR == '0') { in xmlXPathCompNumber()
10137 while ((CUR >= '0') && (CUR <= '9') && (frac < max)) { in xmlXPathCompNumber()
10138 v = (CUR - '0'); in xmlXPathCompNumber()
10145 while ((CUR >= '0') && (CUR <= '9')) in xmlXPathCompNumber()
10148 if ((CUR == 'e') || (CUR == 'E')) { in xmlXPathCompNumber()
10150 if (CUR == '-') { in xmlXPathCompNumber()
10153 } else if (CUR == '+') { in xmlXPathCompNumber()
10156 while ((CUR >= '0') && (CUR <= '9')) { in xmlXPathCompNumber()
10158 exponent = exponent * 10 + (CUR - '0'); in xmlXPathCompNumber()
10190 if (CUR == '"') { in xmlXPathParseLiteral()
10193 while ((IS_CHAR_CH(CUR)) && (CUR != '"')) in xmlXPathParseLiteral()
10195 if (!IS_CHAR_CH(CUR)) { in xmlXPathParseLiteral()
10201 } else if (CUR == '\'') { in xmlXPathParseLiteral()
10204 while ((IS_CHAR_CH(CUR)) && (CUR != '\'')) in xmlXPathParseLiteral()
10206 if (!IS_CHAR_CH(CUR)) { in xmlXPathParseLiteral()
10235 if (CUR == '"') { in xmlXPathCompLiteral()
10238 while ((IS_CHAR_CH(CUR)) && (CUR != '"')) in xmlXPathCompLiteral()
10240 if (!IS_CHAR_CH(CUR)) { in xmlXPathCompLiteral()
10246 } else if (CUR == '\'') { in xmlXPathCompLiteral()
10249 while ((IS_CHAR_CH(CUR)) && (CUR != '\'')) in xmlXPathCompLiteral()
10251 if (!IS_CHAR_CH(CUR)) { in xmlXPathCompLiteral()
10294 if (CUR != '$') { in xmlXPathCompVariableReference()
10375 if (CUR != '(') { in xmlXPathCompFunctionCall()
10392 if (CUR != ')') { in xmlXPathCompFunctionCall()
10393 while (CUR != 0) { in xmlXPathCompFunctionCall()
10404 if (CUR == ')') break; in xmlXPathCompFunctionCall()
10405 if (CUR != ',') { in xmlXPathCompFunctionCall()
10437 if (CUR == '$') xmlXPathCompVariableReference(ctxt); in xmlXPathCompPrimaryExpr()
10438 else if (CUR == '(') { in xmlXPathCompPrimaryExpr()
10443 if (CUR != ')') { in xmlXPathCompPrimaryExpr()
10448 } else if (IS_ASCII_DIGIT(CUR) || (CUR == '.' && IS_ASCII_DIGIT(NXT(1)))) { in xmlXPathCompPrimaryExpr()
10450 } else if ((CUR == '\'') || (CUR == '"')) { in xmlXPathCompPrimaryExpr()
10479 while (CUR == '[') { in xmlXPathCompFilterExpr()
10559 if ((CUR == '$') || (CUR == '(') || in xmlXPathCompPathExpr()
10560 (IS_ASCII_DIGIT(CUR)) || in xmlXPathCompPathExpr()
10561 (CUR == '\'') || (CUR == '"') || in xmlXPathCompPathExpr()
10562 (CUR == '.' && IS_ASCII_DIGIT(NXT(1)))) { in xmlXPathCompPathExpr()
10564 } else if (CUR == '*') { in xmlXPathCompPathExpr()
10567 } else if (CUR == '/') { in xmlXPathCompPathExpr()
10570 } else if (CUR == '@') { in xmlXPathCompPathExpr()
10573 } else if (CUR == '.') { in xmlXPathCompPathExpr()
10675 if (CUR == '/') { in xmlXPathCompPathExpr()
10684 if ((CUR == '/') && (NXT(1) == '/')) { in xmlXPathCompPathExpr()
10692 } else if (CUR == '/') { in xmlXPathCompPathExpr()
10714 while (CUR == '|') { in xmlXPathCompUnionExpr()
10744 while (CUR == '-') { in xmlXPathCompUnaryExpr()
10779 while ((CUR == '*') || in xmlXPathCompMultiplicativeExpr()
10780 ((CUR == 'd') && (NXT(1) == 'i') && (NXT(2) == 'v')) || in xmlXPathCompMultiplicativeExpr()
10781 ((CUR == 'm') && (NXT(1) == 'o') && (NXT(2) == 'd'))) { in xmlXPathCompMultiplicativeExpr()
10785 if (CUR == '*') { in xmlXPathCompMultiplicativeExpr()
10788 } else if (CUR == 'd') { in xmlXPathCompMultiplicativeExpr()
10791 } else if (CUR == 'm') { in xmlXPathCompMultiplicativeExpr()
10820 while ((CUR == '+') || (CUR == '-')) { in xmlXPathCompAdditiveExpr()
10824 if (CUR == '+') plus = 1; in xmlXPathCompAdditiveExpr()
10858 while ((CUR == '<') || (CUR == '>')) { in xmlXPathCompRelationalExpr()
10862 if (CUR == '<') inf = 1; in xmlXPathCompRelationalExpr()
10897 while ((CUR == '=') || ((CUR == '!') && (NXT(1) == '='))) { in xmlXPathCompEqualityExpr()
10901 if (CUR == '=') eq = 1; in xmlXPathCompEqualityExpr()
10928 while ((CUR == 'a') && (NXT(1) == 'n') && (NXT(2) == 'd')) { in xmlXPathCompAndExpr()
10966 while ((CUR == 'o') && (NXT(1) == 'r')) { in xmlXPathCompileExpr()
11004 if (CUR != '[') { in xmlXPathCompPredicate()
11026 if (CUR != ']') { in xmlXPathCompPredicate()
11075 if ((name == NULL) && (CUR == '*')) { in xmlXPathCompNodeTest()
11090 blanks = IS_BLANK_CH(CUR); in xmlXPathCompNodeTest()
11092 if (CUR == '(') { in xmlXPathCompNodeTest()
11121 if (CUR != ')') { in xmlXPathCompNodeTest()
11128 if (CUR != ')') { in xmlXPathCompNodeTest()
11137 if ((!blanks) && (CUR == ':')) { in xmlXPathCompNodeTest()
11158 if (CUR == '*') { in xmlXPathCompNodeTest()
11283 if ((CUR == '.') && (NXT(1) == '.')) { in xmlXPathCompStep()
11288 } else if (CUR == '.') { in xmlXPathCompStep()
11309 if (CUR != '(') { in xmlXPathCompStep()
11320 if (CUR != ')') { in xmlXPathCompStep()
11329 if (CUR == '*') { in xmlXPathCompStep()
11338 if ((CUR == ':') && (NXT(1) == ':')) { in xmlXPathCompStep()
11349 } else if (CUR == '@') { in xmlXPathCompStep()
11394 while (CUR == '[') { in xmlXPathCompStep()
11436 if ((CUR == '/') && (NXT(1) == '/')) { in xmlXPathCompRelativeLocationPath()
11441 } else if (CUR == '/') { in xmlXPathCompRelativeLocationPath()
11448 while (CUR == '/') { in xmlXPathCompRelativeLocationPath()
11449 if ((CUR == '/') && (NXT(1) == '/')) { in xmlXPathCompRelativeLocationPath()
11455 } else if (CUR == '/') { in xmlXPathCompRelativeLocationPath()
11488 if (CUR != '/') { in xmlXPathCompLocationPath()
11491 while (CUR == '/') { in xmlXPathCompLocationPath()
11492 if ((CUR == '/') && (NXT(1) == '/')) { in xmlXPathCompLocationPath()
11498 } else if (CUR == '/') { in xmlXPathCompLocationPath()
11501 if ((CUR != 0 ) && in xmlXPathCompLocationPath()
11502 ((IS_ASCII_LETTER(CUR)) || (CUR == '_') || (CUR == '.') || in xmlXPathCompLocationPath()
11503 (CUR == '@') || (CUR == '*'))) in xmlXPathCompLocationPath()