/dalvik/libdex/ |
ZipArchive.c | 59 * want to adjust the hash table index by a fixed amount. Using a large 66 * Convert a ZipEntry to a hash table index, verifying that it's in a 82 * Simple string hash function for non-null-terminated strings. 86 unsigned int hash = 0; local 89 hash = hash * 31 + *str++; 91 return hash; 95 * Add a new entry to the hash table. 98 unsigned int hash) 101 int ent = hash & (hashTableSize - 1) 229 unsigned int hash; local 252 addToHash(pArchive, (const char*)ptr + kCDELen, fileNameLen, hash); local 376 unsigned int hash = computeHash(entryName, nameLen); local [all...] |
/external/e2fsprogs/e2fsck/ |
rehash.c | 2 * rehash.c --- rebuild hash tree directories 67 ext2_dirhash_t hash; member in struct:hash_entry 153 ent->hash = ent->minor_hash = 0; 158 &ent->hash, &ent->minor_hash); 167 /* Used for sorting the hash entry */ 176 /* Used for sorting the hash entry */ 200 /* Used for sorting the hash entry */ 207 if (he_a->hash > he_b->hash) 209 else if (he_a->hash < he_b->hash [all...] |
/frameworks/base/libs/utils/ |
ZipFileRO.cpp | 65 * 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 = 0 local 310 unsigned int hash = computeHash(fileName, nameLen); local [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
AllPermission.java | 80 * Returns the hash code value for this {@code AllPermission}. Returns the 81 * same hash code for {@code AllPermission}s that are equal to each other as 84 * @return the hash code value for this {@code AllPermission}.
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
IndexedPKIXParameters.java | 147 final int hash; field in class:IndexedPKIXParameters.Bytes 150 this.hash = Arrays.hashCode(bytes); 153 return hash;
|
/external/bluetooth/glib/gio/ |
glocalvfs.c | 94 char *stripped_uri, *hash; local 99 hash = strchr (stripped_uri, '#'); 100 *hash = 0;
|
/external/dropbear/libtomcrypt/src/hashes/ |
md5.c | 16 MD5 hash function by Tom St Denis 229 Initialize the hash state 230 @param md The hash state you wish to initialize 246 Process a block of memory though the hash 247 @param md The hash state 248 @param in The data to hash 255 Terminate the hash to get the digest 256 @param md The hash state 257 @param out [out] The destination of the hash (16 bytes) 310 Self-test the hash [all...] |
/external/dropbear/libtomcrypt/src/hashes/whirl/ |
whirl.c | 14 WHIRLPOOL (using their new sbox) hash function by Tom St Denis 124 Initialize the hash state 125 @param md The hash state you wish to initialize 136 Process a block of memory though the hash 137 @param md The hash state 138 @param in The data to hash 145 Terminate the hash to get the digest 146 @param md The hash state 147 @param out [out] The destination of the hash (64 bytes) 199 Self-test the hash [all...] |
/external/dropbear/ |
svr-kex.c | 42 * calculating a session key reply value, and corresponding hash. These 70 * that, the session hash is calculated, and signed with RSA or DSS. The 99 ses.newkeys->algo_hostkey, ses.hash, SHA1_HASH_SIZE);
|
/external/elfutils/libdw/ |
dwarf_getabbrev.c | 63 /* Check whether this code is already in the hash table. */ 85 /* If there is already a value in the hash table we are going to 109 /* Add the entry to the hash table. */
|
/external/guava/src/com/google/common/collect/ |
MapDifference.java | 73 * Returns the hash code for this instance. This is defined as the hash code 104 * The hash code equals the value
|
/external/libxml2/include/libxml/ |
entities.h | 35 * and the linkind data needed for the linking in the hash table. 65 * All entities are stored in an hash table. 66 * There is 2 separate hash tables for global and parameter entities.
|
/external/stlport/src/ |
message_facets.h | 43 typedef hash_map<nl_catd_type, locale, hash<nl_catd_type>, equal_to<nl_catd_type>, 78 typedef hash_map<messages_base::catalog, nl_catd_type, hash<messages_base::catalog>, equal_to<messages_base::catalog>, 80 typedef hash_map<nl_catd_type, messages_base::catalog, hash<nl_catd_type>, equal_to<nl_catd_type>,
|
/external/webkit/LayoutTests/storage/ |
hash-change-with-xhr.html | 3 <title>Hash Change with an Open XHR should not stop database transactions</title> 113 log('Changing the hash to create history entries.'); 115 location.hash = i;
|
/external/webkit/WebCore/platform/graphics/win/ |
FontPlatformData.h | 91 unsigned hash() const function in class:WebCore::FontPlatformData 93 return m_font->hash(); 123 unsigned hash() const function in class:WebCore::FontPlatformData::RefCountedHFONT
|
/external/webkit/WebCore/platform/network/ |
HTTPHeaderMap.cpp | 65 static unsigned hash(const char* cString) function in struct:WebCore::CaseFoldingCStringTranslator 67 return CaseFoldingHash::hash(cString, strlen(cString)); 75 static void translate(AtomicString& location, const char* cString, unsigned /*hash*/)
|
/external/webkit/WebKitTools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 85 unsigned char hash[16];
local 86 MD5_Final(hash, &md5Context);
90 snprintf(hashString, 33, "%s%02x", hashString, hash[i]);
|
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
PixelDumpSupportCG.cpp | 101 unsigned char hash[16]; local 102 MD5_Final(hash, &md5Context); 106 snprintf(hashString, 33, "%s%02x", hashString, hash[i]);
|
/external/wpa_supplicant/ |
crypto_cryptoapi.c | 133 HCRYPTHASH hash; local 143 if (!CryptCreateHash(prov, alg, 0, 0, &hash)) { 150 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) { 152 CryptDestroyHash(hash); 158 if (!CryptGetHashParam(hash, HP_HASHVAL, mac, &hlen, 0)) { 163 CryptDestroyHash(hash); 373 HCRYPTHASH hash; member in struct:crypto_hash 444 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) { 466 if (!CryptSetHashParam(ctx->hash, HP_HMAC_INFO, (BYTE *) &info, 469 CryptDestroyHash(ctx->hash); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_common.c | 49 u8 hash[SHA1_MAC_LEN]; local 56 hmac_sha1(key, 16, buf, len, hash); 57 os_memcpy(mic, hash, MD5_MAC_LEN); 420 u8 *pos, r0_key_data[48], hash[32]; local 458 sha256_vector(2, addr, len, hash); 459 os_memcpy(pmk_r0_name, hash, WPA_PMK_NAME_LEN); 471 u8 hash[32]; local 488 sha256_vector(4, addr, len, hash); 489 os_memcpy(pmk_r1_name, hash, WPA_PMK_NAME_LEN); 529 u8 *pos, hash[32] local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_cryptoapi.c | 118 HCRYPTHASH hash; local 128 if (!CryptCreateHash(prov, alg, 0, 0, &hash)) { 135 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) { 137 CryptDestroyHash(hash); 143 if (!CryptGetHashParam(hash, HP_HASHVAL, mac, &hlen, 0)) { 148 CryptDestroyHash(hash); 358 HCRYPTHASH hash; member in struct:crypto_hash 429 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) { 451 if (!CryptSetHashParam(ctx->hash, HP_HMAC_INFO, (BYTE *) &info, 454 CryptDestroyHash(ctx->hash); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_md5.c | 109 u8 hash[CHAP_MD5_LEN], id; local 128 data->challenge, CHALLENGE_LEN, hash); 130 if (os_memcmp(hash, pos, CHAP_MD5_LEN) == 0) {
|
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
siteHash.h | 35 * \brief Hash & site table internal header file 43 /* PURPOSE: Hash & site table internal header file */ 59 and data used to manage the site table and hash table */
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageList.java | 48 HashMap<String, String> hash = new HashMap<String, String>(); local 50 hash.put(cursor.getString(1), cursor.getString(0)); 52 return hash;
|
VideoList.java | 92 HashMap<String, String> hash = new HashMap<String, String>(); local 94 hash.put(c.getString(1), c.getString(0)); 96 return hash;
|