HomeSort by relevance Sort by last modified time
    Searched refs:ze (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/test/java/libcore/java/util/zip/
AbstractZipFileTest.java 163 ZipEntry ze = zip.getEntry(name); local
164 ze.setCompressedSize(expectedLength - 1);
166 InputStream stream = zip.getInputStream(ze);
230 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); local
232 ze.setSize(entrySize);
234 out.putNextEntry(ze);
267 ZipEntry ze = new ZipEntry("a"); local
268 ze.setMethod(ZipEntry.STORED);
269 out.putNextEntry(ze);
276 ZipEntry ze = new ZipEntry("a") local
286 ZipEntry ze = new ZipEntry("a"); local
297 ZipEntry ze = new ZipEntry("a"); local
307 ZipEntry ze = new ZipEntry("okay1"); local
327 ZipEntry ze = new ZipEntry("okay2"); local
347 ZipEntry ze = new ZipEntry("a"); local
358 ZipEntry ze = new ZipEntry("okay"); local
397 ZipEntry ze = new ZipEntry("a"); local
429 ZipEntry ze = new ZipEntry("test entry"); local
460 ZipEntry ze = new ZipEntry("test"); local
532 ZipEntry ze = new ZipEntry(entryName); local
545 ZipEntry ze = entries.nextElement(); local
    [all...]
ZipEntryTest.java 142 ZipEntry ze = new ZipEntry("x"); local
144 ze.setExtra(tooLongExtra);
155 ZipEntry ze = new ZipEntry("x"); local
156 ze.setSize(0);
157 ze.setTime(ENTRY_TIME);
158 ze.setExtra(maxLengthExtra);
159 out.putNextEntry(ze);
192 ZipEntry ze = new ZipEntry("x"); local
193 ze.setSize(0);
194 ze.setTime(time)
230 ZipEntry ze = new ZipEntry("x"); local
243 ZipEntry ze = new ZipEntry("x"); local
263 ZipEntry ze = new ZipEntry("x"); local
    [all...]
Zip64FileTest.java 47 ZipEntry ze = entries.nextElement(); local
48 assertEquals(2, ze.getSize());
51 is = zf.getInputStream(ze);
74 ZipEntry ze = entries.nextElement(); local
75 assertEquals(1073741824L, ze.getSize());
97 ZipEntry ze = entries.nextElement(); local
98 assertEquals(4294967410L, ze.getSize());
  /frameworks/base/libs/androidfw/
ZipFileRO.cpp 121 const ZipEntry& ze = zipEntry->entry; local
124 *pMethod = ze.method;
127 *pUncompLen = ze.uncompressed_length;
130 *pCompLen = ze.compressed_length;
133 *pOffset = ze.offset;
136 *pModWhen = ze.mod_time;
139 *pCrc32 = ze.crc32;
151 _ZipEntryRO* ze = new _ZipEntryRO; local
154 int32_t error = StartIteration(mHandle, &(ze->cookie),
160 delete ze;
170 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); local
219 const ZipEntry& ze = zipEntry->entry; local
    [all...]
  /frameworks/base/core/java/android/util/jar/
StrictJarFile.java 164 public Certificate[][] getCertificateChains(ZipEntry ze) {
166 return verifier.getCertificateChains(ze.getName());
183 public Certificate[] getCertificates(ZipEntry ze) {
185 Certificate[][] certChains = verifier.getCertificateChains(ze.getName());
207 public InputStream getInputStream(ZipEntry ze) {
208 final InputStream is = getZipInputStream(ze);
211 StrictJarVerifier.VerifierEntry entry = verifier.initEntry(ze.getName());
216 return new JarFileInputStream(is, ze.getSize(), entry);
246 private InputStream getZipInputStream(ZipEntry ze) {
247 if (ze.getMethod() == ZipEntry.STORED)
269 final ZipEntry ze = nextEntry; local
282 final ZipEntry ze = nativeNextEntry(iterationHandle); local
    [all...]
  /libcore/ojluni/src/main/native/
java_util_zip_ZipFile.c 173 jzentry *ze; local
186 ze = ZIP_GetEntry2(zip, path, (jint)ulen, addSlash);
190 return ptr_to_jlong(ze);
198 jzentry *ze = jlong_to_ptr(zentry); local
199 ZIP_FreeEntry(zip, ze);
206 jzentry *ze = ZIP_GetNextEntry(jlong_to_ptr(zfile), n); local
207 return ptr_to_jlong(ze);
213 jzentry *ze = jlong_to_ptr(zentry); local
214 return ze->csize != 0 ? DEFLATED : STORED;
220 jzentry *ze = jlong_to_ptr(zentry) local
227 jzentry *ze = jlong_to_ptr(zentry); local
234 jzentry *ze = jlong_to_ptr(zentry); local
241 jzentry *ze = jlong_to_ptr(zentry); local
248 jzentry *ze = jlong_to_ptr(zentry); local
269 jzentry *ze = jlong_to_ptr(zentry); local
    [all...]
zip_util.c 1028 jzentry *ze; local
1031 if ((ze = (jzentry *) malloc(sizeof(jzentry))) == NULL) return NULL;
1032 ze->name = NULL;
1033 ze->extra = NULL;
1034 ze->comment = NULL;
1052 ze->time = CENTIM(cen);
1053 ze->size = CENLEN(cen);
1054 ze->csize = (CENHOW(cen) == STORED) ? 0 : CENSIZ(cen);
1055 ze->crc = CENCRC(cen);
1057 ze->pos = -(zip->locpos + locoff)
1190 jzentry *ze = 0; local
    [all...]
  /external/annotation-tools/asmx/src/org/objectweb/asm/optimizer/
JarOptimizer.java 66 ZipEntry ze = (ZipEntry) e.nextElement(); local
67 if (ze.isDirectory()) {
70 out.putNextEntry(ze);
71 InputStream is = zf.getInputStream(ze);
  /libcore/ojluni/src/main/java/java/util/jar/
JarOutputStream.java 85 * @param ze the ZIP/JAR entry to be written
89 public void putNextEntry(ZipEntry ze) throws IOException {
93 byte[] edata = ze.getExtra();
105 ze.setExtra(edata);
109 super.putNextEntry(ze);
JarFile.java 231 ZipEntry ze = super.getEntry(name); local
232 if (ze != null) {
233 return new JarFileEntry(ze);
248 ZipEntry ze = e.nextElement(); local
249 return new JarFileEntry(ze);
277 JarFileEntry(ZipEntry ze) {
278 super(ze);
414 private byte[] getBytes(ZipEntry ze) throws IOException {
415 try (InputStream is = super.getInputStream(ze)) {
416 return IOUtils.readFully(is, (int)ze.getSize(), true)
    [all...]
JarEntry.java 58 * @param ze the <code>ZipEntry</code> object to create the
61 public JarEntry(ZipEntry ze) {
62 super(ze);
  /cts/tests/tests/util/src/android/util/cts/
StrictJarFileTest.java 121 final ZipEntry ze = it.next(); local
122 entries.put(ze.getName(), ze); local
129 ZipEntry ze = entries.get("META-INF/MANIFEST.MF"); local
130 assertEquals(62, ze.getSize());
131 assertEquals(ZipEntry.DEFLATED, ze.getMethod());
132 assertEquals(61, ze.getCompressedSize());
135 ze = entries.get("Blah.txt");
136 assertEquals(4, ze.getSize());
137 assertEquals(ZipEntry.DEFLATED, ze.getMethod())
172 final ZipEntry ze = jarFile.findEntry("Blah.txt"); local
252 ZipEntry ze = jarFile.findEntry("Test.class"); local
284 ZipEntry ze = jarFile.findEntry("Test.class"); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
ZipOutputStreamTest.java 70 ZipEntry ze = new ZipEntry("testEntry"); local
71 ze.setTime(System.currentTimeMillis());
72 zos.putNextEntry(ze);
76 ze.getSize() == 11 && ze.getCompressedSize() == 13);
84 ZipEntry ze = new ZipEntry("test"); local
85 zos.putNextEntry(ze);
88 assertEquals("Finish failed to closeCurrentEntry", 11, ze.getSize());
106 ZipEntry ze = new ZipEntry("testEntry"); local
107 ze.setTime(System.currentTimeMillis())
150 ZipEntry ze = new ZipEntry("test"); local
166 ZipEntry ze = new ZipEntry("test"); local
191 ZipEntry ze = new ZipEntry("test"); local
    [all...]
  /external/turbine/java/com/google/turbine/binder/
ClassPathBinder.java 96 for (Zip.Entry ze : new Zip.ZipIterable(path)) {
97 String name = ze.name();
110 return new BytecodeBoundClass(sym, toByteArrayOrDie(ze), benv, path.toString());
117 env.put(sym, new BytecodeBoundClass(sym, toByteArrayOrDie(ze), benv, path.toString()));
123 private static Supplier<byte[]> toByteArrayOrDie(Zip.Entry ze) {
128 return ze.data();
  /libcore/benchmarks/src/benchmarks/
ZipFileBenchmark.java 64 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); local
65 ze.setSize(entrySize);
66 out.putNextEntry(ze);
ZipFileReadBenchmark.java 57 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); local
58 ze.setSize(entrySize);
59 out.putNextEntry(ze);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarOutputStreamTest.java 71 ZipEntry ze = new ZipEntry("Test"); local
75 joutFoo.putNextEntry(ze);
85 joutFoo.putNextEntry(ze);
  /external/annotation-tools/asmx/src/org/objectweb/asm/xml/
Processor.java 201 ZipEntry ze = null; local
202 while ((ze = zis.getNextEntry()) != null) {
203 update(ze.getName(), n++);
204 if (isClassEntry(ze)) {
205 processEntry(zis, ze, inDocHandlerFactory);
207 OutputStream os = entryElement.openEntry(getName(ze));
240 private boolean isClassEntry(ZipEntry ze) {
241 String name = ze.getName();
248 ZipEntry ze,
256 // ClassReader cr = new ClassReader(readEntry(zis, ze));
    [all...]
  /build/soong/zip/
zip.go 532 ze := &zipEntry{
536 ze.allocatedSize = int64(header.UncompressedSize64)
538 z.memoryRateLimiter.Request(ze.allocatedSize)
550 ze.futureReaders = make(chan chan io.Reader, (fileSize/parallelBlockSize)+1)
560 go z.crcFile(r, ze, compressChan, wg)
565 ze.futureReaders <- resultChan
582 close(ze.futureReaders)
591 z.compressWholeFile(ze, r, compressChan)
599 func (z *ZipWriter) crcFile(r io.Reader, ze *zipEntry, resultChan chan *zipEntry, wg *sync.WaitGroup) {
610 ze.fh.CRC32 = crc.Sum32(
    [all...]
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
TestUtils.java 67 ZipEntry ze = zis.getNextEntry(); local
69 while (ze != null) {
70 final Path newFile = outputFolder.resolve(ze.getName());
72 if (ze.isDirectory()) {
85 ze = zis.getNextEntry();
  /libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
URLJarFile.java 131 ZipEntry ze = super.getEntry(name); local
132 if (ze != null) {
133 if (ze instanceof JarEntry)
134 return new URLJarFileEntry((JarEntry)ze);
138 ze.getClass());
  /external/turbine/java/com/google/turbine/main/
Main.java 108 for (Zip.Entry ze : new Zip.ZipIterable(Paths.get(sourceJar))) {
109 if (ze.name().endsWith(".java")) {
110 String name = ze.name();
116 String source = new String(ze.data(), UTF_8);
  /tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
ExtraFieldTest.java 119 ZipEntry ze = new ZipEntry("foo"); local
120 ze.setExtra(extraField);
121 zos.putNextEntry(ze);
165 ZipEntry ze = new ZipEntry("foo"); local
167 ze.setExtra(extraField);
168 zos.putNextEntry(ze);
  /build/soong/cmd/merge_zips/
merge_zips.go 158 func (ze zipEntry) String() string {
159 return ze.path.String()
162 func (ze zipEntry) IsDir() bool {
163 return ze.content.FileInfo().IsDir()
166 func (ze zipEntry) CRC32() uint32 {
167 return ze.content.FileHeader.CRC32
170 func (ze zipEntry) WriteToZip(dest string, zw *zip.Writer) error {
171 return zw.CopyFrom(ze.content, dest)
  /cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
InstallDexMetadataHostTest.java 230 for (ZipEntry ze; (ze = in.getNextEntry()) != null; ) {
231 if (!"primary.prof".equals(ze.getName())) {

Completed in 1383 milliseconds

1 2 3 4 5 6