Home | History | Annotate | Download | only in translator

Lines Matching defs:yyg

152 #define yyin yyg->yyin_r
153 #define yyout yyg->yyout_r
154 #define yyextra yyg->yyextra_r
155 #define yyleng yyg->yyleng_r
156 #define yytext yyg->yytext_r
159 #define yy_flex_debug yyg->yy_flex_debug_r
165 #define BEGIN yyg->yy_start = 1 + 2 *
171 #define YY_START ((yyg->yy_start - 1) / 2)
232 *yy_cp = yyg->yy_hold_char; \
234 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
239 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
312 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
313 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
319 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
387 yyg->yytext_ptr = yy_bp; \
389 yyg->yy_hold_char = *yy_cp; \
391 yyg->yy_c_buf_p = yy_cp;
1074 # define yylval yyg->yylval_r
1076 # define yylloc yyg->yylloc_r
1257 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1265 if ( !yyg->yy_init )
1267 yyg->yy_init = 1;
1273 if ( ! yyg->yy_start )
1274 yyg->yy_start = 1; /* first start state */
1293 yy_cp = yyg->yy_c_buf_p;
1296 *yy_cp = yyg->yy_hold_char;
1303 yy_current_state = yyg->yy_start;
1310 yyg->yy_last_accepting_state = yy_current_state;
1311 yyg->yy_last_accepting_cpos = yy_cp;
1323 yy_cp = yyg->yy_last_accepting_cpos;
1324 yy_current_state = yyg->yy_last_accepting_state;
1349 *yy_cp = yyg->yy_hold_char;
1350 yy_cp = yyg->yy_last_accepting_cpos;
1351 yy_current_state = yyg->yy_last_accepting_state;
2045 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
2048 *yy_cp = yyg->yy_hold_char;
2062 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2074 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2078 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2093 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2098 yy_cp = ++yyg->yy_c_buf_p;
2105 yy_cp = yyg->yy_last_accepting_cpos;
2106 yy_current_state = yyg->yy_last_accepting_state;
2115 yyg->yy_did_buffer_switch_on_eof = 0;
2128 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2136 if ( ! yyg->yy_did_buffer_switch_on_eof )
2143 yyg->yy_c_buf_p =
2144 yyg->yytext_ptr + yy_amount_of_matched_text;
2148 yy_cp = yyg->yy_c_buf_p;
2149 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2153 yyg->yy_c_buf_p =
2154 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2158 yy_cp = yyg->yy_c_buf_p;
2159 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2181 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2183 register char *source = yyg->yytext_ptr;
2187 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2193 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2213 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
2222 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2236 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2259 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2271 yyg->yy_n_chars, num_to_read );
2273 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2276 if ( yyg->yy_n_chars == 0 )
2295 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2297 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2303 yyg->yy_n_chars += number_to_move;
2304 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2305 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2307 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2318 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2320 yy_current_state = yyg->yy_start;
2322 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2327 yyg->yy_last_accepting_state = yy_current_state;
2328 yyg->yy_last_accepting_cpos = yy_cp;
2350 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2351 register char *yy_cp = yyg->yy_c_buf_p;
2356 yyg->yy_last_accepting_state = yy_current_state;
2357 yyg->yy_last_accepting_cpos = yy_cp;
2368 (void)yyg;
2381 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2383 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2385 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2391 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2393 *yyg->yy_c_buf_p = '\0';
2397 yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
2398 ++yyg->yy_c_buf_p;
2423 if ( ! yyg->yy_did_buffer_switch_on_eof )
2433 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2439 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2440 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2441 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2461 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2479 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2493 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2494 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2495 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2506 yyg->yy_did_buffer_switch_on_eof = 1;
2511 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2512 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2513 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2515 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2554 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2576 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2603 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2633 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2643 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2644 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2645 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2650 yyg->yy_buffer_stack_top++;
2655 yyg->yy_did_buffer_switch_on_eof = 1;
2664 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2670 if (yyg->yy_buffer_stack_top > 0)
2671 --yyg->yy_buffer_stack_top;
2675 yyg->yy_did_buffer_switch_on_eof = 1;
2685 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2687 if (!yyg->yy_buffer_stack) {
2694 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
2697 if ( ! yyg->yy_buffer_stack )
2700 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2702 yyg->yy_buffer_stack_max = num_to_alloc;
2703 yyg->yy_buffer_stack_top = 0;
2707 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2712 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2713 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
2714 (yyg->yy_buffer_stack,
2717 if ( ! yyg->yy_buffer_stack )
2721 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2722 yyg->yy_buffer_stack_max = num_to_alloc;
2831 yytext[yyleng] = yyg->yy_hold_char; \
2832 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2833 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2834 *yyg->yy_c_buf_p = '\0'; \
2846 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2855 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2868 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2881 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2890 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2899 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2909 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2919 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2929 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2944 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2961 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2967 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2973 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2979 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2987 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2993 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2999 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3005 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3075 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3080 yyg->yy_buffer_stack = 0;
3081 yyg->yy_buffer_stack_top = 0;
3082 yyg->yy_buffer_stack_max = 0;
3083 yyg->yy_c_buf_p = (char *) 0;
3084 yyg->yy_init = 0;
3085 yyg->yy_start = 0;
3087 yyg->yy_start_stack_ptr = 0;
3088 yyg->yy_start_stack_depth = 0;
3089 yyg->yy_start_stack = NULL;
3109 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3119 yyfree(yyg->yy_buffer_stack ,yyscanner);
3120 yyg->yy_buffer_stack = NULL;
3123 yyfree(yyg->yy_start_stack ,yyscanner );
3124 yyg->yy_start_stack = NULL;
3201 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3216 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3249 struct yyguts_t* yyg = (struct yyguts_t*) context->scanner;
3264 struct yyguts_t* yyg = (struct yyguts_t*) context->scanner;
3282 struct yyguts_t* yyg = (struct yyguts_t*) context->scanner;
3303 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;
3311 struct yyguts_t* yyg = (struct yyguts_t*) yyscanner;