Searched refs:mstream (Results 1 – 2 of 2) sorted by relevance
1497 L_MEMSTREAM *mstream; in memstreamCreateForRead() local1499 mstream = (L_MEMSTREAM *)CALLOC(1, sizeof(L_MEMSTREAM)); in memstreamCreateForRead()1500 mstream->buffer = indata; /* handle to input data array */ in memstreamCreateForRead()1501 mstream->bufsize = insize; /* amount of input data */ in memstreamCreateForRead()1502 mstream->hw = insize; /* high-water mark fixed at input data size */ in memstreamCreateForRead()1503 mstream->offset = 0; /* offset always starts at 0 */ in memstreamCreateForRead()1504 return mstream; in memstreamCreateForRead()1512 L_MEMSTREAM *mstream; in memstreamCreateForWrite() local1514 mstream = (L_MEMSTREAM *)CALLOC(1, sizeof(L_MEMSTREAM)); in memstreamCreateForWrite()1515 mstream->buffer = (l_uint8 *)CALLOC(8 * 1024, 1); in memstreamCreateForWrite()[all …]
30 SkMemoryStream mstream(storage, size); in test_buffer() local31 SkBufferStream bstream(&mstream, bufferSize); in test_buffer()