Lines Matching refs:size_read
191 unsigned long size_read = 0; in getFileCrc() local
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
203 if (size_read < size_buf) in getFileCrc()
210 if (size_read>0) in getFileCrc()
211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
212 total_read += size_read; in getFileCrc()
214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf)
483 if (size_read>0)
485 err = zipWriteInFileInZip (zf,buf,size_read);
493 } while ((err == ZIP_OK) && (size_read>0));