Lines Matching refs:size
288 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
300 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
1411 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1415 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1423 b->yy_buf_size = size;
1425 /* yy_ch_buf has to be 2 characters longer than the size given because
1599 int grow_size = 8 /* arbitrary grow size */;
1617 * @param size the size in bytes of the character buffer
1621 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
1625 if ( size < 2 ||
1626 base[size-2] != YY_END_OF_BUFFER_CHAR ||
1627 base[size-1] != YY_END_OF_BUFFER_CHAR )
1635 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
1882 void *yyalloc (yy_size_t size )
1884 return (void *) malloc( size );
1887 void *yyrealloc (void * ptr, yy_size_t size )
1896 return (void *) realloc( (char *) ptr, size );