Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 11 of 11) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/code/
DCatchTable.java132 int hash = (start * 31) + end; in hashCode() local
133 hash = (hash * 31) + handlers.hashCode(); in hashCode()
134 return hash; in hashCode()
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotation.java83 int hash = type.hashCode(); in hashCode() local
84 hash = (hash * 31) + elements.hashCode(); in hashCode()
85 hash = (hash * 31) + visibility.hashCode(); in hashCode()
86 return hash; in hashCode()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DCatchTable.java133 int hash = (start * 31) + end; in hashCode() local
134 hash = (hash * 31) + handlers.hashCode(); in hashCode()
135 return hash; in hashCode()
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DAnnotation.java92 int hash = type.hashCode(); in hashCode() local
93 hash = (hash * 31) + elements.hashCode(); in hashCode()
94 hash = (hash * 31) + visibility.hashCode(); in hashCode()
95 return hash; in hashCode()
/dalvik/libdex/
DDexFile.cpp165 u4 hash = 1; in classDescriptorHash() local
168 hash = hash * 31 + *str++; in classDescriptorHash()
170 return hash; in classDescriptorHash()
184 u4 hash = classDescriptorHash(classDescriptor); in classLookupAdd() local
186 int idx = hash & mask; in classLookupAdd()
200 pLookup->table[idx].classDescriptorHash = hash; in classLookupAdd()
445 u4 hash; in dexFindClass() local
448 hash = classDescriptorHash(descriptor); in dexFindClass()
450 idx = hash & mask; in dexFindClass()
462 if (pLookup->table[idx].classDescriptorHash == hash) { in dexFindClass()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java88 int hash = 0; in hashCode() local
93 hash = (hash * 31) + oneHash; in hashCode()
96 return hash; in hashCode()
DRegisterSpec.java280 int hash = (local != null) ? local.hashCode() : 0; in hashCodeOf() local
282 hash = (hash * 31 + type.hashCode()) * 31 + reg; in hashCodeOf()
283 return hash; in hashCodeOf()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java89 int hash = 0; in hashCode() local
94 hash = (hash * 31) + oneHash; in hashCode()
97 return hash; in hashCode()
DRegisterSpec.java274 int hash = (local != null) ? local.hashCode() : 0; in hashCodeOf() local
276 hash = (hash * 31 + type.hashCode()) * 31 + reg; in hashCodeOf()
277 return hash; in hashCodeOf()
/dalvik/dexgen/src/com/android/dexgen/rop/type/
DStdTypeList.java262 int hash = 0; in hashContents() local
265 hash = (hash * 31) + list.getType(i).hashCode(); in hashContents()
268 return hash; in hashContents()
/dalvik/dx/src/com/android/dx/rop/type/
DStdTypeList.java262 int hash = 0; in hashContents() local
265 hash = (hash * 31) + list.getType(i).hashCode(); in hashContents()
268 return hash; in hashContents()