Home | History | Annotate | Download | only in compiler

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;
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;
2642 yy_current_state = yyg->yy_start;
2644 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2649 yyg->yy_last_accepting_state = yy_current_state;
2650 yyg->yy_last_accepting_cpos = yy_cp;
2673 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2674 char *yy_cp = yyg->yy_c_buf_p;
2679 yyg->yy_last_accepting_state = yy_current_state;
2680 yyg->yy_last_accepting_cpos = yy_cp;
2691 (void)yyg;
2709 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2711 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2713 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2719 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2721 *yyg->yy_c_buf_p = '\0';
2725 int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr);
2726 ++yyg->yy_c_buf_p;
2751 if ( ! yyg->yy_did_buffer_switch_on_eof )
2761 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2767 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2768 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2769 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2789 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2808 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2822 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2823 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2824 yyg->yy_n_chars;
2835 yyg->yy_did_buffer_switch_on_eof = 1;
2841 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2842 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2843 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2845 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2885 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2908 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2938 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2968 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2978 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2979 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2980 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2985 yyg->yy_buffer_stack_top++;
2990 yyg->yy_did_buffer_switch_on_eof = 1;
3000 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3006 if (yyg->yy_buffer_stack_top > 0)
3007 --yyg->yy_buffer_stack_top;
3011 yyg->yy_did_buffer_switch_on_eof = 1;
3022 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3024 if (!yyg->yy_buffer_stack) {
3031 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
3034 if ( ! yyg->yy_buffer_stack )
3038 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3040 yyg->yy_buffer_stack_max = num_to_alloc;
3041 yyg->yy_buffer_stack_top = 0;
3045 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
3050 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
3051 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
3052 (yyg->yy_buffer_stack,
3055 if ( ! yyg->yy_buffer_stack )
3059 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
3060 yyg->yy_buffer_stack_max = num_to_alloc;
3176 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3177 (void)yyg;
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;
3220 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3237 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3254 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3265 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3276 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3287 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3299 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3311 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3330 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3352 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3360 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3369 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3377 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3387 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3395 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3404 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3412 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3484 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3492 yyg->yy_buffer_stack = NULL;
3493 yyg->yy_buffer_stack_top = 0;
3494 yyg->yy_buffer_stack_max = 0;
3495 yyg->yy_c_buf_p = NULL;
3496 yyg->yy_init = 0;
3497 yyg->yy_start = 0;
3500 yyg->yy_start_stack_ptr = 0;
3501 yyg->yy_start_stack_depth = 0;
3502 yyg->yy_start_stack = NULL;
3528 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3538 yyfree(yyg->yy_buffer_stack , yyscanner);
3539 yyg->yy_buffer_stack = NULL;
3543 yyfree( yyg->yy_start_stack , yyscanner );
3544 yyg->yy_start_stack = NULL;
3570 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3571 (void)yyg;
3596 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3597 (void)yyg;
3605 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3606 (void)yyg;
3622 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3623 (void)yyg;
3654 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3670 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3703 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner();
3718 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner();
3735 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner();
3751 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3759 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3767 struct yyguts_t* yyg = (struct yyguts_t*) scanner;