Lines Matching refs:size
119 SRes (*Read)(void *p, void *buf, size_t *size);
120 /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream.
121 (output(*size) < input(*size)) is allowed */
125 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size);
126 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
131 size_t (*Write)(void *p, const void *buf, size_t size);
133 (result < size) means error */
145 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */
151 SRes (*Look)(void *p, void **buf, size_t *size);
152 /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream.
153 (output(*size) > input(*size)) is not allowed
154 (output(*size) < input(*size)) is allowed */
156 /* offset must be <= output(*size) of Look */
158 SRes (*Read)(void *p, void *buf, size_t *size);
163 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size);
167 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType);
168 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size);
177 size_t size;
204 Value (UInt64)(Int64)-1 for size means unknown value. */
209 void *(*Alloc)(void *p, size_t size);
210 void (*Free)(void *p, void *address, size_t size); /* address can be 0 */
213 #define IAlloc_Alloc(p, size) (p)->Alloc((p), size)