Searched refs:zis (Results 1 – 3 of 3) sorted by relevance
99 try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(badZipBytes))) { in zipInputStreamGetNextEntry_whenZipFileHasDangerousEntriesAndChangeEnabled_throws() argument104 zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasDangerousEntriesAndChangeEnabled_throws()136 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(zipBytes)); in zipInputStreamGetNextEntry_whenZipFileHasNormalEntriesAndChangeEnabled_doesNotThrow() local137 ZipEntry zipEntry = zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasNormalEntriesAndChangeEnabled_doesNotThrow()187 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(zipBytes)); in zipInputStreamGetNextEntry_whenZipFileHasNormalAndDangerousEntriesAndChangeDisabled_doesNotThrow() local188 ZipEntry zipEntry = zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasNormalAndDangerousEntriesAndChangeDisabled_doesNotThrow()
157 try (ZipInputStream zis = new ZipInputStream( in unZipMaliciousImageFile() argument162 while ((ze = zis.getNextEntry()) != null) { in unZipMaliciousImageFile()169 while ((count = zis.read(buffer)) != -1) { in unZipMaliciousImageFile()
244 ZipInputStream(context.assets.open(name)).use { zis -> in <lambda>() method246 val entry = zis.nextEntry ?: break in <lambda>()254 var b = zis.read() in <lambda>()257 b = zis.read() in <lambda>()