Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java391 int elen = getExtraLen(e.extra); in writeLOC() local
418 elen += 20; //headid(2) + size(2) + size(8) + csize(8) in writeLOC()
442 elen += (elenEXTT + 5); // headid(2) + size(2) + flag(1) + data in writeLOC()
443 writeShort(elen); in writeLOC()
527 int elen = getExtraLen(e.extra); in writeCEN() local
529 elen += (elenZIP64 + 4);// + headid(2) + datasize(2) in writeCEN()
535 elen += 4; // + mtime(4) in writeCEN()
545 elen += 5; // headid + sz + flag in writeCEN()
547 writeShort(elen); in writeCEN()
/libcore/ojluni/src/main/native/
Dzip_util.c1029 jint nlen, elen, clen; in newEntry() local
1052 elen = CENEXT(cen); in newEntry()
1066 if (elen > 0) { in newEntry()
1070 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; in newEntry()
1071 ze->extra[0] = (unsigned char) elen; in newEntry()
1072 ze->extra[1] = (unsigned char) (elen >> 8); in newEntry()
1073 memcpy(ze->extra+2, extra, elen); in newEntry()
1077 while ((off + 4) < elen) { // spec: HeaderID+DataSize+Data in newEntry()
1083 if (sz < 8 || (off + 8) > elen) in newEntry()
1090 if (sz < 8 || (off + 8) > elen) in newEntry()
[all …]
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java2979 int elen = exp.length; in oddModPow() local
2987 elen--; in oddModPow()
3015 if (elen != 0) { in oddModPow()
3021 elen--; in oddModPow()