Lines Matching refs:cbRead
158 size_t cbRead = fread(abBuf, sizeof(uint8_t), 4096, pInput);
159 if (!cbRead || ferror(pInput))
163 if (cbRead != 4096 && !feof(pInput))
166 (unsigned)cbRead);
170 if ((cbRead & 0x1ff) != 0)
172 memset(&abBuf[cbRead], 0, 4096 - cbRead);
173 cbRead = (cbRead + 0x1ff) & ~0x1ffU;
177 if (fwrite(abBuf, sizeof(uint8_t), cbRead, pOutput) == cbRead)
178 off += cbRead;