Home
last modified time | relevance | path

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

/system/core/libcutils/
Dopen_memstream.c66 char** bufp; /* pointer to buffer pointer */ member
104 stream->bufp, *stream->bufp, newSize)); in ensureCapacity()
105 char* newBuf = (char*) realloc(*stream->bufp, newSize); in ensureCapacity()
109 *stream->bufp = newBuf; in ensureCapacity()
132 memset(*stream->bufp + stream->eof, '\0', in write_memstream()
137 memcpy(*stream->bufp + stream->offset, buf, size); in write_memstream()
148 *(*stream->bufp + stream->offset), stream->offset)); in write_memstream()
149 stream->saved = *(*stream->bufp + stream->offset); in write_memstream()
151 *(*stream->bufp + stream->offset) = '\0'; in write_memstream()
187 *(*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);