Lines Matching refs: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;
1063 # define yylval yyg->yylval_r
1065 # define yylloc yyg->yylloc_r
1262 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1268 if ( !yyg->yy_init )
1270 yyg->yy_init = 1;
1276 if ( ! yyg->yy_start )
1277 yyg->yy_start = 1; /* first start state */
1360 yy_cp = yyg->yy_c_buf_p;
1363 *yy_cp = yyg->yy_hold_char;
1370 yy_current_state = yyg->yy_start;
1377 yyg->yy_last_accepting_state = yy_current_state;
1378 yyg->yy_last_accepting_cpos = yy_cp;
1390 yy_cp = yyg->yy_last_accepting_cpos;
1391 yy_current_state = yyg->yy_last_accepting_state;
1404 *yy_cp = yyg->yy_hold_char;
1405 yy_cp = yyg->yy_last_accepting_cpos;
1406 yy_current_state = yyg->yy_last_accepting_state;
1492 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1494 yyg->yy_c_buf_p = yy_cp -= 1;
1560 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1562 yyg->yy_c_buf_p = yy_cp = yy_bp + 2;
1577 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1579 yyg->yy_c_buf_p = yy_cp = yy_bp + 4;
1683 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
1684 yyg->yy_c_buf_p = yy_cp -= 1;
1947 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1950 *yy_cp = yyg->yy_hold_char;
1964 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1976 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
1980 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1995 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2000 yy_cp = ++yyg->yy_c_buf_p;
2007 yy_cp = yyg->yy_last_accepting_cpos;
2008 yy_current_state = yyg->yy_last_accepting_state;
2017 yyg->yy_did_buffer_switch_on_eof = 0;
2030 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2038 if ( ! yyg->yy_did_buffer_switch_on_eof )
2045 yyg->yy_c_buf_p =
2046 yyg->yytext_ptr + yy_amount_of_matched_text;
2050 yy_cp = yyg->yy_c_buf_p;
2051 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2055 yyg->yy_c_buf_p =
2056 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2060 yy_cp = yyg->yy_c_buf_p;
2061 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2084 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2086 char *source = yyg->yytext_ptr;
2090 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2096 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2116 number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
2125 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2139 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2163 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2175 yyg->yy_n_chars, num_to_read );
2177 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2180 if ( yyg->yy_n_chars == 0 )
2199 if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2201 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2210 yyg->yy_n_chars += number_to_move;
2211 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2212 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2214 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2225 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2227 yy_current_state = yyg->yy_start;
2229 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2234 yyg->yy_last_accepting_state = yy_current_state;
2235 yyg->yy_last_accepting_cpos = yy_cp;
2257 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2258 char *yy_cp = yyg->yy_c_buf_p;
2263 yyg->yy_last_accepting_state = yy_current_state;
2264 yyg->yy_last_accepting_cpos = yy_cp;
2275 (void)yyg;
2284 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2286 yy_cp = yyg->yy_c_buf_p;
2289 *yy_cp = yyg->yy_hold_char;
2294 yy_size_t number_to_move = yyg->yy_n_chars + 2;
2306 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
2314 yyg->yytext_ptr = yy_bp;
2315 yyg->yy_hold_char = *yy_cp;
2316 yyg->yy_c_buf_p = yy_cp;
2330 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2332 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2334 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2340 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2342 *yyg->yy_c_buf_p = '\0';
2346 yy_size_t offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr);
2347 ++yyg->yy_c_buf_p;
2372 if ( ! yyg->yy_did_buffer_switch_on_eof )
2382 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2388 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2389 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2390 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2403 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2421 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2435 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2436 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2437 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2448 yyg->yy_did_buffer_switch_on_eof = 1;
2453 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2454 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2455 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2457 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2496 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2518 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2545 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2575 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2585 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2586 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2587 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2592 yyg->yy_buffer_stack_top++;
2597 yyg->yy_did_buffer_switch_on_eof = 1;
2606 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2612 if (yyg->yy_buffer_stack_top > 0)
2613 --yyg->yy_buffer_stack_top;
2617 yyg->yy_did_buffer_switch_on_eof = 1;
2627 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2629 if (!yyg->yy_buffer_stack) {
2636 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
2639 if ( ! yyg->yy_buffer_stack )
2642 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2644 yyg->yy_buffer_stack_max = num_to_alloc;
2645 yyg->yy_buffer_stack_top = 0;
2649 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2654 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2655 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
2656 (yyg->yy_buffer_stack,
2659 if ( ! yyg->yy_buffer_stack )
2663 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2664 yyg->yy_buffer_stack_max = num_to_alloc;
2756 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2757 if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth )
2761 yyg->yy_start_stack_depth += YY_START_STACK_INCR;
2762 new_size = (yy_size_t) yyg->yy_start_stack_depth * sizeof( int );
2764 if ( ! yyg->yy_start_stack )
2765 yyg->yy_start_stack = (int *) yyalloc( new_size , yyscanner );
2768 yyg->yy_start_stack = (int *) yyrealloc(
2769 (void *) yyg->yy_start_stack, new_size , yyscanner );
2771 if ( ! yyg->yy_start_stack )
2775 yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START;
2782 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2783 if ( --yyg->yy_start_stack_ptr < 0 )
2786 BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]);
2791 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2792 return yyg->yy_start_stack[yyg->yy_start_stack_ptr - 1];
2801 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2802 (void)yyg;
2816 yytext[yyleng] = yyg->yy_hold_char; \
2817 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2818 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2819 *yyg->yy_c_buf_p = '\0'; \
2831 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2840 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2853 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2866 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2875 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2884 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2894 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2904 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2914 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2929 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2946 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2952 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2958 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2964 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2972 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2978 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2984 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2990 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3056 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3061 yyg->yy_buffer_stack = NULL;
3062 yyg->yy_buffer_stack_top = 0;
3063 yyg->yy_buffer_stack_max = 0;
3064 yyg->yy_c_buf_p = NULL;
3065 yyg->yy_init = 0;
3066 yyg->yy_start = 0;
3068 yyg->yy_start_stack_ptr = 0;
3069 yyg->yy_start_stack_depth = 0;
3070 yyg->yy_start_stack = NULL;
3090 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3100 yyfree(yyg->yy_buffer_stack , yyscanner);
3101 yyg->yy_buffer_stack = NULL;
3104 yyfree( yyg->yy_start_stack , yyscanner );
3105 yyg->yy_start_stack = NULL;
3124 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3125 (void)yyg;
3146 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3147 (void)yyg;
3153 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3154 (void)yyg;
3168 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3169 (void)yyg;