Lines Matching refs:size
19 Z7_COM7F_IMF(CBinderInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
20 { return _binder->Read(data, size, processedSize); }
33 Z7_COM7F_IMF(CBinderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
34 { return _binder->Write(data, size, processedSize); }
72 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize)
76 if (size != 0)
85 if (size > _bufSize)
86 size = _bufSize;
87 if (size != 0)
89 memcpy(data, _buf, size);
90 _buf = ((const Byte *)_buf) + size;
91 ProcessedSize += size;
93 *processedSize = size;
94 _bufSize -= size;
114 HRESULT CStreamBinder::Write(const void *data, UInt32 size, UInt32 *processedSize)
118 if (size == 0)
124 _bufSize = size;
135 // _bufSize : is remain size that was not read
136 size -= _bufSize;
138 // size : is size of data that was read
139 if (size != 0)
141 // if some data was read, then we report that size and return
143 *processedSize = size;