Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java405 int elen = getExtraLen(e.extra); in writeLOC() local
432 elen += 20; //headid(2) + size(2) + size(8) + csize(8) in writeLOC()
466 elen += 36; // NTFS time, total 36 bytes in writeLOC()
468 elen += (elenEXTT + 5); // headid(2) + size(2) + flag(1) + data in writeLOC()
471 writeShort(elen); in writeLOC()
580 int elen = getExtraLen(e.extra); in writeCEN() local
582 elen += (elenZIP64 + 4);// + headid(2) + datasize(2) in writeCEN()
607 elen += 36; // NTFS time total 36 bytes in writeCEN()
609 elen += 5; // headid(2) + sz(2) + flag(1) in writeCEN()
611 elen += 4; // + mtime (4) in writeCEN()
[all …]
DZipFile.java686 int elen = CENEXT(cen, pos); in getZipEntry() local
722 if (elen != 0) { in getZipEntry()
724 e.setExtra0(Arrays.copyOfRange(cen, start, start + elen), true, false); in getZipEntry()
727 int start = pos + CENHDR + nlen + elen; in getZipEntry()
/libcore/ojluni/src/main/native/
Dzip_util.c1112 jint nlen, elen, clen; in newEntry() local
1135 elen = CENEXT(cen); in newEntry()
1149 if (elen > 0) { in newEntry()
1153 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; in newEntry()
1154 ze->extra[0] = (unsigned char) elen; in newEntry()
1155 ze->extra[1] = (unsigned char) (elen >> 8); in newEntry()
1156 memcpy(ze->extra+2, extra, elen); in newEntry()
1160 while ((off + 4) < elen) { // spec: HeaderID+DataSize+Data in newEntry()
1166 if (sz < 8 || (off + 8) > elen) in newEntry()
1173 if (sz < 8 || (off + 8) > elen) in newEntry()
[all …]
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java3180 int elen = exp.length; in oddModPow() local
3188 elen--; in oddModPow()
3216 if (elen != 0) { in oddModPow()
3222 elen--; in oddModPow()