Lines Matching defs:yyg

361 #define yyin yyg->yyin_r
362 #define yyout yyg->yyout_r
363 #define yyextra yyg->yyextra_r
364 #define yyleng yyg->yyleng_r
365 #define yytext yyg->yytext_r
368 #define yy_flex_debug yyg->yy_flex_debug_r
374 #define BEGIN yyg->yy_start = 1 + 2 *
379 #define YY_START ((yyg->yy_start - 1) / 2)
428 *yy_cp = yyg->yy_hold_char; \
430 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
434 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
507 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
508 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
513 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
576 yyg->yytext_ptr = yy_bp; \
578 yyg->yy_hold_char = *yy_cp; \
580 yyg->yy_c_buf_p = yy_cp;
1094 # define yylval yyg->yylval_r
1096 # define yylloc yyg->yylloc_r
1293 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1299 if ( !yyg->yy_init )
1301 yyg->yy_init = 1;
1307 if ( ! yyg->yy_start )
1308 yyg->yy_start = 1; /* first start state */
1391 yy_cp = yyg->yy_c_buf_p;
1394 *yy_cp = yyg->yy_hold_char;
1401 yy_current_state = yyg->yy_start;
1408 yyg->yy_last_accepting_state = yy_current_state;
1409 yyg->yy_last_accepting_cpos = yy_cp;
1421 yy_cp = yyg->yy_last_accepting_cpos;
1422 yy_current_state = yyg->yy_last_accepting_state;
1435 *yy_cp = yyg->yy_hold_char;
1436 yy_cp = yyg->yy_last_accepting_cpos;
1437 yy_current_state = yyg->yy_last_accepting_state;
1523 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1525 yyg->yy_c_buf_p = yy_cp -= 1;
1599 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1601 yyg->yy_c_buf_p = yy_cp = yy_bp + 2;
1616 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1618 yyg->yy_c_buf_p = yy_cp = yy_bp + 4;
1722 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1723 yyg->yy_c_buf_p = yy_cp -= 1;
1993 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1996 *yy_cp = yyg->yy_hold_char;
2010 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2022 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2026 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2041 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2046 yy_cp = ++yyg->yy_c_buf_p;
2053 yy_cp = yyg->yy_last_accepting_cpos;
2054 yy_current_state = yyg->yy_last_accepting_state;
2063 yyg->yy_did_buffer_switch_on_eof = 0;
2076 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2084 if ( ! yyg->yy_did_buffer_switch_on_eof )
2091 yyg->yy_c_buf_p =
2092 yyg->yytext_ptr + yy_amount_of_matched_text;
2096 yy_cp = yyg->yy_c_buf_p;
2097 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2101 yyg->yy_c_buf_p =
2102 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2106 yy_cp = yyg->yy_c_buf_p;
2107 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2130 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2132 char *source = yyg->yytext_ptr;
2136 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2142 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2162 number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
2171 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2185 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2209 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2221 yyg->yy_n_chars, num_to_read );
2223 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2226 if ( yyg->yy_n_chars == 0 )
2245 if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2247 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2256 yyg->yy_n_chars += number_to_move;
2257 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2258 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2260 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2271 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2273 yy_current_state = yyg->yy_start;
2275 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2280 yyg->yy_last_accepting_state = yy_current_state;
2281 yyg->yy_last_accepting_cpos = yy_cp;
2303 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2304 char *yy_cp = yyg->yy_c_buf_p;
2309 yyg->yy_last_accepting_state = yy_current_state;
2310 yyg->yy_last_accepting_cpos = yy_cp;
2321 (void)yyg;
2330 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2332 yy_cp = yyg->yy_c_buf_p;
2335 *yy_cp = yyg->yy_hold_char;
2340 yy_size_t number_to_move = yyg->yy_n_chars + 2;
2352 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
2360 yyg->yytext_ptr = yy_bp;
2361 yyg->yy_hold_char = *yy_cp;
2362 yyg->yy_c_buf_p = yy_cp;
2376 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2378 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2380 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2386 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2388 *yyg->yy_c_buf_p = '\0';
2392 yy_size_t offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr);
2393 ++yyg->yy_c_buf_p;
2418 if ( ! yyg->yy_did_buffer_switch_on_eof )
2428 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2434 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2435 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2436 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2449 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2467 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2481 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2482 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2483 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2494 yyg->yy_did_buffer_switch_on_eof = 1;
2499 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2500 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2501 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2503 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2542 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2564 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2591 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2621 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2631 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2632 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2633 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2638 yyg->yy_buffer_stack_top++;
2643 yyg->yy_did_buffer_switch_on_eof = 1;
2652 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2658 if (yyg->yy_buffer_stack_top > 0)
2659 --yyg->yy_buffer_stack_top;
2663 yyg->yy_did_buffer_switch_on_eof = 1;
2673 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2675 if (!yyg->yy_buffer_stack) {
2682 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
2685 if ( ! yyg->yy_buffer_stack )
2688 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2690 yyg->yy_buffer_stack_max = num_to_alloc;
2691 yyg->yy_buffer_stack_top = 0;
2695 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2700 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2701 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
2702 (yyg->yy_buffer_stack,
2705 if ( ! yyg->yy_buffer_stack )
2709 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2710 yyg->yy_buffer_stack_max = num_to_alloc;
2802 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2803 if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth )
2807 yyg->yy_start_stack_depth += YY_START_STACK_INCR;
2808 new_size = (yy_size_t) yyg->yy_start_stack_depth * sizeof( int );
2810 if ( ! yyg->yy_start_stack )
2811 yyg->yy_start_stack = (int *) yyalloc( new_size , yyscanner );
2814 yyg->yy_start_stack = (int *) yyrealloc(
2815 (void *) yyg->yy_start_stack, new_size , yyscanner );
2817 if ( ! yyg->yy_start_stack )
2821 yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START;
2828 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2829 if ( --yyg->yy_start_stack_ptr < 0 )
2832 BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]);
2837 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2838 return yyg->yy_start_stack[yyg->yy_start_stack_ptr - 1];
2847 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2848 (void)yyg;
2862 yytext[yyleng] = yyg->yy_hold_char; \
2863 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2864 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2865 *yyg->yy_c_buf_p = '\0'; \
2877 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2886 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2899 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2912 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2921 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2930 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2940 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2950 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2960 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2975 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2992 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2998 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3004 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3010 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3018 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3024 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3030 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3036 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3102 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3107 yyg->yy_buffer_stack = NULL;
3108 yyg->yy_buffer_stack_top = 0;
3109 yyg->yy_buffer_stack_max = 0;
3110 yyg->yy_c_buf_p = NULL;
3111 yyg->yy_init = 0;
3112 yyg->yy_start = 0;
3114 yyg->yy_start_stack_ptr = 0;
3115 yyg->yy_start_stack_depth = 0;
3116 yyg->yy_start_stack = NULL;
3136 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3146 yyfree(yyg->yy_buffer_stack , yyscanner);
3147 yyg->yy_buffer_stack = NULL;
3150 yyfree( yyg->yy_start_stack , yyscanner );
3151 yyg->yy_start_stack = NULL;
3170 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3171 (void)yyg;
3192 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3193 (void)yyg;
3199 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3200 (void)yyg;
3214 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3215 (void)yyg;