Lines Matching refs:fread
429 if (ok) ok = fread(&chunksize, 1, 4, file) == 4;
430 if (ok) ok = fread(&hash, 1, 4, file) == 4;
488 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip)
489 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Stored hash
491 if (ok) ok = fread(&format, 1, 4, file) == 4;
492 if (ok) ok = fread(&length, 1, 4, file) == 4;
495 if (ok) ok = fread(bin, 1, length, file) == (size_t)length;
496 if (ok) ok = fread(&sourcelength, 1, 4, file) == 4;
500 ok = fread(source, 1, sourcelength, file) == (size_t)sourcelength;
551 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip)
552 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Stored hash
554 if (ok) ok = fread(&temp, 1, 4, file) == 4;
555 if (ok) ok = fread(&cachedLength, 1, 4, file) == 4;
558 if (ok) ok = fread(&sourcelength, 1, 4, file) == 4;
564 ok = fread(source, 1, sourcelength, file) == (size_t)sourcelength;