Lines Matching refs:buf_size
104 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_delete() local
105 char *buf = emalloc(buf_size); in flatfile_delete()
116 if (num >= buf_size) { in flatfile_delete()
117 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_delete()
118 buf = erealloc(buf, buf_size); in flatfile_delete()
139 if (num >= buf_size) { in flatfile_delete()
140 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_delete()
141 buf = erealloc(buf, buf_size); in flatfile_delete()
153 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_findkey() local
154 char *buf = emalloc(buf_size); in flatfile_findkey()
166 if (num >= buf_size) { in flatfile_findkey()
167 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_findkey()
168 buf = erealloc(buf, buf_size); in flatfile_findkey()
182 if (num >= buf_size) { in flatfile_findkey()
183 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_findkey()
184 buf = erealloc(buf, buf_size); in flatfile_findkey()
197 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_firstkey() local
198 char *buf = emalloc(buf_size); in flatfile_firstkey()
206 if (num >= buf_size) { in flatfile_firstkey()
207 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_firstkey()
208 buf = erealloc(buf, buf_size); in flatfile_firstkey()
222 if (num >= buf_size) { in flatfile_firstkey()
223 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_firstkey()
224 buf = erealloc(buf, buf_size); in flatfile_firstkey()
239 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_nextkey() local
240 char *buf = emalloc(buf_size); in flatfile_nextkey()
248 if (num >= buf_size) { in flatfile_nextkey()
249 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_nextkey()
250 buf = erealloc(buf, buf_size); in flatfile_nextkey()
258 if (num >= buf_size) { in flatfile_nextkey()
259 buf_size = num + FLATFILE_BLOCK_SIZE; in flatfile_nextkey()
260 buf = erealloc(buf, buf_size); in flatfile_nextkey()