Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java132 int hsh = name.hashCode(); in hash() local
135 hsh = hsh * 31 + '/'; in hash()
137 return hsh; in hash()
DZipFile.java1284 int hsh = (hash & 0x7fffffff) % tablelen; in checkAndAddEntry() local
1285 int next = table[hsh]; in checkAndAddEntry()
1286 table[hsh] = index; in checkAndAddEntry()
1770 int hsh = ZipCoder.hash(name); in getEntryPos() local
1771 int idx = table[(hsh & 0x7fffffff) % tablelen]; in getEntryPos()
1776 if (getEntryHash(idx) == hsh) { in getEntryPos()
/libcore/ojluni/src/main/native/
Dzip_util.c724 unsigned int hsh; in readCEN() local
780 hsh = entries[i].hash % tablelen; in readCEN()
783 int chain = table[hsh]; in readCEN()
800 entries[i].next = table[hsh]; in readCEN()
801 table[hsh] = i; in readCEN()
1273 unsigned int hsh = hashN(name, ulen); in ZIP_GetEntry2() local
1282 idx = zip->table[hsh % zip->tablelen]; in ZIP_GetEntry2()
1309 if (zc->hash == hsh) { in ZIP_GetEntry2()
1352 hsh = hash_append(hsh, '/'); in ZIP_GetEntry2()
1353 idx = zip->table[hsh % zip->tablelen]; in ZIP_GetEntry2()