Searched refs:strm (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | Deflater.c | 67 z_stream *strm = calloc(1, sizeof(z_stream)); in Deflater_init() local 69 if (strm == 0) { in Deflater_init() 74 int ret = deflateInit2(strm, level, Z_DEFLATED, in Deflater_init() 79 return ptr_to_jlong(strm); in Deflater_init() 81 free(strm); in Deflater_init() 85 free(strm); in Deflater_init() 89 msg = ((strm->msg != NULL) ? strm->msg : in Deflater_init() 94 free(strm); in Deflater_init() 128 z_stream *strm = jlong_to_ptr(addr); in Deflater_deflateBytes() local 154 strm->next_in = (Bytef *) (in_buf + this_off); in Deflater_deflateBytes() [all …]
|
D | Inflater.c | 63 z_stream *strm = calloc(1, sizeof(z_stream)); in Inflater_init() local 65 if (strm == NULL) { in Inflater_init() 70 int ret = inflateInit2(strm, nowrap ? -MAX_WBITS : MAX_WBITS); in Inflater_init() 73 return ptr_to_jlong(strm); in Inflater_init() 75 free(strm); in Inflater_init() 79 msg = ((strm->msg != NULL) ? strm->msg : in Inflater_init() 86 free(strm); in Inflater_init() 120 z_stream *strm = jlong_to_ptr(addr); in Inflater_inflateBytes() local 142 strm->next_in = (Bytef *) (in_buf + this_off); in Inflater_inflateBytes() 143 strm->next_out = (Bytef *) (out_buf + off); in Inflater_inflateBytes() [all …]
|
D | zip_util.c | 1422 z_stream strm; in InflateFully() local 1434 memset(&strm, 0, sizeof(z_stream)); in InflateFully() 1435 if (inflateInit2(&strm, -MAX_WBITS) != Z_OK) { in InflateFully() 1436 *msg = strm.msg; in InflateFully() 1440 strm.next_out = buf; in InflateFully() 1441 strm.avail_out = (uInt)entry->size; in InflateFully() 1452 inflateEnd(&strm); in InflateFully() 1457 strm.next_in = (Bytef *)tmp; in InflateFully() 1458 strm.avail_in = n; in InflateFully() 1460 switch (inflate(&strm, Z_PARTIAL_FLUSH)) { in InflateFully() [all …]
|