Lines Matching refs:bufp
50 char **bufp; member
67 buf = realloc(*ms->bufp, newsize + 1); in memstream_grow()
74 *ms->bufp = buf; in memstream_grow()
103 memcpy(*ms->bufp + ms->offset, buf, tocopy); in memstream_write()
176 open_memstream(char **bufp, size_t *sizep) in open_memstream() argument
182 if (bufp == NULL || sizep == NULL) { in open_memstream()
186 *bufp = calloc(1, 1); in open_memstream()
187 if (*bufp == NULL) in open_memstream()
192 free(*bufp); in open_memstream()
193 *bufp = NULL; in open_memstream()
197 ms->bufp = bufp; in open_memstream()
207 free(*bufp); in open_memstream()
208 *bufp = NULL; in open_memstream()