Lines Matching refs:yyg
137 #define yyin yyg->yyin_r
138 #define yyout yyg->yyout_r
139 #define yyextra yyg->yyextra_r
140 #define yyleng yyg->yyleng_r
141 #define yytext yyg->yytext_r
144 #define yy_flex_debug yyg->yy_flex_debug_r
150 #define BEGIN yyg->yy_start = 1 + 2 *
156 #define YY_START ((yyg->yy_start - 1) / 2)
208 *yy_cp = yyg->yy_hold_char; \
210 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
215 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
288 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
289 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
295 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
363 yyg->yytext_ptr = yy_bp; \
365 yyg->yy_hold_char = *yy_cp; \
367 yyg->yy_c_buf_p = yy_cp;
2855 # define yylval yyg->yylval_r
3037 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; variable
3041 if ( !yyg->yy_init )
3043 yyg->yy_init = 1;
3049 if ( ! yyg->yy_start )
3050 yyg->yy_start = 1; /* first start state */
3074 yy_cp = yyg->yy_c_buf_p;
3077 *yy_cp = yyg->yy_hold_char;
3084 yy_current_state = yyg->yy_start;
3091 yyg->yy_last_accepting_state = yy_current_state;
3092 yyg->yy_last_accepting_cpos = yy_cp;
3104 yy_cp = yyg->yy_last_accepting_cpos;
3105 yy_current_state = yyg->yy_last_accepting_state;
3118 *yy_cp = yyg->yy_hold_char;
3119 yy_cp = yyg->yy_last_accepting_cpos;
3120 yy_current_state = yyg->yy_last_accepting_state;
3936 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
3939 *yy_cp = yyg->yy_hold_char;
3953 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3965 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
3969 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
3984 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
3989 yy_cp = ++yyg->yy_c_buf_p;
3996 yy_cp = yyg->yy_last_accepting_cpos;
3997 yy_current_state = yyg->yy_last_accepting_state;
4006 yyg->yy_did_buffer_switch_on_eof = 0;
4019 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
4027 if ( ! yyg->yy_did_buffer_switch_on_eof )
4034 yyg->yy_c_buf_p =
4035 yyg->yytext_ptr + yy_amount_of_matched_text;
4039 yy_cp = yyg->yy_c_buf_p;
4040 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
4044 yyg->yy_c_buf_p =
4045 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
4049 yy_cp = yyg->yy_c_buf_p;
4050 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
4073 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_next_buffer() local
4075 register char *source = yyg->yytext_ptr; in yy_get_next_buffer()
4079 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] ) in yy_get_next_buffer()
4085 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
4105 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1; in yy_get_next_buffer()
4114 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0; in yy_get_next_buffer()
4128 (int) (yyg->yy_c_buf_p - b->yy_ch_buf); in yy_get_next_buffer()
4151 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
4163 yyg->yy_n_chars, num_to_read ); in yy_get_next_buffer()
4165 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in yy_get_next_buffer()
4168 if ( yyg->yy_n_chars == 0 ) in yy_get_next_buffer()
4187 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
4189 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer()
4195 yyg->yy_n_chars += number_to_move; in yy_get_next_buffer()
4196 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
4197 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
4199 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
4210 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state() local
4212 yy_current_state = yyg->yy_start; in yy_get_previous_state()
4214 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) in yy_get_previous_state()
4219 yyg->yy_last_accepting_state = yy_current_state; in yy_get_previous_state()
4220 yyg->yy_last_accepting_cpos = yy_cp; in yy_get_previous_state()
4242 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans() local
4243 register char *yy_cp = yyg->yy_c_buf_p; in yy_try_NUL_trans()
4248 yyg->yy_last_accepting_state = yy_current_state; in yy_try_NUL_trans()
4249 yyg->yy_last_accepting_cpos = yy_cp; in yy_try_NUL_trans()
4260 (void)yyg; in yy_try_NUL_trans()
4273 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput() local
4275 *yyg->yy_c_buf_p = yyg->yy_hold_char; in yyinput()
4277 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) in yyinput()
4283 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) in yyinput()
4285 *yyg->yy_c_buf_p = '\0'; in yyinput()
4289 yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr; in yyinput()
4290 ++yyg->yy_c_buf_p; in yyinput()
4315 if ( ! yyg->yy_did_buffer_switch_on_eof ) in yyinput()
4325 yyg->yy_c_buf_p = yyg->yytext_ptr + offset; in yyinput()
4331 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ in yyinput()
4332 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ in yyinput()
4333 yyg->yy_hold_char = *++yyg->yy_c_buf_p; in yyinput()
4346 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_restart() local
4364 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__switch_to_buffer() local
4378 *yyg->yy_c_buf_p = yyg->yy_hold_char; in pcap__switch_to_buffer()
4379 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in pcap__switch_to_buffer()
4380 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in pcap__switch_to_buffer()
4391 yyg->yy_did_buffer_switch_on_eof = 1; in pcap__switch_to_buffer()
4396 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__load_buffer_state() local
4397 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in pcap__load_buffer_state()
4398 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in pcap__load_buffer_state()
4400 yyg->yy_hold_char = *yyg->yy_c_buf_p; in pcap__load_buffer_state()
4439 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__delete_buffer() local
4461 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__init_buffer() local
4488 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__flush_buffer() local
4518 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_push_buffer_state() local
4528 *yyg->yy_c_buf_p = yyg->yy_hold_char; in pcap_push_buffer_state()
4529 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; in pcap_push_buffer_state()
4530 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; in pcap_push_buffer_state()
4535 yyg->yy_buffer_stack_top++; in pcap_push_buffer_state()
4540 yyg->yy_did_buffer_switch_on_eof = 1; in pcap_push_buffer_state()
4549 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_pop_buffer_state() local
4555 if (yyg->yy_buffer_stack_top > 0) in pcap_pop_buffer_state()
4556 --yyg->yy_buffer_stack_top; in pcap_pop_buffer_state()
4560 yyg->yy_did_buffer_switch_on_eof = 1; in pcap_pop_buffer_state()
4570 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_ensure_buffer_stack() local
4572 if (!yyg->yy_buffer_stack) { in pcap_ensure_buffer_stack()
4579 yyg->yy_buffer_stack = (struct yy_buffer_state**)pcap_alloc in pcap_ensure_buffer_stack()
4582 if ( ! yyg->yy_buffer_stack ) in pcap_ensure_buffer_stack()
4585 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4587 yyg->yy_buffer_stack_max = num_to_alloc; in pcap_ensure_buffer_stack()
4588 yyg->yy_buffer_stack_top = 0; in pcap_ensure_buffer_stack()
4592 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ in pcap_ensure_buffer_stack()
4597 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in pcap_ensure_buffer_stack()
4598 yyg->yy_buffer_stack = (struct yy_buffer_state**)pcap_realloc in pcap_ensure_buffer_stack()
4599 (yyg->yy_buffer_stack, in pcap_ensure_buffer_stack()
4602 if ( ! yyg->yy_buffer_stack ) in pcap_ensure_buffer_stack()
4606 …memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_sta… in pcap_ensure_buffer_stack()
4607 yyg->yy_buffer_stack_max = num_to_alloc; in pcap_ensure_buffer_stack()
4716 yytext[yyleng] = yyg->yy_hold_char; \
4717 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
4718 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
4719 *yyg->yy_c_buf_p = '\0'; \
4731 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_extra() local
4740 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_lineno() local
4753 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_column() local
4766 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_in() local
4775 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_out() local
4784 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_leng() local
4794 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_text() local
4804 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_extra() local
4814 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_lineno() local
4829 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_column() local
4846 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_in() local
4852 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_out() local
4858 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_debug() local
4864 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_debug() local
4872 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_lval() local
4878 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_lval() local
4948 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals() local
4953 yyg->yy_buffer_stack = 0; in yy_init_globals()
4954 yyg->yy_buffer_stack_top = 0; in yy_init_globals()
4955 yyg->yy_buffer_stack_max = 0; in yy_init_globals()
4956 yyg->yy_c_buf_p = (char *) 0; in yy_init_globals()
4957 yyg->yy_init = 0; in yy_init_globals()
4958 yyg->yy_start = 0; in yy_init_globals()
4960 yyg->yy_start_stack_ptr = 0; in yy_init_globals()
4961 yyg->yy_start_stack_depth = 0; in yy_init_globals()
4962 yyg->yy_start_stack = NULL; in yy_init_globals()
4982 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_lex_destroy() local
4992 pcap_free(yyg->yy_buffer_stack ,yyscanner); in pcap_lex_destroy()
4993 yyg->yy_buffer_stack = NULL; in pcap_lex_destroy()
4996 pcap_free(yyg->yy_start_stack ,yyscanner ); in pcap_lex_destroy()
4997 yyg->yy_start_stack = NULL; in pcap_lex_destroy()