Lines Matching refs:bufp
48 char **bufp; member
70 buf = realloc(*ms->bufp, newsize + 1); in memstream_grow()
77 *ms->bufp = buf; in memstream_grow()
108 memcpy(*ms->bufp + ms->offset, buf, tocopy); in memstream_write()
181 open_memstream(char **bufp, size_t *sizep) in open_memstream() argument
187 if (bufp == NULL || sizep == NULL) { in open_memstream()
191 *bufp = calloc(1, 1); in open_memstream()
192 if (*bufp == NULL) in open_memstream()
197 free(*bufp); in open_memstream()
198 *bufp = NULL; in open_memstream()
202 ms->bufp = bufp; in open_memstream()
212 free(*bufp); in open_memstream()
213 *bufp = NULL; in open_memstream()