Lines Matching refs:len
224 unsigned long ZEXPORT crc32(crc, buf, len)
227 unsigned len;
242 return crc32_little(crc, buf, len);
244 return crc32_big(crc, buf, len);
248 while (len >= 8) {
250 len -= 8;
252 if (len) do {
254 } while (--len);
267 local unsigned long crc32_little(crc, buf, len)
270 unsigned len;
277 while (len && ((ptrdiff_t)buf & 3)) {
279 len--;
283 while (len >= 32) {
285 len -= 32;
287 while (len >= 4) {
289 len -= 4;
293 if (len) do {
295 } while (--len);
307 local unsigned long crc32_big(crc, buf, len)
310 unsigned len;
317 while (len && ((ptrdiff_t)buf & 3)) {
319 len--;
324 while (len >= 32) {
326 len -= 32;
328 while (len >= 4) {
330 len -= 4;
335 if (len) do {
337 } while (--len);