Lines Matching refs:yyg

130 #define yyin yyg->yyin_r
131 #define yyout yyg->yyout_r
132 #define yyextra yyg->yyextra_r
133 #define yyleng yyg->yyleng_r
134 #define yytext yyg->yytext_r
137 #define yy_flex_debug yyg->yy_flex_debug_r
143 #define BEGIN yyg->yy_start = 1 + 2 *
149 #define YY_START ((yyg->yy_start - 1) / 2)
195 *yy_cp = yyg->yy_hold_char; \
197 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
202 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
280 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
281 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
287 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
355 yyg->yytext_ptr = yy_bp; \
357 yyg->yy_hold_char = *yy_cp; \
359 yyg->yy_c_buf_p = yy_cp;
690 # define yylval yyg->yylval_r
872 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
904 if ( !yyg->yy_init )
906 yyg->yy_init = 1;
912 if ( ! yyg->yy_start )
913 yyg->yy_start = 1; /* first start state */
932 yy_cp = yyg->yy_c_buf_p;
935 *yy_cp = yyg->yy_hold_char;
942 yy_current_state = yyg->yy_start;
949 yyg->yy_last_accepting_state = yy_current_state;
950 yyg->yy_last_accepting_cpos = yy_cp;
962 yy_cp = yyg->yy_last_accepting_cpos;
963 yy_current_state = yyg->yy_last_accepting_state;
976 *yy_cp = yyg->yy_hold_char;
977 yy_cp = yyg->yy_last_accepting_cpos;
978 yy_current_state = yyg->yy_last_accepting_state;
1545 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1548 *yy_cp = yyg->yy_hold_char;
1562 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1574 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
1578 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1593 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1598 yy_cp = ++yyg->yy_c_buf_p;
1605 yy_cp = yyg->yy_last_accepting_cpos;
1606 yy_current_state = yyg->yy_last_accepting_state;
1615 yyg->yy_did_buffer_switch_on_eof = 0;
1628 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
1636 if ( ! yyg->yy_did_buffer_switch_on_eof )
1643 yyg->yy_c_buf_p =
1644 yyg->yytext_ptr + yy_amount_of_matched_text;
1648 yy_cp = yyg->yy_c_buf_p;
1649 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1653 yyg->yy_c_buf_p =
1654 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
1658 yy_cp = yyg->yy_c_buf_p;
1659 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
1681 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1683 register char *source = yyg->yytext_ptr;
1687 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
1693 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
1713 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
1722 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
1736 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
1759 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
1771 yyg->yy_n_chars, (size_t) num_to_read );
1773 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
1776 if ( yyg->yy_n_chars == 0 )
1795 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1797 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
1803 yyg->yy_n_chars += number_to_move;
1804 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
1805 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
1807 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1818 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1820 yy_current_state = yyg->yy_start;
1822 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
1827 yyg->yy_last_accepting_state = yy_current_state;
1828 yyg->yy_last_accepting_cpos = yy_cp;
1850 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
1851 register char *yy_cp = yyg->yy_c_buf_p;
1856 yyg->yy_last_accepting_state = yy_current_state;
1857 yyg->yy_last_accepting_cpos = yy_cp;
1880 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1882 *yyg->yy_c_buf_p = yyg->yy_hold_char;
1884 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
1890 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
1892 *yyg->yy_c_buf_p = '\0';
1896 int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
1897 ++yyg->yy_c_buf_p;
1922 if ( ! yyg->yy_did_buffer_switch_on_eof )
1932 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
1938 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
1939 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
1940 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
1953 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1971 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1985 *yyg->yy_c_buf_p = yyg->yy_hold_char;
1986 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
1987 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
1998 yyg->yy_did_buffer_switch_on_eof = 1;
2003 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2004 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2005 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2007 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2046 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2068 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2095 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2125 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2135 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2136 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2137 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2142 yyg->yy_buffer_stack_top++;
2147 yyg->yy_did_buffer_switch_on_eof = 1;
2156 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2162 if (yyg->yy_buffer_stack_top > 0)
2163 --yyg->yy_buffer_stack_top;
2167 yyg->yy_did_buffer_switch_on_eof = 1;
2177 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2179 if (!yyg->yy_buffer_stack) {
2186 yyg->yy_buffer_stack = (struct yy_buffer_state**)ap_expr_yyalloc
2189 if ( ! yyg->yy_buffer_stack )
2192 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2194 yyg->yy_buffer_stack_max = num_to_alloc;
2195 yyg->yy_buffer_stack_top = 0;
2199 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2204 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2205 yyg->yy_buffer_stack = (struct yy_buffer_state**)ap_expr_yyrealloc
2206 (yyg->yy_buffer_stack,
2209 if ( ! yyg->yy_buffer_stack )
2213 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2214 yyg->yy_buffer_stack_max = num_to_alloc;
2306 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2307 if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth )
2311 yyg->yy_start_stack_depth += YY_START_STACK_INCR;
2312 new_size = yyg->yy_start_stack_depth * sizeof( int );
2314 if ( ! yyg->yy_start_stack )
2315 yyg->yy_start_stack = (int *) ap_expr_yyalloc(new_size ,yyscanner );
2318 yyg->yy_start_stack = (int *) ap_expr_yyrealloc((void *) yyg->yy_start_stack,new_size ,yyscanner );
2320 if ( ! yyg->yy_start_stack )
2324 yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START;
2331 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2332 if ( --yyg->yy_start_stack_ptr < 0 )
2335 BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]);
2357 yytext[yyleng] = yyg->yy_hold_char; \
2358 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2359 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2360 *yyg->yy_c_buf_p = '\0'; \
2372 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2381 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2398 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2407 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2416 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2426 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2436 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2446 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2468 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2474 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2480 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2486 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2494 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2500 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2570 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2575 yyg->yy_buffer_stack = 0;
2576 yyg->yy_buffer_stack_top = 0;
2577 yyg->yy_buffer_stack_max = 0;
2578 yyg->yy_c_buf_p = (char *) 0;
2579 yyg->yy_init = 0;
2580 yyg->yy_start = 0;
2582 yyg->yy_start_stack_ptr = 0;
2583 yyg->yy_start_stack_depth = 0;
2584 yyg->yy_start_stack = NULL;
2604 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2614 ap_expr_yyfree(yyg->yy_buffer_stack ,yyscanner);
2615 yyg->yy_buffer_stack = NULL;
2618 ap_expr_yyfree(yyg->yy_start_stack ,yyscanner );
2619 yyg->yy_start_stack = NULL;