Lines Matching refs:buffer
161 /* Size of default input buffer. */
164 /* On IA-64, the buffer size is 16k, not 8k.
174 /* The state buf must be large enough to hold one state per character in the main buffer.
220 char *yy_ch_buf; /* input buffer */
221 char *yy_buf_pos; /* current position in input buffer */
223 /* Size of input buffer in bytes, not including room for EOB
233 /* Whether we "own" the buffer - i.e., we know we created it,
255 /* Whether to try to fill the input buffer when we reach the
265 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
284 /* We provide macros for accessing buffer states in case in the
285 * future we want to put the buffer states in a more general
294 /* Same as previous macro, but useful when we know that the buffer stack is not
304 /* Points to current character in buffer. */
309 /* Flag which is used to allow zconfwrap()'s to do buffer switches
801 struct buffer {
802 struct buffer *parent;
806 struct buffer *current_buf;
926 /* On IA-64, the buffer size is 16k, not 8k */
1377 * of the first EOB in the buffer, since yy_c_buf_p will
1380 * end-of-buffer state). Contrast this with the test
1480 /* yy_get_next_buffer - try to read in a new buffer
1496 "fatal flex scanner internal error--end of buffer missed" );
1499 { /* Don't try to fill the buffer, so this is an EOF. */
1519 /* First move last chars to start of buffer. */
1537 { /* Not enough room in the buffer - grow it. */
1539 /* just a shorter name for the current buffer */
1564 "fatal error - scanner input buffer overflow" );
1704 * valid NUL; if not, then we've hit the end of the buffer.
1728 /* Reset buffer status. */
1780 /** Switch to a different input buffer.
1781 * @param new_buffer The new input buffer.
1798 /* Flush out information for old buffer. */
1823 /** Allocate and initialize an input buffer state.
1825 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1827 * @return the allocated buffer state.
1840 * we need to put in 2 end-of-buffer characters.
1853 /** Destroy the buffer.
1854 * @param b a buffer created with zconf_create_buffer()
1872 /* Initializes or reinitializes a buffer.
1873 * This function is sometimes called more than once on the same buffer,
1886 /* If b is the current buffer, then zconf_init_buffer was _probably_
1901 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1911 /* We always need two end-of-buffer characters. The first causes
1912 * a transition to the end-of-buffer state. The second causes
1943 /* Flush out information for old buffer. */
2008 /* Increase the buffer to prepare for a possible push. */
2025 /** Setup the input buffer state to scan directly from a user-specified character buffer.
2026 * @param base the character buffer
2027 * @param size the size in bytes of the character buffer
2029 * @return the newly allocated buffer state object.
2060 /** Setup the input buffer state to scan a string. The next call to zconflex() will
2064 * @return the newly allocated buffer state object.
2074 /** Setup the input buffer state to scan the given bytes. The next call to zconflex() will
2076 * @param yybytes the byte buffer to scan
2077 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2079 * @return the newly allocated buffer state object.
2088 /* Get memory for full buffer, including space for trailing EOB's. */
2101 YY_FATAL_ERROR( "bad buffer in zconf_scan_bytes()" );
2103 /* It's okay to grow etc. this buffer, and we should throw it
2193 * input buffer.
2250 /* Pop the buffer stack, destroying each element. */
2372 struct buffer *buf = malloc(sizeof(*buf));
2412 struct buffer *parent;