Searched defs:hash (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/sax/java/android/sax/
H A DChildren.java31 int hash = uri.hashCode() * 31 + localName.hashCode();
32 int index = hash & 15;
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
44 if (current.hash == hash
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
66 int hash = uri.hashCode() * 31 + localName.hashCode();
67 int index = hash & 15;
74 if (current.hash == hash
88 final int hash; field in class:Children.Child
91 Child(Element parent, String uri, String localName, int depth, int hash) argument
[all...]
/frameworks/base/libs/utils/
H A DZipFileRO.cpp65 * want to adjust the hash table index by a fixed amount. Using a large
72 * Convert a ZipEntryRO to a hash table index, verifying that it's in a
213 * Create hash table. We have a minimum 75% load factor, possibly as
221 * Walk through the central directory, adding entries to the hash
228 unsigned int hash; local
249 /* add the CDE filename to the hash table */
250 hash = computeHash((const char*)ptr + kCDELen, fileNameLen);
251 addToHash((const char*)ptr + kCDELen, fileNameLen, hash);
273 * Simple string hash function for non-null-terminated strings.
277 unsigned int hash local
288 addToHash(const char* str, int strLen, unsigned int hash) argument
310 unsigned int hash = computeHash(fileName, nameLen); local
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dustring.cpp414 /// Returns a hash value for [first, last)
415 /*static*/ hashvalue_t string::hash (const char* first, const char* last) function in class:ustl::string

Completed in 105 milliseconds