Home
last modified time | relevance | path

Searched refs:size_read (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/zlib/contrib/minizip/
Dminizip.c177 unsigned long size_read = 0; in getFileCrc() local
188 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
189 if (size_read < size_buf) in getFileCrc()
196 if (size_read>0) in getFileCrc()
197 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
198 total_read += size_read; in getFileCrc()
200 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
386 int size_read; local
462 size_read = (int)fread(buf,1,size_buf,fin);
463 if (size_read < size_buf)
[all …]
/external/zlib/src/contrib/minizip/
Dminizip.c191 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)
[all …]
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dvalidation_unittest.cc95 size_t size_read = fread(&result->at(0), 1, size, fp); in ReadFile() local
97 return size == size_read; in ReadFile()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dheader.c2992 ssize_t size_read, padding, size = event->tracing_data.size; in perf_event__process_tracing_data() local
3000 size_read = trace_report(session->fd, &session->pevent, in perf_event__process_tracing_data()
3002 padding = PERF_ALIGN(size_read, sizeof(u64)) - size_read; in perf_event__process_tracing_data()
3016 if (size_read + padding != size) { in perf_event__process_tracing_data()
3024 return size_read + padding; in perf_event__process_tracing_data()