• Home
  • Raw
  • Download

Lines Matching refs:yyg

159 #define yyin yyg->yyin_r
160 #define yyout yyg->yyout_r
161 #define yyextra yyg->yyextra_r
162 #define yyleng yyg->yyleng_r
163 #define yytext yyg->yytext_r
166 #define yy_flex_debug yyg->yy_flex_debug_r
172 #define BEGIN yyg->yy_start = 1 + 2 *
178 #define YY_START ((yyg->yy_start - 1) / 2)
249 *yy_cp = yyg->yy_hold_char; \
251 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
256 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
329 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
330 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
336 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
407 yyg->yytext_ptr = yy_bp; \
409 yyg->yy_hold_char = *yy_cp; \
411 yyg->yy_c_buf_p = yy_cp;
1124 # define yylval yyg->yylval_r
1126 # define yylloc yyg->yylloc_r
1316 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1322 if ( !yyg->yy_init )
1324 yyg->yy_init = 1;
1330 if ( ! yyg->yy_start )
1331 yyg->yy_start = 1; /* first start state */
1354 yy_cp = yyg->yy_c_buf_p;
1357 *yy_cp = yyg->yy_hold_char;
1364 yy_current_state = yyg->yy_start;
1371 yyg->yy_last_accepting_state = yy_current_state;
1372 yyg->yy_last_accepting_cpos = yy_cp;
1384 yy_cp = yyg->yy_last_accepting_cpos;
1385 yy_current_state = yyg->yy_last_accepting_state;
1410 *yy_cp = yyg->yy_hold_char;
1411 yy_cp = yyg->yy_last_accepting_cpos;
1412 yy_current_state = yyg->yy_last_accepting_state;
2117 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
2120 *yy_cp = yyg->yy_hold_char;
2134 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2146 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2150 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2165 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2170 yy_cp = ++yyg->yy_c_buf_p;
2177 yy_cp = yyg->yy_last_accepting_cpos;
2178 yy_current_state = yyg->yy_last_accepting_state;
2187 yyg->yy_did_buffer_switch_on_eof = 0;
2200 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2208 if ( ! yyg->yy_did_buffer_switch_on_eof )
2215 yyg->yy_c_buf_p =
2216 yyg->yytext_ptr + yy_amount_of_matched_text;
2220 yy_cp = yyg->yy_c_buf_p;
2221 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2225 yyg->yy_c_buf_p =
2226 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2230 yy_cp = yyg->yy_c_buf_p;
2231 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2254 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
2256 char *source = yyg->yytext_ptr;
2260 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2266 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2286 number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
2295 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2309 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2332 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2344 yyg->yy_n_chars, num_to_read );
2346 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2349 if ( yyg->yy_n_chars == 0 )
2368 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2370 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2376 yyg->yy_n_chars += number_to_move;
2377 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2378 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2380 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2391 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
2393 yy_current_state = yyg->yy_start; in yy_get_previous_state()
2395 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
2400 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
2401 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
2423 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
2424 char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
2429 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
2430 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
2441 (void)yyg; in yy_try_NUL_trans()
2458 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
2460 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
2462 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
2468 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
2470 *yyg->yy_c_buf_p = '\0'; in yyinput()
2474 yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr; in yyinput()
2475 ++yyg->yy_c_buf_p; in yyinput()
2500 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
2510 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
2516 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
2517 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
2518 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
2538 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrestart() local
2556 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_switch_to_buffer() local
2570 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yy_switch_to_buffer()
2571 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yy_switch_to_buffer()
2572 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_switch_to_buffer()
2583 yyg->yy_did_buffer_switch_on_eof = 1; in yy_switch_to_buffer()
2588 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_load_buffer_state() local
2589 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
2590 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
2592 yyg->yy_hold_char = *yyg->yy_c_buf_p; in yy_load_buffer_state()
2631 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_delete_buffer() local
2653 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_buffer() local
2680 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flush_buffer() local
2710 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypush_buffer_state() local
2720 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yypush_buffer_state()
2721 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yypush_buffer_state()
2722 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yypush_buffer_state()
2727 yyg->yy_buffer_stack_top++; in yypush_buffer_state()
2732 yyg->yy_did_buffer_switch_on_eof = 1; in yypush_buffer_state()
2741 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypop_buffer_state() local
2747 if (yyg->yy_buffer_stack_top > 0) in yypop_buffer_state()
2748 --yyg->yy_buffer_stack_top; in yypop_buffer_state()
2752 yyg->yy_did_buffer_switch_on_eof = 1; in yypop_buffer_state()
2762 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyensure_buffer_stack() local
2764 if (!yyg->yy_buffer_stack) { in yyensure_buffer_stack()
2771 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
2774 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
2777 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
2779 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2780 yyg->yy_buffer_stack_top = 0; in yyensure_buffer_stack()
2784 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in yyensure_buffer_stack()
2789 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
2790 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
2791 (yyg->yy_buffer_stack, in yyensure_buffer_stack()
2794 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
2798 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in yyensure_buffer_stack()
2799 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2895 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error() local
2896 (void)yyg; in yy_fatal_error()
2910 yytext[yyleng] = yyg->yy_hold_char; \
2911 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2912 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2913 *yyg->yy_c_buf_p = '\0'; \
2925 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_extra() local
2934 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lineno() local
2947 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_column() local
2960 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_in() local
2969 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_out() local
2978 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_leng() local
2988 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_text() local
2998 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_extra() local
3008 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lineno() local
3023 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_column() local
3040 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_in() local
3046 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_out() local
3052 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_debug() local
3058 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_debug() local
3066 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lval() local
3072 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lval() local
3078 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lloc() local
3084 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lloc() local
3154 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
3159 yyg->yy_buffer_stack = 0; in yy_init_globals()
3160 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
3161 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
3162 yyg->yy_c_buf_p = (char *) 0; in yy_init_globals()
3163 yyg->yy_init = 0; in yy_init_globals()
3164 yyg->yy_start = 0; in yy_init_globals()
3166 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
3167 yyg->yy_start_stack_depth = 0; in yy_init_globals()
3168 yyg->yy_start_stack = NULL; in yy_init_globals()
3188 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yylex_destroy() local
3198 yyfree(yyg->yy_buffer_stack ,yyscanner); in yylex_destroy()
3199 yyg->yy_buffer_stack = NULL; in yylex_destroy()
3202 yyfree(yyg->yy_start_stack ,yyscanner ); in yylex_destroy()
3203 yyg->yy_start_stack = NULL; in yylex_destroy()
3222 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy() local
3223 (void)yyg; in yy_flex_strncpy()
3244 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyalloc() local
3245 (void)yyg; in yyalloc()
3251 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrealloc() local
3252 (void)yyg; in yyrealloc()
3266 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyfree() local
3267 (void)yyg; in yyfree()
3290 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in check_type() local
3306 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in reserved_word() local
3339 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in ES2_identifier_ES3_keyword() local
3354 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in uint_constant() local
3371 struct yyguts_t* yyg = (struct yyguts_t*) context->getScanner(); in floatsuffix_check() local
3387 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in int_constant() local
3395 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; in float_constant() local
3403 struct yyguts_t* yyg = (struct yyguts_t*) scanner; in yyerror() local