Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DZipFile.c256 jbyteArray jba = NULL; in ZipFile_getCommentBytes() local
259 if ((jba = (*env)->NewByteArray(env, zip->clen)) == NULL) in ZipFile_getCommentBytes()
261 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes()
263 return jba; in ZipFile_getCommentBytes()
271 jbyteArray jba = NULL; in ZipFile_getEntryBytes() local
276 if (len == 0 || (jba = (*env)->NewByteArray(env, len)) == NULL) in ZipFile_getEntryBytes()
278 (*env)->SetByteArrayRegion(env, jba, 0, len, (jbyte *)ze->name); in ZipFile_getEntryBytes()
285 if (len <= 0 || (jba = (*env)->NewByteArray(env, len)) == NULL) in ZipFile_getEntryBytes()
287 (*env)->SetByteArrayRegion(env, jba, 0, len, &ze->extra[2]); in ZipFile_getEntryBytes()
293 if (len == 0 || (jba = (*env)->NewByteArray(env, len)) == NULL) in ZipFile_getEntryBytes()
[all …]