Lines Matching refs:cptr

38 	    data.a_cptr = data.a_line + (cptr - line - offset); \
65 char *cptr; /* position within current input-line */ variable
304 save_area.line_used = (size_t)(cptr - line); in save_line()
316 cptr = save_area.line_used + line; in restore_line()
324 cptr = line + save_area.line_used; in restore_line()
337 save_area.line_used = (size_t)(cptr - line); in get_line()
358 cptr = 0; in get_line()
396 cptr = line; in get_line()
428 s = cptr + 2; in skip_comment()
433 cptr = s + 2; in skip_comment()
442 s = cptr; in skip_comment()
461 s = cptr; in next_inline()
469 cptr = s; in next_inline()
471 s = cptr; in next_inline()
479 s = cptr; in next_inline()
485 cptr = s; in next_inline()
512 ++cptr; in nextc()
579 char *t_cptr = cptr; in keyword()
581 c = *++cptr; in keyword()
611 c = *++cptr; in keyword()
622 ++cptr; in keyword()
650 syntax_error(lineno, line, cptr); in copy_ident()
655 c = *++cptr; in copy_ident()
665 ++cptr; in copy_ident()
681 int c = *cptr++; in copy_string()
693 c = *cptr++; in copy_string()
711 c = *cptr; in copy_comment()
715 while ((c = *++cptr) != '\n') in copy_comment()
718 if (c == '*' && cptr[1] == '/') in copy_comment()
731 ++cptr; in copy_comment()
734 c = *cptr++; in copy_comment()
736 if (c == '*' && *cptr == '/') in copy_comment()
739 ++cptr; in copy_comment()
758 while (*cptr && *key) in check_key()
759 if (*key++ != *cptr++) in check_key()
761 if (*key || (!isspace(UCH(*cptr)) && *cptr != L_CURL)) in check_key()
763 cptr--; in check_key()
780 c = *++cptr; in copy_code()
791 c = *cptr; in copy_code()
821 syntax_error(lineno, line, cptr); in copy_code()
827 cptr++; /* skip initial curl */ in copy_code()
828 while (*cptr && isspace(UCH(*cptr))) /* skip space */ in copy_code()
829 cptr++; in copy_code()
847 c = *cptr++; in copy_code()
896 if (*cptr == '\n') in copy_text()
905 c = *cptr++; in copy_text()
939 if (*cptr == R_CURL) in copy_text()
943 ++cptr; in copy_text()
993 over_unionized(cptr - 6); in copy_union()
1007 c = *cptr++; in copy_union()
1174 ++cptr; in more_curly()
1289 if ((curly == 1) && (cptr == line)) in copy_param()
1318 --cptr; in copy_param()
1339 cptr++; in copy_param()
1415 syntax_error(lineno, line, cptr); in copy_param()
1442 quote = *cptr++; in get_literal()
1446 c = *cptr++; in get_literal()
1453 char *c_cptr = cptr - 1; in get_literal()
1455 c = *cptr++; in get_literal()
1473 c = *cptr; in get_literal()
1477 c = *++cptr; in get_literal()
1481 ++cptr; in get_literal()
1490 c = *cptr++; in get_literal()
1496 c = *cptr; in get_literal()
1500 ++cptr; in get_literal()
1635 for (c = *cptr; IS_IDENT(c); c = *++cptr) in get_name()
1650 char *base = cptr; in get_number()
1653 for (c = *cptr; isdigit(UCH(c)); c = *++cptr) in get_number()
1704 char *t_cptr = t_line + (cptr - line); in get_tag()
1706 ++cptr; in get_tag()
1717 c = *++cptr; in get_tag()
1727 ++cptr; in get_tag()
1738 char *b = cptr; in scan_id()
1740 while (IS_NAME2(UCH(*cptr))) in scan_id()
1741 cptr++; in scan_id()
1742 return cache_tag(b, (size_t)(cptr - b)); in scan_id()
1830 c = *++cptr; in declare_expect()
1851 syntax_error(lineno, line, cptr); in declare_expect()
1855 c = *++cptr; in declare_expect()
1871 cptr++; /* skip open paren */ in declare_argtypes()
1878 syntax_error(lineno, line, cptr); in declare_argtypes()
1886 cptr++; /* skip close paren */ in declare_argtypes()
1910 ++cptr; in scan_blanks()
1914 ++cptr; in scan_blanks()
1929 for (c = *cptr; IS_IDENT(c); c = *++cptr) in scan_ident()
1973 ++cptr; in hack_defines()
2033 syntax_error(lineno, line, cptr); in declare_start()
2057 syntax_error(lineno, line, cptr); in read_declarations()
2223 while ((c = *cptr++) != R_PAREN || depth || quote) in copy_args()
2249 if (*cptr != '\n') in copy_args()
2250 mputc(s, *cptr++); in copy_args()
2642 s_cptr = cptr; in advance_to_start()
2667 syntax_error(lineno, line, cptr); in advance_to_start()
2684 ++cptr; in advance_to_start()
2691 syntax_error(lineno, line, cptr); in advance_to_start()
2696 ++cptr; in advance_to_start()
2819 c = *cptr; in add_symbol()
2830 ++cptr; in add_symbol()
2843 ++cptr; in add_symbol()
2923 trialaction = (*cptr == L_BRAC); in copy_action()
2935 if (*cptr == '=') in copy_action()
2936 ++cptr; in copy_action()
2939 if (*after_blanks(cptr) == L_CURL) in copy_action()
2942 cptr = after_blanks(cptr); in copy_action()
2970 c = *cptr; in copy_action()
2973 if (cptr[1] == '<') in copy_action()
2977 char *d_cptr = d_line + (cptr - line); in copy_action()
2979 ++cptr; in copy_action()
2981 c = *cptr; in copy_action()
2985 ++cptr; in copy_action()
3006 else if (c == '-' && isdigit(UCH(cptr[1]))) in copy_action()
3008 ++cptr; in copy_action()
3032 else if (cptr[1] == '$') in copy_action()
3043 cptr += 2; in copy_action()
3049 else if (isdigit(UCH(cptr[1]))) in copy_action()
3051 ++cptr; in copy_action()
3076 else if (cptr[1] == '-') in copy_action()
3078 cptr += 2; in copy_action()
3086 else if (isalpha(UCH(cptr[1])) || cptr[1] == '_') in copy_action()
3089 ++cptr; in copy_action()
3095 unknown_arg_warning(lineno, "$", arg, line, cptr); in copy_action()
3114 if (cptr[1] == '$') in copy_action()
3117 cptr += 2; in copy_action()
3120 else if (isdigit(UCH(cptr[1]))) in copy_action()
3122 ++cptr; in copy_action()
3135 else if (cptr[1] == '-') in copy_action()
3137 cptr += 2; in copy_action()
3149 c = *++cptr; in copy_action()
3154 ++cptr; in copy_action()
3282 cptr = after_blanks(cptr); in get_code()
3283 if (*cptr == L_CURL) in get_code()
3287 syntax_error(lineno, line, cptr); in get_code()
3293 c = *cptr; in get_code()
3296 if (cptr[1] == '<') in get_code()
3300 char *d_cptr = d_line + (cptr - line); in get_code()
3302 ++cptr; in get_code()
3304 c = *cptr; in get_code()
3308 ++cptr; in get_code()
3315 else if (cptr[1] == '$') in get_code()
3319 cptr += 2; in get_code()
3323 if (c == '@' && cptr[1] == '$') in get_code()
3331 cptr += 2; in get_code()
3339 c = *++cptr; in get_code()
3344 ++cptr; in get_code()
3412 if (cptr[1] == '>') in copy_destructor()
3414 cptr += 2; in copy_destructor()
3428 else if (cptr[1] == '*' && cptr[2] == '>') in copy_destructor()
3430 cptr += 3; in copy_destructor()
3571 c = cptr[1]; in mark_symbol()
3574 cptr += 2; in mark_symbol()
3579 cptr += 2; in mark_symbol()
3581 ((c = cptr[2]) == 'r' || c == 'R') && in mark_symbol()
3582 ((c = cptr[3]) == 'e' || c == 'E') && in mark_symbol()
3583 ((c = cptr[4]) == 'c' || c == 'C') && in mark_symbol()
3584 ((c = cptr[5], !IS_IDENT(c)))) in mark_symbol()
3585 cptr += 5; in mark_symbol()
3587 ((c = cptr[2]) == 'm' || c == 'M') && in mark_symbol()
3588 ((c = cptr[3]) == 'p' || c == 'P') && in mark_symbol()
3589 ((c = cptr[4]) == 't' || c == 'T') && in mark_symbol()
3590 ((c = cptr[5]) == 'y' || c == 'Y') && in mark_symbol()
3591 ((c = cptr[6], !IS_IDENT(c)))) in mark_symbol()
3593 cptr += 6; in mark_symbol()
3597 syntax_error(lineno, line, cptr); in mark_symbol()
3606 syntax_error(lineno, line, cptr); in mark_symbol()
3651 ++cptr; in read_grammar()
3659 syntax_error(lineno, line, cptr); in read_grammar()