Home | History | Annotate | Download | only in libpcap

Lines Matching refs:yy_buffer_state

139 typedef struct yy_buffer_state *YY_BUFFER_STATE;
180 struct yy_buffer_state
246 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
279 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer );
280 YY_BUFFER_STATE pcap__create_buffer (FILE *file,int size );
281 void pcap__delete_buffer (YY_BUFFER_STATE b );
282 void pcap__flush_buffer (YY_BUFFER_STATE b );
283 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer );
288 static void pcap__init_buffer (YY_BUFFER_STATE b,FILE *file );
292 YY_BUFFER_STATE pcap__scan_buffer (char *base,yy_size_t size );
293 YY_BUFFER_STATE pcap__scan_string (yyconst char *yy_str );
294 YY_BUFFER_STATE pcap__scan_bytes (yyconst char *bytes,int len );
2486 static YY_BUFFER_STATE in_buffer;
3649 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
3910 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer )
3955 YY_BUFFER_STATE pcap__create_buffer (FILE * file, int size )
3957 YY_BUFFER_STATE b;
3959 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) );
3983 void pcap__delete_buffer (YY_BUFFER_STATE b )
3990 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
4006 static void pcap__init_buffer (YY_BUFFER_STATE b, FILE * file )
4034 void pcap__flush_buffer (YY_BUFFER_STATE b )
4063 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer )
4123 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_alloc
4124 (num_to_alloc * sizeof(struct yy_buffer_state*)
4127 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
4140 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_realloc
4142 num_to_alloc * sizeof(struct yy_buffer_state*)
4146 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
4157 YY_BUFFER_STATE pcap__scan_buffer (char * base, yy_size_t size )
4159 YY_BUFFER_STATE b;
4167 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) );
4194 YY_BUFFER_STATE pcap__scan_string (yyconst char * yy_str )
4207 YY_BUFFER_STATE pcap__scan_bytes (yyconst char * bytes, int len )
4209 YY_BUFFER_STATE b;