Home | History | Annotate | Download | only in libpcap

Lines Matching defs:YY_BUF_SIZE

163 #ifndef YY_BUF_SIZE
166 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
169 #define YY_BUF_SIZE 32768
171 #define YY_BUF_SIZE 16384
177 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
227 yy_size_t yy_buf_size;
344 pcap__create_buffer(pcap_in,YY_BUF_SIZE ); \
354 pcap__create_buffer(pcap_in,YY_BUF_SIZE ); \
2984 pcap__create_buffer(pcap_in,YY_BUF_SIZE );
4033 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
4046 int new_size = b->yy_buf_size * 2;
4049 b->yy_buf_size += b->yy_buf_size / 8;
4051 b->yy_buf_size *= 2;
4055 pcap_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
4067 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
4101 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
4260 pcap__create_buffer(pcap_in,YY_BUF_SIZE );
4312 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
4324 b->yy_buf_size = size;
4329 b->yy_ch_buf = (char *) pcap_alloc(b->yy_buf_size + 2 );
4536 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
4540 b->yy_n_chars = b->yy_buf_size;