Lines Matching refs:olen
17 u_long ilen, olen; in rfc1950_inflate() local
23 origsiz > ULONG_MAX || (olen = (u_long)origsiz) > BOUND) { in rfc1950_inflate()
29 if ((out->ptr = calloc(1, olen)) == NULL) in rfc1950_inflate()
31 out->len = olen; in rfc1950_inflate()
33 if ((z = uncompress(out->ptr, &olen, in->ptr, ilen)) != Z_OK || in rfc1950_inflate()
34 olen > SIZE_MAX || olen != out->len) { in rfc1950_inflate()
36 __func__, z, olen, out->len); in rfc1950_inflate()
49 u_int ilen, olen; in rfc1951_inflate() local
56 origsiz > UINT_MAX || (olen = (u_int)origsiz) > BOUND) { in rfc1951_inflate()
66 if ((out->ptr = calloc(1, olen)) == NULL) { in rfc1951_inflate()
70 out->len = olen; in rfc1951_inflate()
74 zs.avail_out = olen; in rfc1951_inflate()
104 u_int ilen, olen; in rfc1951_deflate() local
120 olen = BOUND; in rfc1951_deflate()
121 if ((out->ptr = calloc(1, olen)) == NULL) { in rfc1951_deflate()
125 out->len = olen; in rfc1951_deflate()
129 zs.avail_out = olen; in rfc1951_deflate()