Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c597 jint total, tablelen, i, j; in readCEN() local
709 tablelen = zip->tablelen = ((total/2) | 1); // Odd -> fewer collisions in readCEN()
710 table = zip->table = malloc(tablelen * sizeof(table[0])); in readCEN()
715 for (j = 0; j < tablelen; j++) in readCEN()
780 hsh = entries[i].hash % tablelen; in readCEN()
1282 idx = zip->table[hsh % zip->tablelen]; in ZIP_GetEntry2()
1353 idx = zip->table[hsh % zip->tablelen]; in ZIP_GetEntry2()
Dzip_util.h231 jint tablelen; /* number of hash heads */ member
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java1284 int hsh = (hash & 0x7fffffff) % tablelen; in checkAndAddEntry()
1303 private int tablelen; // number of hash heads field in ZipFile.Source
1640 int tablelen = ((total/2) | 1); // Odd -> fewer collisions in initCEN() local
1641 this.tablelen = tablelen; in initCEN()
1643 int[] table = new int[tablelen]; in initCEN()
1771 int idx = table[(hsh & 0x7fffffff) % tablelen]; in getEntryPos()