Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Dopen_memstream.c68 char** bufp; /* pointer to buffer pointer */ member
106 stream->bufp, *stream->bufp, newSize)); in ensureCapacity()
107 char* newBuf = (char*) realloc(*stream->bufp, newSize); in ensureCapacity()
111 *stream->bufp = newBuf; in ensureCapacity()
134 memset(*stream->bufp + stream->eof, '\0', in write_memstream()
139 memcpy(*stream->bufp + stream->offset, buf, size); in write_memstream()
150 *(*stream->bufp + stream->offset), stream->offset)); in write_memstream()
151 stream->saved = *(*stream->bufp + stream->offset); in write_memstream()
153 *(*stream->bufp + stream->offset) = '\0'; in write_memstream()
189 *(*stream->bufp + stream->offset) = stream->saved; in seek_memstream()
[all …]
/system/core/include/cutils/
Dopen_memstream.h28 FILE* open_memstream(char** bufp, size_t* sizep);