• Home
  • Raw
  • Download

Lines Matching refs:yyg

471 #define yyin yyg->yyin_r
472 #define yyout yyg->yyout_r
473 #define yyextra yyg->yyextra_r
474 #define yyleng yyg->yyleng_r
475 #define yytext yyg->yytext_r
478 #define yy_flex_debug yyg->yy_flex_debug_r
496 #define BEGIN yyg->yy_start = 1 + 2 *
501 #define YY_START ((yyg->yy_start - 1) / 2)
557 *yy_cp = yyg->yy_hold_char; \
559 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
563 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
643 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
644 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
649 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
730 yyg->yytext_ptr = yy_bp; \
732 yyg->yy_hold_char = *yy_cp; \
734 yyg->yy_c_buf_p = yy_cp;
1045 # define yylval yyg->yylval_r
1049 # define yylloc yyg->yylloc_r
1325 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1337 if ( !yyg->yy_init )
1339 yyg->yy_init = 1;
1347 if ( ! yyg->yy_start )
1348 yyg->yy_start = 1; /* first start state */
1372 yy_cp = yyg->yy_c_buf_p;
1375 *yy_cp = yyg->yy_hold_char;
1382 yy_current_state = yyg->yy_start;
1389 yyg->yy_last_accepting_state = yy_current_state;
1390 yyg->yy_last_accepting_cpos = yy_cp;
1402 yy_cp = yyg->yy_last_accepting_cpos;
1403 yy_current_state = yyg->yy_last_accepting_state;
1419 *yy_cp = yyg->yy_hold_char;
1420 yy_cp = yyg->yy_last_accepting_cpos;
1421 yy_current_state = yyg->yy_last_accepting_state;
1722 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1725 *yy_cp = yyg->yy_hold_char;
1739 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1751 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
1755 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1770 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1775 yy_cp = ++yyg->yy_c_buf_p;
1782 yy_cp = yyg->yy_last_accepting_cpos;
1783 yy_current_state = yyg->yy_last_accepting_state;
1792 yyg->yy_did_buffer_switch_on_eof = 0;
1805 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
1813 if ( ! yyg->yy_did_buffer_switch_on_eof )
1820 yyg->yy_c_buf_p =
1821 yyg->yytext_ptr + yy_amount_of_matched_text;
1825 yy_cp = yyg->yy_c_buf_p;
1826 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1830 yyg->yy_c_buf_p =
1831 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
1835 yy_cp = yyg->yy_c_buf_p;
1836 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1863 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
1865 char *source = yyg->yytext_ptr;
1869 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
1875 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
1895 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
1904 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
1918 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
1942 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
1954 yyg->yy_n_chars, num_to_read );
1956 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
1959 if ( yyg->yy_n_chars == 0 )
1978 if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1980 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
1989 yyg->yy_n_chars += number_to_move;
1990 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
1991 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
1993 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2005 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
2007 yy_current_state = yyg->yy_start; in yy_get_previous_state()
2009 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
2014 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
2015 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
2038 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
2039 char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
2044 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
2045 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
2056 (void)yyg; in yy_try_NUL_trans()
2074 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
2076 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
2078 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
2084 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
2086 *yyg->yy_c_buf_p = '\0'; in yyinput()
2090 int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr); in yyinput()
2091 ++yyg->yy_c_buf_p; in yyinput()
2116 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
2126 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
2132 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
2133 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
2134 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
2148 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrestart() local
2167 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_switch_to_buffer() local
2181 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yy_switch_to_buffer()
2182 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yy_switch_to_buffer()
2183 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_switch_to_buffer()
2194 yyg->yy_did_buffer_switch_on_eof = 1; in yy_switch_to_buffer()
2200 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_load_buffer_state() local
2201 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
2202 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
2204 yyg->yy_hold_char = *yyg->yy_c_buf_p; in yy_load_buffer_state()
2244 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_delete_buffer() local
2267 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_buffer() local
2297 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flush_buffer() local
2327 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypush_buffer_state() local
2337 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yypush_buffer_state()
2338 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yypush_buffer_state()
2339 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yypush_buffer_state()
2344 yyg->yy_buffer_stack_top++; in yypush_buffer_state()
2349 yyg->yy_did_buffer_switch_on_eof = 1; in yypush_buffer_state()
2359 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypop_buffer_state() local
2365 if (yyg->yy_buffer_stack_top > 0) in yypop_buffer_state()
2366 --yyg->yy_buffer_stack_top; in yypop_buffer_state()
2370 yyg->yy_did_buffer_switch_on_eof = 1; in yypop_buffer_state()
2381 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyensure_buffer_stack() local
2383 if (!yyg->yy_buffer_stack) { in yyensure_buffer_stack()
2390 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
2393 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
2397 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
2399 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2400 yyg->yy_buffer_stack_top = 0; in yyensure_buffer_stack()
2404 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in yyensure_buffer_stack()
2409 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
2410 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
2411 (yyg->yy_buffer_stack, in yyensure_buffer_stack()
2414 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
2418 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in yyensure_buffer_stack()
2419 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2535 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error() local
2536 (void)yyg; in yy_fatal_error()
2550 yytext[yyleng] = yyg->yy_hold_char; \
2551 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2552 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2553 *yyg->yy_c_buf_p = '\0'; \
2568 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_extra() local
2579 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lineno() local
2596 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_column() local
2613 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_in() local
2624 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_out() local
2635 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_leng() local
2646 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_text() local
2658 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_extra() local
2670 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lineno() local
2689 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_column() local
2711 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_in() local
2719 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_out() local
2728 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_debug() local
2736 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_debug() local
2746 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lval() local
2754 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lval() local
2763 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lloc() local
2771 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lloc() local
2843 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
2849 yyg->yy_buffer_stack = NULL; in yy_init_globals()
2850 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
2851 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
2852 yyg->yy_c_buf_p = NULL; in yy_init_globals()
2853 yyg->yy_init = 0; in yy_init_globals()
2854 yyg->yy_start = 0; in yy_init_globals()
2857 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
2858 yyg->yy_start_stack_depth = 0; in yy_init_globals()
2859 yyg->yy_start_stack = NULL; in yy_init_globals()
2885 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yylex_destroy() local
2895 yyfree(yyg->yy_buffer_stack , yyscanner); in yylex_destroy()
2896 yyg->yy_buffer_stack = NULL; in yylex_destroy()
2900 yyfree( yyg->yy_start_stack , yyscanner ); in yylex_destroy()
2901 yyg->yy_start_stack = NULL; in yylex_destroy()
2927 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy() local
2928 (void)yyg; in yy_flex_strncpy()
2953 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyalloc() local
2954 (void)yyg; in yyalloc()
2962 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrealloc() local
2963 (void)yyg; in yyrealloc()
2979 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyfree() local
2980 (void)yyg; in yyfree()