Lines Matching refs:yyscanner

170 #define YY_NEW_FILE pcap_restart(yyin ,yyscanner )
222 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
304 void pcap_restart (FILE *input_file ,yyscan_t yyscanner );
305 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
306 YY_BUFFER_STATE pcap__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
307 void pcap__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
308 void pcap__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
309 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
310 void pcap_pop_buffer_state (yyscan_t yyscanner );
312 static void pcap_ensure_buffer_stack (yyscan_t yyscanner );
313 static void pcap__load_buffer_state (yyscan_t yyscanner );
314 static void pcap__init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
316 #define YY_FLUSH_BUFFER pcap__flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
318 YY_BUFFER_STATE pcap__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
319 YY_BUFFER_STATE pcap__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
320 YY_BUFFER_STATE pcap__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
322 void *pcap_alloc (yy_size_t ,yyscan_t yyscanner );
323 void *pcap_realloc (void *,yy_size_t ,yyscan_t yyscanner );
324 void pcap_free (void * ,yyscan_t yyscanner );
331 pcap_ensure_buffer_stack (yyscanner); \
333 pcap__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
341 pcap_ensure_buffer_stack (yyscanner); \
343 pcap__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
352 #define pcap_wrap(yyscanner) (/*CONSTCOND*/1) argument
361 static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
362 static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
363 static int yy_get_next_buffer (yyscan_t yyscanner );
364 static void yynoreturn yy_fatal_error (yyconst char* msg ,yyscan_t yyscanner );
3031 static int yy_init_globals (yyscan_t yyscanner );
3044 int pcap_lex_destroy (yyscan_t yyscanner );
3046 int pcap_get_debug (yyscan_t yyscanner );
3048 void pcap_set_debug (int debug_flag ,yyscan_t yyscanner );
3050 YY_EXTRA_TYPE pcap_get_extra (yyscan_t yyscanner );
3052 void pcap_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
3054 FILE *pcap_get_in (yyscan_t yyscanner );
3056 void pcap_set_in (FILE * _in_str ,yyscan_t yyscanner );
3058 FILE *pcap_get_out (yyscan_t yyscanner );
3060 void pcap_set_out (FILE * _out_str ,yyscan_t yyscanner );
3062 int pcap_get_leng (yyscan_t yyscanner );
3064 char *pcap_get_text (yyscan_t yyscanner );
3066 int pcap_get_lineno (yyscan_t yyscanner );
3068 void pcap_set_lineno (int _line_number ,yyscan_t yyscanner );
3070 int pcap_get_column (yyscan_t yyscanner );
3072 void pcap_set_column (int _column_no ,yyscan_t yyscanner );
3074 YYSTYPE * pcap_get_lval (yyscan_t yyscanner );
3076 void pcap_set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
3084 extern "C" int pcap_wrap (yyscan_t yyscanner );
3086 extern int pcap_wrap (yyscan_t yyscanner );
3095 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
3099 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
3105 static int yyinput (yyscan_t yyscanner );
3107 static int input (yyscan_t yyscanner );
3181 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
3193 (YYSTYPE * yylval_param ,yyscan_t yyscanner);
3196 (YYSTYPE * yylval_param , yyscan_t yyscanner)
3221 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3243 pcap_ensure_buffer_stack (yyscanner);
3245 pcap__create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
3248 pcap__load_buffer_state(yyscanner );
4300 yy_current_state = yy_get_previous_state( yyscanner );
4311 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
4331 else switch ( yy_get_next_buffer( yyscanner ) )
4337 if ( pcap_wrap(yyscanner ) )
4366 yy_current_state = yy_get_previous_state( yyscanner );
4376 yy_current_state = yy_get_previous_state( yyscanner );
4400 static int yy_get_next_buffer (yyscan_t yyscanner) in yy_get_next_buffer() argument
4402 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_next_buffer()
4470 pcap_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner ); in yy_get_next_buffer()
4502 pcap_restart(yyin ,yyscanner); in yy_get_next_buffer()
4519 …_ch_buf = (char *) pcap_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner ); in yy_get_next_buffer()
4535 static yy_state_type yy_get_previous_state (yyscan_t yyscanner) in yy_get_previous_state() argument
4539 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state()
4568 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner) in yy_try_NUL_trans() argument
4571 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans()
4599 static int yyinput (yyscan_t yyscanner) in yyinput() argument
4601 static int input (yyscan_t yyscanner) in yyinput()
4606 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput()
4625 switch ( yy_get_next_buffer( yyscanner ) ) in yyinput()
4639 pcap_restart(yyin ,yyscanner); in yyinput()
4645 if ( pcap_wrap(yyscanner ) ) in yyinput()
4651 return yyinput(yyscanner); in yyinput()
4653 return input(yyscanner); in yyinput()
4677 void pcap_restart (FILE * input_file , yyscan_t yyscanner) in pcap_restart() argument
4679 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_restart()
4682 pcap_ensure_buffer_stack (yyscanner); in pcap_restart()
4684 pcap__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); in pcap_restart()
4687 pcap__init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner); in pcap_restart()
4688 pcap__load_buffer_state(yyscanner ); in pcap_restart()
4695 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap__switch_to_buffer() argument
4697 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__switch_to_buffer()
4704 pcap_ensure_buffer_stack (yyscanner); in pcap__switch_to_buffer()
4717 pcap__load_buffer_state(yyscanner ); in pcap__switch_to_buffer()
4727 static void pcap__load_buffer_state (yyscan_t yyscanner) in pcap__load_buffer_state() argument
4729 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__load_buffer_state()
4742 YY_BUFFER_STATE pcap__create_buffer (FILE * file, int size , yyscan_t yyscanner) in pcap__create_buffer() argument
4746 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in pcap__create_buffer()
4755 b->yy_ch_buf = (char *) pcap_alloc(b->yy_buf_size + 2 ,yyscanner ); in pcap__create_buffer()
4761 pcap__init_buffer(b,file ,yyscanner); in pcap__create_buffer()
4770 void pcap__delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) in pcap__delete_buffer() argument
4772 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__delete_buffer()
4781 pcap_free((void *) b->yy_ch_buf ,yyscanner ); in pcap__delete_buffer()
4783 pcap_free((void *) b ,yyscanner ); in pcap__delete_buffer()
4790 static void pcap__init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner) in pcap__init_buffer() argument
4794 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__init_buffer()
4796 pcap__flush_buffer(b ,yyscanner); in pcap__init_buffer()
4819 void pcap__flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) in pcap__flush_buffer() argument
4821 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap__flush_buffer()
4840 pcap__load_buffer_state(yyscanner ); in pcap__flush_buffer()
4849 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap_push_buffer_state() argument
4851 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_push_buffer_state()
4855 pcap_ensure_buffer_stack(yyscanner); in pcap_push_buffer_state()
4872 pcap__load_buffer_state(yyscanner ); in pcap_push_buffer_state()
4880 void pcap_pop_buffer_state (yyscan_t yyscanner) in pcap_pop_buffer_state() argument
4882 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_pop_buffer_state()
4886 pcap__delete_buffer(YY_CURRENT_BUFFER ,yyscanner); in pcap_pop_buffer_state()
4892 pcap__load_buffer_state(yyscanner ); in pcap_pop_buffer_state()
4900 static void pcap_ensure_buffer_stack (yyscan_t yyscanner) in pcap_ensure_buffer_stack() argument
4903 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_ensure_buffer_stack()
4914 , yyscanner); in pcap_ensure_buffer_stack()
4934 , yyscanner); in pcap_ensure_buffer_stack()
4950 YY_BUFFER_STATE pcap__scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) in pcap__scan_buffer() argument
4960 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in pcap__scan_buffer()
4974 pcap__switch_to_buffer(b ,yyscanner ); in pcap__scan_buffer()
4987 YY_BUFFER_STATE pcap__scan_string (yyconst char * yystr , yyscan_t yyscanner) in pcap__scan_string() argument
4990 return pcap__scan_bytes(yystr,(int) strlen(yystr) ,yyscanner); in pcap__scan_string()
5000 YY_BUFFER_STATE pcap__scan_bytes (yyconst char * yybytes, int _yybytes_len , yyscan_t yyscanner) in pcap__scan_bytes() argument
5009 buf = (char *) pcap_alloc(n ,yyscanner ); in pcap__scan_bytes()
5018 b = pcap__scan_buffer(buf,n ,yyscanner); in pcap__scan_bytes()
5034 static void yynoreturn yy_fatal_error (yyconst char* msg , yyscan_t yyscanner) in yy_fatal_error() argument
5036 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error()
5064 YY_EXTRA_TYPE pcap_get_extra (yyscan_t yyscanner) in pcap_get_extra() argument
5066 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_extra()
5073 int pcap_get_lineno (yyscan_t yyscanner) in pcap_get_lineno() argument
5075 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_lineno()
5086 int pcap_get_column (yyscan_t yyscanner) in pcap_get_column() argument
5088 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_column()
5099 FILE *pcap_get_in (yyscan_t yyscanner) in pcap_get_in() argument
5101 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_in()
5108 FILE *pcap_get_out (yyscan_t yyscanner) in pcap_get_out() argument
5110 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_out()
5117 int pcap_get_leng (yyscan_t yyscanner) in pcap_get_leng() argument
5119 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_leng()
5127 char *pcap_get_text (yyscan_t yyscanner) in pcap_get_text() argument
5129 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_text()
5137 void pcap_set_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) in pcap_set_extra() argument
5139 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_extra()
5147 void pcap_set_lineno (int _line_number , yyscan_t yyscanner) in pcap_set_lineno() argument
5149 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_lineno()
5162 void pcap_set_column (int _column_no , yyscan_t yyscanner) in pcap_set_column() argument
5164 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_column()
5179 void pcap_set_in (FILE * _in_str , yyscan_t yyscanner) in pcap_set_in() argument
5181 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_in()
5185 void pcap_set_out (FILE * _out_str , yyscan_t yyscanner) in pcap_set_out() argument
5187 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_out()
5191 int pcap_get_debug (yyscan_t yyscanner) in pcap_get_debug() argument
5193 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_debug()
5197 void pcap_set_debug (int _bdebug , yyscan_t yyscanner) in pcap_set_debug() argument
5199 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_debug()
5205 YYSTYPE * pcap_get_lval (yyscan_t yyscanner) in pcap_get_lval() argument
5207 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_get_lval()
5211 void pcap_set_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) in pcap_set_lval() argument
5213 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_set_lval()
5281 static int yy_init_globals (yyscan_t yyscanner) in yy_init_globals() argument
5283 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals()
5315 int pcap_lex_destroy (yyscan_t yyscanner) in pcap_lex_destroy() argument
5317 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_lex_destroy()
5321 pcap__delete_buffer(YY_CURRENT_BUFFER ,yyscanner ); in pcap_lex_destroy()
5323 pcap_pop_buffer_state(yyscanner); in pcap_lex_destroy()
5327 pcap_free(yyg->yy_buffer_stack ,yyscanner); in pcap_lex_destroy()
5331 pcap_free(yyg->yy_start_stack ,yyscanner ); in pcap_lex_destroy()
5336 yy_init_globals( yyscanner); in pcap_lex_destroy()
5339 pcap_free ( yyscanner , yyscanner ); in pcap_lex_destroy()
5340 yyscanner = NULL; in pcap_lex_destroy()
5349 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner) in yy_flex_strncpy() argument
5351 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy()
5361 static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner) in yy_flex_strlen() argument
5371 void *pcap_alloc (yy_size_t size , yyscan_t yyscanner) in pcap_alloc() argument
5373 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_alloc()
5378 void *pcap_realloc (void * ptr, yy_size_t size , yyscan_t yyscanner) in pcap_realloc() argument
5380 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_realloc()
5393 void pcap_free (void * ptr , yyscan_t yyscanner) in pcap_free() argument
5395 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in pcap_free()