Lines Matching refs:len
205 unsigned long ZEXPORT crc32(crc, buf, len) in crc32() argument
208 uInt len;
223 return crc32_little(crc, buf, len);
225 return crc32_big(crc, buf, len);
229 while (len >= 8) {
231 len -= 8;
233 if (len) do {
235 } while (--len);
248 local unsigned long crc32_little(crc, buf, len) in crc32_little() argument
251 unsigned len;
258 while (len && ((ptrdiff_t)buf & 3)) {
260 len--;
264 while (len >= 32) {
266 len -= 32;
268 while (len >= 4) {
270 len -= 4;
274 if (len) do {
276 } while (--len);
288 local unsigned long crc32_big(crc, buf, len) in crc32_big() argument
291 unsigned len;
298 while (len && ((ptrdiff_t)buf & 3)) {
300 len--;
305 while (len >= 32) {
307 len -= 32;
309 while (len >= 4) {
311 len -= 4;
316 if (len) do {
318 } while (--len);