Lines Matching defs:bufsize
75 * and 'bufsize' pointers to avoid multiple buffer allocations. Buffer
76 * will be reallocated and 'bufsize' increased until whole line fits in
87 static int readline(char **buffer, size_t *bufsize, FILE *stream)
97 *bufsize = 128;
101 int bytestoread = curlx_uztosi(*bufsize - offset);
110 if(length < *bufsize - 1)
113 newptr = realloc(*buffer, *bufsize * 2);
117 *bufsize *= 2;
265 size_t bufsize = 0;
287 while((error = readline(&buffer, &bufsize, stream)) == GPE_OK) {