Lines Matching refs:len
202 unsigned long ZEXPORT crc32_z(crc, buf, len) in crc32_z() argument
205 z_size_t len;
220 return crc32_little(crc, buf, len);
222 return crc32_big(crc, buf, len);
226 while (len >= 8) {
228 len -= 8;
230 if (len) do {
232 } while (--len);
237 unsigned long ZEXPORT crc32(crc, buf, len) in crc32() argument
240 uInt len;
242 return crc32_z(crc, buf, len);
266 local unsigned long crc32_little(crc, buf, len) in crc32_little() argument
269 z_size_t len;
276 while (len && ((ptrdiff_t)buf & 3)) {
278 len--;
282 while (len >= 32) {
284 len -= 32;
286 while (len >= 4) {
288 len -= 4;
292 if (len) do {
294 } while (--len);
306 local unsigned long crc32_big(crc, buf, len) in crc32_big() argument
309 z_size_t len;
316 while (len && ((ptrdiff_t)buf & 3)) {
318 len--;
322 while (len >= 32) {
324 len -= 32;
326 while (len >= 4) {
328 len -= 4;
332 if (len) do {
334 } while (--len);