Lines Matching refs:CUR
215 * CUR returns the current xmlChar value, i.e. a 8 bit value if compiled
220 * NXT(n) returns the n'th next xmlChar. Same as CUR is should be used only
222 * UPP(n) returns the n'th next xmlChar converted to uppercase. Same as CUR
261 /* #define CUR (ctxt->token ? ctxt->token : (int) (*ctxt->input->cur)) */
262 #define CUR ((int) (*ctxt->input->cur))
2060 if (CUR == 0) return(1);
2061 if (CUR != '<') return(0);
2202 if (!IS_ASCII_LETTER(CUR) && (CUR != '_') &&
2203 (CUR != ':')) return(NULL);
2206 ((IS_ASCII_LETTER(CUR)) || (IS_ASCII_DIGIT(CUR)) ||
2207 (CUR == ':') || (CUR == '-') || (CUR == '_'))) {
2208 if ((CUR >= 'A') && (CUR <= 'Z')) loc[i] = CUR + 0x20;
2209 else loc[i] = CUR;
2362 while ((CUR != 0) && (CUR != stop)) {
2363 if ((stop == 0) && (CUR == '>')) break;
2364 if ((stop == 0) && (IS_BLANK_CH(CUR))) break;
2365 if (CUR == '&') {
2487 if (CUR == '&') {
2495 if (CUR == ';') {
2533 if (CUR == '"') {
2536 if (CUR != '"') {
2541 } else if (CUR == '\'') {
2544 if (CUR != '\'') {
2578 if (CUR == '"') {
2581 while ((IS_CHAR_CH(CUR)) && (CUR != '"'))
2583 if (!IS_CHAR_CH(CUR)) {
2590 } else if (CUR == '\'') {
2593 while ((IS_CHAR_CH(CUR)) && (CUR != '\''))
2595 if (!IS_CHAR_CH(CUR)) {
2628 if (CUR == '"') {
2631 while (IS_PUBIDCHAR_CH(CUR)) NEXT;
2632 if (CUR != '"') {
2639 } else if (CUR == '\'') {
2642 while ((IS_PUBIDCHAR_CH(CUR)) && (CUR != '\''))
2644 if (CUR != '\'') {
2857 if (!IS_BLANK_CH(CUR)) {
2871 if (!IS_BLANK_CH(CUR)) {
2883 if ((CUR == '"') || (CUR == '\'')) {
2942 cur = CUR;
3106 if ((CUR == '&') && (NXT(1) == '#') &&
3109 while (CUR != ';') {
3110 if ((CUR >= '0') && (CUR <= '9'))
3111 val = val * 16 + (CUR - '0');
3112 else if ((CUR >= 'a') && (CUR <= 'f'))
3113 val = val * 16 + (CUR - 'a') + 10;
3114 else if ((CUR >= 'A') && (CUR <= 'F'))
3115 val = val * 16 + (CUR - 'A') + 10;
3124 if (CUR == ';')
3126 } else if ((CUR == '&') && (NXT(1) == '#')) {
3128 while (CUR != ';') {
3129 if ((CUR >= '0') && (CUR <= '9'))
3130 val = val * 10 + (CUR - '0');
3139 if (CUR == ';')
3206 if (CUR != '>') {
3265 if (CUR == '=') {
3445 if (CUR != '<') return -1;
3458 while ((IS_CHAR_CH(CUR)) && (CUR != '>'))
3499 while ((IS_CHAR_CH(CUR)) && (CUR != '>'))
3512 while ((IS_CHAR_CH(CUR)) &&
3513 (CUR != '>') &&
3514 ((CUR != '/') || (NXT(1) != '>'))) {
3575 while ((IS_CHAR_CH(CUR)) &&
3576 !(IS_BLANK_CH(CUR)) && (CUR != '>') &&
3577 ((CUR != '/') || (NXT(1) != '>')))
3640 if ((CUR != '<') || (NXT(1) != '/')) {
3655 if ((!IS_CHAR_CH(CUR)) || (CUR != '>')) {
3664 while (CUR != '\0' && CUR != '>') NEXT;
3734 if (CUR != '&') return;
3820 if ((CUR == '<') && (NXT(1) == '/')) {
3830 else if ((CUR == '<') &&
3839 while ((IS_CHAR_CH(CUR)) && (CUR != '>'))
3866 if ((CUR != 0) && ((xmlStrEqual(currentNode, BAD_CAST"script")) ||
3876 if ((CUR == '<') && (NXT(1) == '!') &&
3890 if ((CUR == '<') && (NXT(1) == '!') &&
3898 else if ((CUR == '<') && (NXT(1) == '?')) {
3905 else if (CUR == '<') {
3913 else if (CUR == '&') {
3920 else if (CUR == 0) {
3995 if (CUR == '>')
4012 if ((CUR == '/') && (NXT(1) == '>')) {
4020 if (CUR == '>') {
4062 while (IS_CHAR_CH(CUR)) {
4079 if (!IS_CHAR_CH(CUR)) {
4123 if (CUR == 0) {
4135 while (((CUR == '<') && (NXT(1) == '!') &&
4137 ((CUR == '<') && (NXT(1) == '?'))) {
4148 if ((CUR == '<') && (NXT(1) == '!') &&
4160 while (((CUR == '<') && (NXT(1) == '!') &&
4162 ((CUR == '<') && (NXT(1) == '?'))) {
4176 if (CUR == 0)
4898 if (CUR == '>')
4915 if ((CUR == '/') && (NXT(1) == '>')) {
4928 if (CUR == '>') {