Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c1024 jint nlen, elen, clen; in newEntry() local
1047 elen = CENEXT(cen); in newEntry()
1060 if (elen > 0) { in newEntry()
1064 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; in newEntry()
1065 ze->extra[0] = (unsigned char) elen; in newEntry()
1066 ze->extra[1] = (unsigned char) (elen >> 8); in newEntry()
1067 memcpy(ze->extra+2, extra, elen); in newEntry()
1071 while ((off + 4) < elen) { // spec: HeaderID+DataSize+Data in newEntry()
1077 if (sz < 8 || (off + 8) > elen) in newEntry()
1084 if (sz < 8 || (off + 8) > elen) in newEntry()
[all …]
/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java376 int elen = (e.extra != null) ? e.extra.length : 0; in writeLOC() local
406 elen += 20; //headid(2) + size(2) + size(8) + csize(8) in writeLOC()
414 writeShort(elen); in writeLOC()