Lines Matching refs:yyg
237 #define yyin yyg->yyin_r
238 #define yyout yyg->yyout_r
239 #define yyextra yyg->yyextra_r
240 #define yyleng yyg->yyleng_r
241 #define yytext yyg->yytext_r
244 #define yy_flex_debug yyg->yy_flex_debug_r
262 #define BEGIN yyg->yy_start = 1 + 2 *
267 #define YY_START ((yyg->yy_start - 1) / 2)
342 *yy_cp = yyg->yy_hold_char; \
344 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
348 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
428 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
429 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
434 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
515 yyg->yytext_ptr = yy_bp; \
517 yyg->yy_hold_char = *yy_cp; \
519 yyg->yy_c_buf_p = yy_cp;
1258 # define yylval yyg->yylval_r
1262 # define yylloc yyg->yylloc_r
1538 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1550 if ( !yyg->yy_init )
1552 yyg->yy_init = 1;
1560 if ( ! yyg->yy_start )
1561 yyg->yy_start = 1; /* first start state */
1588 yy_cp = yyg->yy_c_buf_p;
1591 *yy_cp = yyg->yy_hold_char;
1598 yy_current_state = yyg->yy_start;
1605 yyg->yy_last_accepting_state = yy_current_state;
1606 yyg->yy_last_accepting_cpos = yy_cp;
1618 yy_cp = yyg->yy_last_accepting_cpos;
1619 yy_current_state = yyg->yy_last_accepting_state;
1647 *yy_cp = yyg->yy_hold_char;
1648 yy_cp = yyg->yy_last_accepting_cpos;
1649 yy_current_state = yyg->yy_last_accepting_state;
2357 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
2360 *yy_cp = yyg->yy_hold_char;
2374 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2386 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2390 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2405 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2410 yy_cp = ++yyg->yy_c_buf_p;
2417 yy_cp = yyg->yy_last_accepting_cpos;
2418 yy_current_state = yyg->yy_last_accepting_state;
2427 yyg->yy_did_buffer_switch_on_eof = 0;
2440 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2448 if ( ! yyg->yy_did_buffer_switch_on_eof )
2455 yyg->yy_c_buf_p =
2456 yyg->yytext_ptr + yy_amount_of_matched_text;
2460 yy_cp = yyg->yy_c_buf_p;
2461 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2465 yyg->yy_c_buf_p =
2466 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2470 yy_cp = yyg->yy_c_buf_p;
2471 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2498 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
2500 char *source = yyg->yytext_ptr;
2504 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2510 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2530 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
2539 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2553 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2577 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2589 yyg->yy_n_chars, num_to_read );
2591 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2594 if ( yyg->yy_n_chars == 0 )
2613 if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2615 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2624 yyg->yy_n_chars += number_to_move;
2625 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2626 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2628 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2640 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
2642 yy_current_state = yyg->yy_start; in yy_get_previous_state()
2644 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
2649 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
2650 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
2673 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
2674 char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
2679 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
2680 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
2691 (void)yyg; in yy_try_NUL_trans()
2709 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
2711 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
2713 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
2719 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
2721 *yyg->yy_c_buf_p = '\0'; in yyinput()
2725 int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr); in yyinput()
2726 ++yyg->yy_c_buf_p; in yyinput()
2751 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
2761 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
2767 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
2768 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
2769 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
2789 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrestart() local
2808 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_switch_to_buffer() local
2822 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yy_switch_to_buffer()
2823 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yy_switch_to_buffer()
2824 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_switch_to_buffer()
2835 yyg->yy_did_buffer_switch_on_eof = 1; in yy_switch_to_buffer()
2841 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_load_buffer_state() local
2842 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
2843 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
2845 yyg->yy_hold_char = *yyg->yy_c_buf_p; in yy_load_buffer_state()
2885 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_delete_buffer() local
2908 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_buffer() local
2938 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flush_buffer() local
2968 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypush_buffer_state() local
2978 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yypush_buffer_state()
2979 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yypush_buffer_state()
2980 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yypush_buffer_state()
2985 yyg->yy_buffer_stack_top++; in yypush_buffer_state()
2990 yyg->yy_did_buffer_switch_on_eof = 1; in yypush_buffer_state()
3000 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypop_buffer_state() local
3006 if (yyg->yy_buffer_stack_top > 0) in yypop_buffer_state()
3007 --yyg->yy_buffer_stack_top; in yypop_buffer_state()
3011 yyg->yy_did_buffer_switch_on_eof = 1; in yypop_buffer_state()
3022 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyensure_buffer_stack() local
3024 if (!yyg->yy_buffer_stack) { in yyensure_buffer_stack()
3031 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
3034 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
3038 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
3040 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
3041 yyg->yy_buffer_stack_top = 0; in yyensure_buffer_stack()
3045 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in yyensure_buffer_stack()
3050 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
3051 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
3052 (yyg->yy_buffer_stack, in yyensure_buffer_stack()
3055 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
3059 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in yyensure_buffer_stack()
3060 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
3176 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error() local
3177 (void)yyg; in yy_fatal_error()
3191 yytext[yyleng] = yyg->yy_hold_char; \
3192 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
3193 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
3194 *yyg->yy_c_buf_p = '\0'; \
3209 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_extra() local
3220 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lineno() local
3237 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_column() local
3254 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_in() local
3265 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_out() local
3276 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_leng() local
3287 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_text() local
3299 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_extra() local
3311 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lineno() local
3330 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_column() local
3352 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_in() local
3360 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_out() local
3369 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_debug() local
3377 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_debug() local
3387 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lval() local
3395 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lval() local
3404 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lloc() local
3412 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lloc() local
3484 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
3492 yyg->yy_buffer_stack = NULL; in yy_init_globals()
3493 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
3494 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
3495 yyg->yy_c_buf_p = NULL; in yy_init_globals()
3496 yyg->yy_init = 0; in yy_init_globals()
3497 yyg->yy_start = 0; in yy_init_globals()
3500 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
3501 yyg->yy_start_stack_depth = 0; in yy_init_globals()
3502 yyg->yy_start_stack = NULL; in yy_init_globals()
3528 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yylex_destroy() local
3538 yyfree(yyg->yy_buffer_stack , yyscanner); in yylex_destroy()
3539 yyg->yy_buffer_stack = NULL; in yylex_destroy()
3543 yyfree( yyg->yy_start_stack , yyscanner ); in yylex_destroy()
3544 yyg->yy_start_stack = NULL; in yylex_destroy()
3570 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy() local
3571 (void)yyg; in yy_flex_strncpy()
3596 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyalloc() local
3597 (void)yyg; in yyalloc()
3605 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrealloc() local
3606 (void)yyg; in yyrealloc()
3622 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyfree() local
3623 (void)yyg; in yyfree()
3654 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in check_type() local
3670 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in reserved_word() local
3703 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in ES2_identifier_ES3_keyword() local
3718 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in uint_constant() local
3735 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in floatsuffix_check() local
3753 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in int_constant() local
3761 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in float_constant() local
3769 struct yyguts_t* yyg = (struct yyguts_t*) scanner; in yyerror() local