Lines Matching refs:bufp
47 char **bufp; member
64 buf = realloc(*ms->bufp, newsize + 1); in memstream_grow()
71 *ms->bufp = buf; in memstream_grow()
100 memcpy(*ms->bufp + ms->offset, buf, tocopy); in memstream_write()
173 open_memstream(char **bufp, size_t *sizep) in open_memstream() argument
179 if (bufp == NULL || sizep == NULL) { in open_memstream()
183 *bufp = calloc(1, 1); in open_memstream()
184 if (*bufp == NULL) in open_memstream()
189 free(*bufp); in open_memstream()
190 *bufp = NULL; in open_memstream()
194 ms->bufp = bufp; in open_memstream()
204 free(*bufp); in open_memstream()
205 *bufp = NULL; in open_memstream()