Lines Matching full:num_bytes
78 int num_bytes = 0;
81 num_bytes = unzReadCurrentFile(zip_file, buf, kZipBufSize);
82 if (num_bytes < 0) {
83 // If num_bytes < 0, then it's a specific UNZ_* error code.
86 err = num_bytes;
89 if (num_bytes > 0) {
90 if (num_bytes != stream.Write(buf, num_bytes, NULL)) {
95 } while (num_bytes > 0);
213 int num_bytes;
216 num_bytes = stream.Read(buf, kZipBufSize, NULL);
217 if (num_bytes > 0) {
218 if (ZIP_OK != zipWriteInFileInZip(zip_file, buf, num_bytes)) {
224 } while (num_bytes > 0);