Lines Matching refs:yyg

129 #define yyin yyg->yyin_r
130 #define yyout yyg->yyout_r
131 #define yyextra yyg->yyextra_r
132 #define yyleng yyg->yyleng_r
133 #define yytext yyg->yytext_r
136 #define yy_flex_debug yyg->yy_flex_debug_r
142 #define BEGIN yyg->yy_start = 1 + 2 *
148 #define YY_START ((yyg->yy_start - 1) / 2)
194 *yy_cp = yyg->yy_hold_char; \
196 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
201 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
279 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
280 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
286 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
351 yyg->yytext_ptr = yy_bp; \
353 yyg->yy_hold_char = *yy_cp; \
355 yyg->yy_c_buf_p = yy_cp;
1160 # define yylval yyg->yylval_r
1346 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
1373 if ( !yyg->yy_init )
1375 yyg->yy_init = 1;
1381 if ( ! yyg->yy_start )
1382 yyg->yy_start = 1; /* first start state */
1401 yy_cp = yyg->yy_c_buf_p;
1404 *yy_cp = yyg->yy_hold_char;
1411 yy_current_state = yyg->yy_start;
1418 yyg->yy_last_accepting_state = yy_current_state;
1419 yyg->yy_last_accepting_cpos = yy_cp;
1436 yy_cp = yyg->yy_last_accepting_cpos;
1437 yy_current_state = yyg->yy_last_accepting_state;
1449 *yy_cp = yyg->yy_hold_char;
1450 yy_cp = yyg->yy_last_accepting_cpos;
1451 yy_current_state = yyg->yy_last_accepting_state;
1788 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1791 *yy_cp = yyg->yy_hold_char;
1805 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1817 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
1821 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1836 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1841 yy_cp = ++yyg->yy_c_buf_p;
1848 yy_cp = yyg->yy_c_buf_p;
1857 yyg->yy_did_buffer_switch_on_eof = 0;
1870 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
1878 if ( ! yyg->yy_did_buffer_switch_on_eof )
1885 yyg->yy_c_buf_p =
1886 yyg->yytext_ptr + yy_amount_of_matched_text;
1890 yy_cp = yyg->yy_c_buf_p;
1891 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1895 yyg->yy_c_buf_p =
1896 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
1900 yy_cp = yyg->yy_c_buf_p;
1901 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1923 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_next_buffer() local
1925 register char *source = yyg->yytext_ptr; in yy_get_next_buffer()
1929 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] ) in yy_get_next_buffer()
1935 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
1955 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1; in yy_get_next_buffer()
1964 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0; in yy_get_next_buffer()
1978 (int) (yyg->yy_c_buf_p - b->yy_ch_buf); in yy_get_next_buffer()
2001 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
2013 yyg->yy_n_chars, (size_t) num_to_read ); in yy_get_next_buffer()
2015 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_get_next_buffer()
2018 if ( yyg->yy_n_chars == 0 ) in yy_get_next_buffer()
2037 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2039 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer()
2045 yyg->yy_n_chars += number_to_move; in yy_get_next_buffer()
2046 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
2047 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
2049 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
2060 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
2062 yy_current_state = yyg->yy_start; in yy_get_previous_state()
2064 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
2069 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
2070 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
2092 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
2093 register char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
2098 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
2099 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
2116 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyunput() local
2118 yy_cp = yyg->yy_c_buf_p; in yyunput()
2121 *yy_cp = yyg->yy_hold_char; in yyunput()
2126 register int number_to_move = yyg->yy_n_chars + 2; in yyunput()
2138 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
2146 yyg->yytext_ptr = yy_bp; in yyunput()
2147 yyg->yy_hold_char = *yy_cp; in yyunput()
2148 yyg->yy_c_buf_p = yy_cp; in yyunput()
2160 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
2162 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
2164 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
2170 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
2172 *yyg->yy_c_buf_p = '\0'; in yyinput()
2176 int offset = yyg->yy_c_buf_p - yyg->yytext_ptr; in yyinput()
2177 ++yyg->yy_c_buf_p; in yyinput()
2202 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
2212 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
2218 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
2219 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
2220 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
2233 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_restart() local
2251 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events__switch_to_buffer() local
2265 *yyg->yy_c_buf_p = yyg->yy_hold_char; in parse_events__switch_to_buffer()
2266 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in parse_events__switch_to_buffer()
2267 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in parse_events__switch_to_buffer()
2278 yyg->yy_did_buffer_switch_on_eof = 1; in parse_events__switch_to_buffer()
2283 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events__load_buffer_state() local
2284 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in parse_events__load_buffer_state()
2285 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in parse_events__load_buffer_state()
2287 yyg->yy_hold_char = *yyg->yy_c_buf_p; in parse_events__load_buffer_state()
2326 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events__delete_buffer() local
2352 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events__init_buffer() local
2379 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events__flush_buffer() local
2409 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_push_buffer_state() local
2419 *yyg->yy_c_buf_p = yyg->yy_hold_char; in parse_events_push_buffer_state()
2420 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in parse_events_push_buffer_state()
2421 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in parse_events_push_buffer_state()
2426 yyg->yy_buffer_stack_top++; in parse_events_push_buffer_state()
2431 yyg->yy_did_buffer_switch_on_eof = 1; in parse_events_push_buffer_state()
2440 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_pop_buffer_state() local
2446 if (yyg->yy_buffer_stack_top > 0) in parse_events_pop_buffer_state()
2447 --yyg->yy_buffer_stack_top; in parse_events_pop_buffer_state()
2451 yyg->yy_did_buffer_switch_on_eof = 1; in parse_events_pop_buffer_state()
2461 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_ensure_buffer_stack() local
2463 if (!yyg->yy_buffer_stack) { in parse_events_ensure_buffer_stack()
2470 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_alloc in parse_events_ensure_buffer_stack()
2473 if ( ! yyg->yy_buffer_stack ) in parse_events_ensure_buffer_stack()
2476 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in parse_events_ensure_buffer_stack()
2478 yyg->yy_buffer_stack_max = num_to_alloc; in parse_events_ensure_buffer_stack()
2479 yyg->yy_buffer_stack_top = 0; in parse_events_ensure_buffer_stack()
2483 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in parse_events_ensure_buffer_stack()
2488 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in parse_events_ensure_buffer_stack()
2489 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_realloc in parse_events_ensure_buffer_stack()
2490 (yyg->yy_buffer_stack, in parse_events_ensure_buffer_stack()
2493 if ( ! yyg->yy_buffer_stack ) in parse_events_ensure_buffer_stack()
2497 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in parse_events_ensure_buffer_stack()
2498 yyg->yy_buffer_stack_max = num_to_alloc; in parse_events_ensure_buffer_stack()
2590 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_push_state() local
2591 if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth ) in yy_push_state()
2595 yyg->yy_start_stack_depth += YY_START_STACK_INCR; in yy_push_state()
2596 new_size = yyg->yy_start_stack_depth * sizeof( int ); in yy_push_state()
2598 if ( ! yyg->yy_start_stack ) in yy_push_state()
2599 yyg->yy_start_stack = (int *) parse_events_alloc(new_size ,yyscanner ); in yy_push_state()
2602yyg->yy_start_stack = (int *) parse_events_realloc((void *) yyg->yy_start_stack,new_size ,yyscanne… in yy_push_state()
2604 if ( ! yyg->yy_start_stack ) in yy_push_state()
2608 yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START; in yy_push_state()
2615 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_pop_state() local
2616 if ( --yyg->yy_start_stack_ptr < 0 ) in yy_pop_state()
2619 BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]); in yy_pop_state()
2624 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_top_state() local
2625 return yyg->yy_start_stack[yyg->yy_start_stack_ptr - 1]; in yy_top_state()
2647 yytext[yyleng] = yyg->yy_hold_char; \
2648 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2649 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2650 *yyg->yy_c_buf_p = '\0'; \
2662 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_extra() local
2671 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_lineno() local
2684 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_column() local
2697 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_in() local
2706 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_out() local
2715 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_leng() local
2725 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_text() local
2735 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_extra() local
2745 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_lineno() local
2760 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_column() local
2777 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_in() local
2783 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_out() local
2789 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_debug() local
2795 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_debug() local
2803 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_get_lval() local
2809 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_set_lval() local
2879 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
2884 yyg->yy_buffer_stack = 0; in yy_init_globals()
2885 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
2886 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
2887 yyg->yy_c_buf_p = (char *) 0; in yy_init_globals()
2888 yyg->yy_init = 0; in yy_init_globals()
2889 yyg->yy_start = 0; in yy_init_globals()
2891 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
2892 yyg->yy_start_stack_depth = 0; in yy_init_globals()
2893 yyg->yy_start_stack = NULL; in yy_init_globals()
2913 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in parse_events_lex_destroy() local
2923 parse_events_free(yyg->yy_buffer_stack ,yyscanner); in parse_events_lex_destroy()
2924 yyg->yy_buffer_stack = NULL; in parse_events_lex_destroy()
2927 parse_events_free(yyg->yy_start_stack ,yyscanner ); in parse_events_lex_destroy()
2928 yyg->yy_start_stack = NULL; in parse_events_lex_destroy()