Lines Matching refs:yyg
370 #define yyin yyg->yyin_r
371 #define yyout yyg->yyout_r
372 #define yyextra yyg->yyextra_r
373 #define yyleng yyg->yyleng_r
374 #define yytext yyg->yytext_r
377 #define yy_flex_debug yyg->yy_flex_debug_r
383 #define BEGIN yyg->yy_start = 1 + 2 *
388 #define YY_START ((yyg->yy_start - 1) / 2)
437 *yy_cp = yyg->yy_hold_char; \
439 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
443 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
516 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
517 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
522 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
585 yyg->yytext_ptr = yy_bp; \
587 yyg->yy_hold_char = *yy_cp; \
589 yyg->yy_c_buf_p = yy_cp;
3198 # define yylval yyg->yylval_r
3383 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
3387 if ( !yyg->yy_init )
3389 yyg->yy_init = 1;
3395 if ( ! yyg->yy_start )
3396 yyg->yy_start = 1; /* first start state */
3420 yy_cp = yyg->yy_c_buf_p;
3423 *yy_cp = yyg->yy_hold_char;
3430 yy_current_state = yyg->yy_start;
3437 yyg->yy_last_accepting_state = yy_current_state;
3438 yyg->yy_last_accepting_cpos = yy_cp;
3450 yy_cp = yyg->yy_last_accepting_cpos;
3451 yy_current_state = yyg->yy_last_accepting_state;
3464 *yy_cp = yyg->yy_hold_char;
3465 yy_cp = yyg->yy_last_accepting_cpos;
3466 yy_current_state = yyg->yy_last_accepting_state;
4412 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
4415 *yy_cp = yyg->yy_hold_char;
4429 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
4441 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
4445 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
4460 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
4465 yy_cp = ++yyg->yy_c_buf_p;
4472 yy_cp = yyg->yy_last_accepting_cpos;
4473 yy_current_state = yyg->yy_last_accepting_state;
4482 yyg->yy_did_buffer_switch_on_eof = 0;
4495 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
4503 if ( ! yyg->yy_did_buffer_switch_on_eof )
4510 yyg->yy_c_buf_p =
4511 yyg->yytext_ptr + yy_amount_of_matched_text;
4515 yy_cp = yyg->yy_c_buf_p;
4516 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
4520 yyg->yy_c_buf_p =
4521 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
4525 yy_cp = yyg->yy_c_buf_p;
4526 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
4549 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_next_buffer() local
4551 char *source = yyg->yytext_ptr; in yy_get_next_buffer()
4555 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] ) in yy_get_next_buffer()
4561 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
4581 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1); in yy_get_next_buffer()
4590 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0; in yy_get_next_buffer()
4604 (int) (yyg->yy_c_buf_p - b->yy_ch_buf); in yy_get_next_buffer()
4628 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
4640 yyg->yy_n_chars, num_to_read ); in yy_get_next_buffer()
4642 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_get_next_buffer()
4645 if ( yyg->yy_n_chars == 0 ) in yy_get_next_buffer()
4664 if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
4666 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer()
4675 yyg->yy_n_chars += number_to_move; in yy_get_next_buffer()
4676 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
4677 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
4679 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
4690 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
4692 yy_current_state = yyg->yy_start; in yy_get_previous_state()
4694 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
4699 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
4700 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
4722 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
4723 char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
4728 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
4729 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
4740 (void)yyg; in yy_try_NUL_trans()
4757 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
4759 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
4761 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
4767 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
4769 *yyg->yy_c_buf_p = '\0'; in yyinput()
4773 int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr); in yyinput()
4774 ++yyg->yy_c_buf_p; in yyinput()
4799 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
4809 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
4815 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
4816 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
4817 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
4830 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrestart() local
4848 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_switch_to_buffer() local
4862 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yy_switch_to_buffer()
4863 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yy_switch_to_buffer()
4864 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_switch_to_buffer()
4875 yyg->yy_did_buffer_switch_on_eof = 1; in yy_switch_to_buffer()
4880 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_load_buffer_state() local
4881 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
4882 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
4884 yyg->yy_hold_char = *yyg->yy_c_buf_p; in yy_load_buffer_state()
4923 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_delete_buffer() local
4945 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_buffer() local
4972 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flush_buffer() local
5002 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypush_buffer_state() local
5012 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yypush_buffer_state()
5013 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in yypush_buffer_state()
5014 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yypush_buffer_state()
5019 yyg->yy_buffer_stack_top++; in yypush_buffer_state()
5024 yyg->yy_did_buffer_switch_on_eof = 1; in yypush_buffer_state()
5033 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypop_buffer_state() local
5039 if (yyg->yy_buffer_stack_top > 0) in yypop_buffer_state()
5040 --yyg->yy_buffer_stack_top; in yypop_buffer_state()
5044 yyg->yy_did_buffer_switch_on_eof = 1; in yypop_buffer_state()
5054 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyensure_buffer_stack() local
5056 if (!yyg->yy_buffer_stack) { in yyensure_buffer_stack()
5063 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
5066 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
5069 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
5071 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
5072 yyg->yy_buffer_stack_top = 0; in yyensure_buffer_stack()
5076 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in yyensure_buffer_stack()
5081 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
5082 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
5083 (yyg->yy_buffer_stack, in yyensure_buffer_stack()
5086 if ( ! yyg->yy_buffer_stack ) in yyensure_buffer_stack()
5090 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in yyensure_buffer_stack()
5091 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
5187 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error() local
5188 (void)yyg; in yy_fatal_error()
5202 yytext[yyleng] = yyg->yy_hold_char; \
5203 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
5204 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
5205 *yyg->yy_c_buf_p = '\0'; \
5217 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_extra() local
5226 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lineno() local
5239 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_column() local
5252 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_in() local
5261 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_out() local
5270 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_leng() local
5280 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_text() local
5290 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_extra() local
5300 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lineno() local
5315 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_column() local
5332 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_in() local
5338 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_out() local
5344 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_debug() local
5350 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_debug() local
5358 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lval() local
5364 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lval() local
5430 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
5435 yyg->yy_buffer_stack = NULL; in yy_init_globals()
5436 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
5437 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
5438 yyg->yy_c_buf_p = NULL; in yy_init_globals()
5439 yyg->yy_init = 0; in yy_init_globals()
5440 yyg->yy_start = 0; in yy_init_globals()
5442 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
5443 yyg->yy_start_stack_depth = 0; in yy_init_globals()
5444 yyg->yy_start_stack = NULL; in yy_init_globals()
5464 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yylex_destroy() local
5474 yyfree(yyg->yy_buffer_stack , yyscanner); in yylex_destroy()
5475 yyg->yy_buffer_stack = NULL; in yylex_destroy()
5478 yyfree( yyg->yy_start_stack , yyscanner ); in yylex_destroy()
5479 yyg->yy_start_stack = NULL; in yylex_destroy()
5498 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy() local
5499 (void)yyg; in yy_flex_strncpy()
5520 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyalloc() local
5521 (void)yyg; in yyalloc()
5527 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrealloc() local
5528 (void)yyg; in yyrealloc()
5542 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyfree() local
5543 (void)yyg; in yyfree()