Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/native/
DDeflater.c133 jbyte *in_buf; in Deflater_deflateBytes() local
139 in_buf = (*env)->GetPrimitiveArrayCritical(env, this_buf, 0); in Deflater_deflateBytes()
140 if (in_buf == NULL) { in Deflater_deflateBytes()
148 (*env)->ReleasePrimitiveArrayCritical(env, this_buf, in_buf, 0); in Deflater_deflateBytes()
154 strm->next_in = (Bytef *) (in_buf + this_off); in Deflater_deflateBytes()
160 (*env)->ReleasePrimitiveArrayCritical(env, this_buf, in_buf, 0); in Deflater_deflateBytes()
178 in_buf = (*env)->GetPrimitiveArrayCritical(env, this_buf, 0); in Deflater_deflateBytes()
179 if (in_buf == NULL) { in Deflater_deflateBytes()
186 (*env)->ReleasePrimitiveArrayCritical(env, this_buf, in_buf, 0); in Deflater_deflateBytes()
193 strm->next_in = (Bytef *) (in_buf + this_off); in Deflater_deflateBytes()
[all …]
DInflater.c125 jbyte *in_buf; in Inflater_inflateBytes() local
129 in_buf = (*env)->GetPrimitiveArrayCritical(env, this_buf, 0); in Inflater_inflateBytes()
130 if (in_buf == NULL) { in Inflater_inflateBytes()
137 (*env)->ReleasePrimitiveArrayCritical(env, this_buf, in_buf, 0); in Inflater_inflateBytes()
142 strm->next_in = (Bytef *) (in_buf + this_off); in Inflater_inflateBytes()
148 (*env)->ReleasePrimitiveArrayCritical(env, this_buf, in_buf, 0); in Inflater_inflateBytes()