Lines Matching refs:count
199 static int ebAddData(ExpandBuf* pBuf, const void* data, size_t count) in ebAddData() argument
201 ebEnsureCapacity(pBuf, count); in ebAddData()
202 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData()
203 pBuf->curLen += count; in ebAddData()
235 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) in ebReadData() argument
239 assert(count > 0); in ebReadData()
241 ebEnsureCapacity(pBuf, count); in ebReadData()
242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData()
243 if (actual != count) { in ebReadData()
247 fprintf(stderr, "ERROR: read %zu of %zu bytes\n", actual, count); in ebReadData()
252 pBuf->curLen += count; in ebReadData()
340 int i, count; in computeClassDumpLen() local
349 count = get2BE(buf); in computeClassDumpLen()
352 DBUG("CDL: 1st count is %d\n", count); in computeClassDumpLen()
353 for (i = 0; i < count; i++) { in computeClassDumpLen()
370 count = get2BE(buf); in computeClassDumpLen()
373 DBUG("CDL: 2nd count is %d\n", count); in computeClassDumpLen()
374 for (i = 0; i < count; i++) { in computeClassDumpLen()
391 count = get2BE(buf); in computeClassDumpLen()
394 DBUG("CDL: 3rd count is %d\n", count); in computeClassDumpLen()
395 for (i = 0; i < count; i++) { in computeClassDumpLen()