Searched refs:memstream (Results 1 – 5 of 5) sorted by relevance
32 memstream_init(struct memstream *memstream) in memstream_init() argument35 memstream->stream = open_memstream(&memstream->buf, in memstream_init()36 &memstream->size); in memstream_init()38 memstream->stream = tmpfile(); in memstream_init()39 memstream->buf = NULL; in memstream_init()41 return memstream->stream != NULL ? 0 : -1; in memstream_init()45 memstream_close(struct memstream *memstream) in memstream_close() argument48 if (fseek(memstream->stream, 0, SEEK_END) < 0) { in memstream_close()50 fclose(memstream->stream); in memstream_close()53 memstream->size = ftell(memstream->stream); in memstream_close()[all …]
26 struct memstream struct33 int memstream_init(struct memstream *memstream); argument34 int memstream_close(struct memstream *memstream);35 void memstream_destroy(struct memstream *memstream);
36 lens_enum.c memstream.c prototype.c61 lens.h lens_default.h lens_enum.h memstream.h prototype.h
42 memstream.c \
814 struct memstream ms; in delim_output()