Lines Matching refs:read
164 size_t save = php_stream_tell(fp), read; in phar_tar_process_metadata() local
169 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
170 if (read != entry->uncompressed_filesize) { in phar_tar_process_metadata()
209 size_t pos = 0, read, totalsize; in phar_parse_tarfile() local
223 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
225 if (read != sizeof(buf)) { in phar_parse_tarfile()
288 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
289 if (read != size || read <= 8) { in phar_parse_tarfile()
328 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
330 if (read != sizeof(buf)) { in phar_parse_tarfile()
369 read = php_stream_read(fp, entry.filename, entry.filename_len); in phar_parse_tarfile()
370 if (read != entry.filename_len) { in phar_parse_tarfile()
396 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
398 if (read != sizeof(buf)) { in phar_parse_tarfile()
531 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
533 if (read == size) { in phar_parse_tarfile()
583 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
585 if (read != sizeof(buf)) { in phar_parse_tarfile()