Lines Matching refs:cur_char
277 guint32 cur_char = 0; in cr_tknzr_parse_w() local
291 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_w()
293 if (cr_utils_is_white_space (cur_char) == FALSE) { in cr_tknzr_parse_w()
311 status = cr_tknzr_peek_char (a_this, &cur_char); in cr_tknzr_parse_w()
318 if (cr_utils_is_white_space (cur_char) == TRUE) { in cr_tknzr_parse_w()
319 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_w()
407 guint32 cur_char = 0; in cr_tknzr_try_to_skip_spaces() local
412 status = cr_input_peek_char (PRIVATE (a_this)->input, &cur_char); in cr_tknzr_try_to_skip_spaces()
420 if (cr_utils_is_white_space (cur_char) == TRUE) { in cr_tknzr_try_to_skip_spaces()
445 guint32 cur_char = 0, next_char= 0; in cr_tknzr_parse_comment() local
454 READ_NEXT_CHAR (a_this, &cur_char) ; in cr_tknzr_parse_comment()
455 ENSURE_PARSING_COND (cur_char == '/'); in cr_tknzr_parse_comment()
458 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_comment()
459 ENSURE_PARSING_COND (cur_char == '*'); in cr_tknzr_parse_comment()
465 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_comment()
466 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
470 READ_NEXT_CHAR(a_this, &cur_char); in cr_tknzr_parse_comment()
471 ENSURE_PARSING_COND (cur_char == '*'); in cr_tknzr_parse_comment()
472 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
481 READ_NEXT_CHAR(a_this, &cur_char); in cr_tknzr_parse_comment()
482 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
487 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_comment()
488 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
492 READ_NEXT_CHAR(a_this, &cur_char); in cr_tknzr_parse_comment()
493 ENSURE_PARSING_COND (cur_char == '*'); in cr_tknzr_parse_comment()
494 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
502 READ_NEXT_CHAR(a_this, &cur_char); in cr_tknzr_parse_comment()
503 g_string_append_unichar (comment->stryng, cur_char); in cr_tknzr_parse_comment()
544 guint32 cur_char; in cr_tknzr_parse_unicode_escape() local
558 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_unicode_escape()
560 if (cur_char != '\\') { in cr_tknzr_parse_unicode_escape()
568 PEEK_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_unicode_escape()
570 for (occur = 0, unicode = 0; ((cur_char >= '0' && cur_char <= '9') in cr_tknzr_parse_unicode_escape()
571 || (cur_char >= 'a' && cur_char <= 'f') in cr_tknzr_parse_unicode_escape()
572 || (cur_char >= 'A' && cur_char <= 'F')) in cr_tknzr_parse_unicode_escape()
576 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_unicode_escape()
578 if ((cur_char >= '0' && cur_char <= '9')) { in cr_tknzr_parse_unicode_escape()
579 cur_char_val = (cur_char - '0'); in cr_tknzr_parse_unicode_escape()
580 } else if ((cur_char >= 'a' && cur_char <= 'f')) { in cr_tknzr_parse_unicode_escape()
581 cur_char_val = 10 + (cur_char - 'a'); in cr_tknzr_parse_unicode_escape()
582 } else if ((cur_char >= 'A' && cur_char <= 'F')) { in cr_tknzr_parse_unicode_escape()
583 cur_char_val = 10 + (cur_char - 'A'); in cr_tknzr_parse_unicode_escape()
588 PEEK_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_unicode_escape()
617 guint32 cur_char = 0; in cr_tknzr_parse_escape() local
641 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_escape()
647 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_escape()
649 if (cur_char != ' ' && (cur_char < 200 || cur_char > 4177777)) { in cr_tknzr_parse_escape()
653 *a_esc_code = cur_char; in cr_tknzr_parse_escape()
682 guint32 cur_char = 0, in cr_tknzr_parse_string() local
693 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_string()
695 if (cur_char == '"') in cr_tknzr_parse_string()
697 else if (cur_char == '\'') in cr_tknzr_parse_string()
740 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_string()
750 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_string()
752 cur_char); in cr_tknzr_parse_string()
757 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_string()
758 g_string_append_unichar (str->stryng, cur_char); in cr_tknzr_parse_string()
760 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_string()
812 guint32 cur_char = 0, in cr_tknzr_parse_nmstart() local
834 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_nmstart()
839 *a_char = cur_char; in cr_tknzr_parse_nmstart()
876 guint32 cur_char = 0, in cr_tknzr_parse_nmchar() local
905 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_nmchar()
906 *a_char = cur_char; in cr_tknzr_parse_nmchar()
1084 guint32 cur_char = 0; in cr_tknzr_parse_hash() local
1095 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_hash()
1096 if (cur_char != '#') { in cr_tknzr_parse_hash()
1136 guint32 cur_char = 0; in cr_tknzr_parse_uri() local
1179 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_uri()
1193 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_uri()
1195 (str->stryng, cur_char); in cr_tknzr_parse_uri()
1212 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_uri()
1213 if (cur_char == ')') { in cr_tknzr_parse_uri()
1398 guint32 cur_char = 0; in cr_tknzr_parse_atkeyword() local
1409 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_atkeyword()
1411 if (cur_char != '@') { in cr_tknzr_parse_atkeyword()
1439 guint32 cur_char = 0; in cr_tknzr_parse_important() local
1448 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_important()
1449 ENSURE_PARSING_COND (cur_char == '!'); in cr_tknzr_parse_important()
1504 guint32 cur_char = 0, in cr_tknzr_parse_num() local
1516 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_num()
1518 if (cur_char == '+' || cur_char == '-') { in cr_tknzr_parse_num()
1519 if (cur_char == '-') { in cr_tknzr_parse_num()
1522 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_num()
1525 if (IS_NUM (cur_char)) { in cr_tknzr_parse_num()
1526 numerator = (cur_char - '0'); in cr_tknzr_parse_num()
1529 } else if (cur_char == '.') { in cr_tknzr_parse_num()
1552 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_num()
1557 READ_NEXT_CHAR (a_this, &cur_char); in cr_tknzr_parse_num()
1560 numerator = numerator * 10 + (cur_char - '0'); in cr_tknzr_parse_num()