Lines Matching refs:len
247 unsigned long ZEXPORT z_crc32(crc, buf, len)
250 unsigned len;
265 return crc32_little(crc, buf, len);
267 return crc32_big(crc, buf, len);
271 while (len >= 8) {
273 len -= 8;
275 if (len) do {
277 } while (--len);
290 local unsigned long crc32_little(crc, buf, len)
293 unsigned len;
300 while (len && ((ptrdiff_t)buf & 3)) {
302 len--;
306 while (len >= 32) {
308 len -= 32;
310 while (len >= 4) {
312 len -= 4;
316 if (len) do {
318 } while (--len);
330 local unsigned long crc32_big(crc, buf, len)
333 unsigned len;
340 while (len && ((ptrdiff_t)buf & 3)) {
342 len--;
347 while (len >= 32) {
349 len -= 32;
351 while (len >= 4) {
353 len -= 4;
358 if (len) do {
360 } while (--len);