Home | History | Annotate | Download | only in util

Lines Matching defs: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;
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;
1925 register char *source = yyg->yytext_ptr;
1929 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
1935 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
1955 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
1964 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
1978 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2001 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2013 yyg->yy_n_chars, (size_t) num_to_read );
2015 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2018 if ( yyg->yy_n_chars == 0 )
2037 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2039 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2045 yyg->yy_n_chars += number_to_move;
2046 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2047 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2049 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2060 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2062 yy_current_state = yyg->yy_start;
2064 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2069 yyg->yy_last_accepting_state = yy_current_state;
2070 yyg->yy_last_accepting_cpos = yy_cp;
2092 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2093 register char *yy_cp = yyg->yy_c_buf_p;
2098 yyg->yy_last_accepting_state = yy_current_state;
2099 yyg->yy_last_accepting_cpos = yy_cp;
2116 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2118 yy_cp = yyg->yy_c_buf_p;
2121 *yy_cp = yyg->yy_hold_char;
2126 register int number_to_move = yyg->yy_n_chars + 2;
2138 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
2146 yyg->yytext_ptr = yy_bp;
2147 yyg->yy_hold_char = *yy_cp;
2148 yyg->yy_c_buf_p = yy_cp;
2160 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2162 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2164 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2170 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2172 *yyg->yy_c_buf_p = '\0';
2176 int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
2177 ++yyg->yy_c_buf_p;
2202 if ( ! yyg->yy_did_buffer_switch_on_eof )
2212 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2218 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2219 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2220 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2233 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2251 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2265 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2266 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2267 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2278 yyg->yy_did_buffer_switch_on_eof = 1;
2283 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2284 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2285 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2287 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2326 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2352 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2379 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2409 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2419 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2420 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2421 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2426 yyg->yy_buffer_stack_top++;
2431 yyg->yy_did_buffer_switch_on_eof = 1;
2440 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2446 if (yyg->yy_buffer_stack_top > 0)
2447 --yyg->yy_buffer_stack_top;
2451 yyg->yy_did_buffer_switch_on_eof = 1;
2461 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2463 if (!yyg->yy_buffer_stack) {
2470 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_alloc
2473 if ( ! yyg->yy_buffer_stack )
2476 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2478 yyg->yy_buffer_stack_max = num_to_alloc;
2479 yyg->yy_buffer_stack_top = 0;
2483 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2488 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2489 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_realloc
2490 (yyg->yy_buffer_stack,
2493 if ( ! yyg->yy_buffer_stack )
2497 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2498 yyg->yy_buffer_stack_max = num_to_alloc;
2590 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2591 if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth )
2595 yyg->yy_start_stack_depth += YY_START_STACK_INCR;
2596 new_size = yyg->yy_start_stack_depth * sizeof( int );
2598 if ( ! yyg->yy_start_stack )
2599 yyg->yy_start_stack = (int *) parse_events_alloc(new_size ,yyscanner );
2602 yyg->yy_start_stack = (int *) parse_events_realloc((void *) yyg->yy_start_stack,new_size ,yyscanner );
2604 if ( ! yyg->yy_start_stack )
2608 yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START;
2615 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2616 if ( --yyg->yy_start_stack_ptr < 0 )
2619 BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]);
2624 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2625 return yyg->yy_start_stack[yyg->yy_start_stack_ptr - 1];
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;
2671 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2684 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2697 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2706 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2715 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2725 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2735 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2745 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2760 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2777 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2783 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2789 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2795 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2803 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2809 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2879 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2884 yyg->yy_buffer_stack = 0;
2885 yyg->yy_buffer_stack_top = 0;
2886 yyg
2887 yyg->yy_c_buf_p = (char *) 0;
2888 yyg->yy_init = 0;
2889 yyg->yy_start = 0;
2891 yyg->yy_start_stack_ptr = 0;
2892 yyg->yy_start_stack_depth = 0;
2893 yyg->yy_start_stack = NULL;
2913 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2923 parse_events_free(yyg->yy_buffer_stack ,yyscanner);
2924 yyg->yy_buffer_stack = NULL;
2927 parse_events_free(yyg->yy_start_stack ,yyscanner );
2928 yyg->yy_start_stack = NULL;