Lines Matching full:bufp
28 * - The values at "*bufp" and "*sizep" should be considered read-only,
38 * - After fclose(), the caller must eventually free(*bufp).
66 char** bufp; /* pointer to buffer pointer */
104 stream->bufp, *stream->bufp, newSize));
105 char* newBuf = (char*) realloc(*stream->bufp, newSize);
109 *stream->bufp = newBuf;
132 memset(*stream->bufp + stream->eof, '\0',
137 memcpy(*stream->bufp + stream->offset, buf, size);
148 *(*stream->bufp + stream->offset), stream->offset));
149 stream->saved = *(*stream->bufp + stream->offset);
151 *(*stream->bufp + stream->offset) = '\0';
187 *(*stream->bufp + stream->offset) = stream->saved;
197 stream->saved = *(*stream->bufp + stream->offset);
198 *(*stream->bufp + stream->offset) = '\0';
223 FILE* open_memstream(char** bufp, size_t* sizep)
228 if (bufp == NULL || sizep == NULL) {
245 *bufp = NULL;
246 stream->bufp = bufp;