Lines Matching refs:size
164 /* On IA-64, the buffer size is 16k, not 8k.
316 YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size );
328 YY_BUFFER_STATE zconf_scan_buffer (char *base,yy_size_t size );
836 static void append_string(const char *str, int size)
838 int new_size = text_size + size + 1;
845 memcpy(text + text_size, str, size);
846 text_size += size;
850 static void alloc_string(const char *str, int size)
852 text = xmalloc(size + 1);
853 memcpy(text, str, size);
854 text[size] = 0;
948 /* On IA-64, the buffer size is 16k, not 8k */
1863 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1867 YY_BUFFER_STATE zconf_create_buffer (FILE * file, int size )
1875 b->yy_buf_size = size;
1877 /* yy_ch_buf has to be 2 characters longer than the size given because
2047 int grow_size = 8 /* arbitrary grow size */;
2065 * @param size the size in bytes of the character buffer
2069 YY_BUFFER_STATE zconf_scan_buffer (char * base, yy_size_t size )
2073 if ( size < 2 ||
2074 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2075 base[size-1] != YY_END_OF_BUFFER_CHAR )
2083 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2330 void *zconfalloc (yy_size_t size )
2332 return (void *) malloc( size );
2335 void *zconfrealloc (void * ptr, yy_size_t size )
2344 return (void *) realloc( (char *) ptr, size );