Lines Matching refs:amt_read
258 size_t amt_read;
260 amt_read = fread(buf, 1, bytes_to_read, fp);
261 if (amt_read != bytes_to_read) {
266 if (amt_read == 0 && !fail_on_eof)
270 bytes_to_read, amt_read);
768 size_t amt_read;
814 amt_read = fread(&total_length, 1, sizeof(total_length), fp);
815 if (amt_read < sizeof(total_length)) {
829 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp);
830 if (amt_read < sizeof(byte_order_magic)) {