/external/chromium_org/net/disk_cache/simple/ |
simple_util_unittest.cc | 48 uint64 hash_key = 0; local 49 EXPECT_TRUE(GetEntryHashKeyFromHexString("0000000005f5e0ff", &hash_key)); 50 EXPECT_EQ(GG_UINT64_C(99999999), hash_key); 52 EXPECT_TRUE(GetEntryHashKeyFromHexString("7ffffffffffffffF", &hash_key)); 53 EXPECT_EQ(GG_UINT64_C(9223372036854775807), hash_key); 55 EXPECT_TRUE(GetEntryHashKeyFromHexString("8000000000000000", &hash_key)); 56 EXPECT_EQ(GG_UINT64_C(9223372036854775808), hash_key); 58 EXPECT_TRUE(GetEntryHashKeyFromHexString("FFFFFFFFFFFFFFFF", &hash_key)); 59 EXPECT_EQ(GG_UINT64_C(18446744073709551615), hash_key); 62 EXPECT_FALSE(GetEntryHashKeyFromHexString("FFFFFFFFFFFFFFF", &hash_key)); [all...] |
simple_util.cc | 21 // Size of the uint64 hash_key number in Hex format in a string. 30 std::string ConvertEntryHashKeyToHexString(uint64 hash_key) { 31 const std::string hash_key_str = base::StringPrintf("%016" PRIx64, hash_key); 43 bool GetEntryHashKeyFromHexString(const base::StringPiece& hash_key, 45 if (hash_key.size() != kEntryHashKeyAsHexStringSize) { 48 return base::HexStringToUInt64(hash_key, hash_key_out);
|
simple_util.h | 23 NET_EXPORT_PRIVATE std::string ConvertEntryHashKeyToHexString(uint64 hash_key); 26 // Returns the Hex ascii representation of the uint64 hash_key. 34 // Parses the |hash_key| string into a uint64 buffer. 35 // |hash_key| string must be of the form: FFFFFFFFFFFFFFFF . 37 const base::StringPiece& hash_key,
|
simple_index_file.cc | 88 uint64 hash_key = 0; local 89 if (!simple_util::GetEntryHashKeyFromHexString(hash_string, &hash_key)) { 110 SimpleIndex::EntrySet::iterator it = entries->find(hash_key); 113 hash_key, 378 uint64 hash_key; local 380 if (!pickle_it.ReadUInt64(&hash_key) || 386 SimpleIndex::InsertInEntrySet(hash_key, entry_metadata, entries);
|
simple_index.cc | 207 const uint64 hash_key = simple_util::GetEntryHashKey(key); local 209 hash_key, EntryMetadata(base::Time::Now(), 0), &entries_set_); 211 removed_entries_.erase(hash_key); 217 const uint64 hash_key = simple_util::GetEntryHashKey(key); local 218 EntrySet::iterator it = entries_set_.find(hash_key); 225 removed_entries_.insert(hash_key); 321 uint64 hash_key, 325 entry_set->insert(std::make_pair(hash_key, entry_metadata));
|
simple_index_unittest.cc | 126 const uint64 hash_key = simple_util::GetEntryHashKey(key); local 127 SimpleIndex::EntrySet::iterator it = index_->entries_set_.find(hash_key); 137 uint64 hash_key(simple_util::GetEntryHashKey(key)); 139 hash_key, EntryMetadata(last_used_time, entry_size))); 550 uint64 hash_key(simple_util::GetEntryHashKey("key1")); 553 EXPECT_EQ(hash_key, entry_set.begin()->first);
|
simple_index.h | 105 static void InsertInEntrySet(uint64 hash_key, 164 // This stores all the hash_key of entries that are removed during
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/ |
translate_cache.c | 82 unsigned hash_key; local 86 hash_key = cso_construct_key(key, size); 87 return hash_key; 93 unsigned hash_key = create_key(key); local 96 hash_key, 102 cso_hash_insert(cache->hash, hash_key, translate);
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
translate_cache.c | 82 unsigned hash_key; local 86 hash_key = cso_construct_key(key, size); 87 return hash_key; 93 unsigned hash_key = create_key(key); local 96 hash_key, 102 cso_hash_insert(cache->hash, hash_key, translate);
|
/external/llvm/test/CodeGen/X86/ |
combiner-aa-0.ll | 4 %struct.Hash_Key = type { [4 x i32], i32 } 5 @g_flipV_hashkey = external global %struct.Hash_Key, align 16 ; <%struct.Hash_Key*> [#uses=1] 14 %t5 = getelementptr %struct.Hash_Key* @g_flipV_hashkey, i64 0, i32 0, i64 0 ; <i32*> [#uses=2]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
cso_cache.c | 48 static unsigned hash_key(const void *key, unsigned key_size) function 63 static unsigned hash_key(const unsigned char *p, int n) function 80 return hash_key((item), item_size); 187 unsigned hash_key, enum cso_cache_type type, 193 return cso_hash_insert(hash, hash_key, state); 198 unsigned hash_key, enum cso_cache_type type) 202 return cso_hash_find(hash, hash_key); 207 unsigned hash_key, 211 struct cso_hash_iter iter = cso_hash_find(hash, hash_key); 226 unsigned hash_key, enum cso_cache_type type [all...] |
cso_cache.h | 156 unsigned hash_key, enum cso_cache_type type, 159 unsigned hash_key, enum cso_cache_type type); 161 unsigned hash_key, enum cso_cache_type type, 165 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
|
cso_context.c | 372 unsigned key_size, hash_key; local 379 hash_key = cso_construct_key((void*)templ, key_size); 380 iter = cso_find_state_template(ctx->cache, hash_key, CSO_BLEND, 394 iter = cso_insert_state(ctx->cache, hash_key, CSO_BLEND, cso); 435 unsigned hash_key = cso_construct_key((void*)templ, key_size); local 437 hash_key, 455 iter = cso_insert_state(ctx->cache, hash_key, 498 unsigned hash_key = cso_construct_key((void*)templ, key_size); local 500 hash_key, 516 iter = cso_insert_state(ctx->cache, hash_key, CSO_RASTERIZER, cso) 821 unsigned key_size, hash_key; local 978 unsigned hash_key = cso_construct_key((void*)templ, key_size); local [all...] |
cso_hash.h | 120 unsigned hash_key,
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_cache.c | 48 static unsigned hash_key(const void *key, unsigned key_size) function 63 static unsigned hash_key(const unsigned char *p, int n) function 80 return hash_key((item), item_size); 187 unsigned hash_key, enum cso_cache_type type, 193 return cso_hash_insert(hash, hash_key, state); 198 unsigned hash_key, enum cso_cache_type type) 202 return cso_hash_find(hash, hash_key); 207 unsigned hash_key, 211 struct cso_hash_iter iter = cso_hash_find(hash, hash_key); 226 unsigned hash_key, enum cso_cache_type type [all...] |
cso_cache.h | 156 unsigned hash_key, enum cso_cache_type type, 159 unsigned hash_key, enum cso_cache_type type); 161 unsigned hash_key, enum cso_cache_type type, 165 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
|
cso_context.c | 372 unsigned key_size, hash_key; local 379 hash_key = cso_construct_key((void*)templ, key_size); 380 iter = cso_find_state_template(ctx->cache, hash_key, CSO_BLEND, 394 iter = cso_insert_state(ctx->cache, hash_key, CSO_BLEND, cso); 435 unsigned hash_key = cso_construct_key((void*)templ, key_size); local 437 hash_key, 455 iter = cso_insert_state(ctx->cache, hash_key, 498 unsigned hash_key = cso_construct_key((void*)templ, key_size); local 500 hash_key, 516 iter = cso_insert_state(ctx->cache, hash_key, CSO_RASTERIZER, cso) 821 unsigned key_size, hash_key; local 978 unsigned hash_key = cso_construct_key((void*)templ, key_size); local [all...] |
cso_hash.h | 120 unsigned hash_key,
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_cache.c | 58 hash_key(const void *key, GLuint key_size) function 182 const GLuint hash = hash_key(key, keysize); 203 const GLuint hash = hash_key(key, keysize); 231 const GLuint hash = hash_key(key, keysize);
|
/external/mesa3d/src/mesa/program/ |
prog_cache.c | 58 hash_key(const void *key, GLuint key_size) function 182 const GLuint hash = hash_key(key, keysize); 203 const GLuint hash = hash_key(key, keysize); 231 const GLuint hash = hash_key(key, keysize);
|
/external/chromium/chrome/browser/safe_browsing/ |
bloom_filter.cc | 16 uint32 HashMix(BloomFilter::HashKey hash_key, uint32 c) { 17 uint32 a = static_cast<uint32>(hash_key) & 0xFFFFFFFF; 18 uint32 b = static_cast<uint32>(hash_key >> 32) & 0xFFFFFFFF;
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.cpp | 516 char hash_key[128]; local 519 size = snprintf(hash_key, sizeof(hash_key), "%08x", key->length); 522 if (size >= sizeof(hash_key)) 525 size += snprintf(& hash_key[size], sizeof(hash_key) - size, 529 return hash_table_string_hash(& hash_key);
|
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 516 char hash_key[128]; local 519 size = snprintf(hash_key, sizeof(hash_key), "%08x", key->length); 522 if (size >= sizeof(hash_key)) 525 size += snprintf(& hash_key[size], sizeof(hash_key) - size, 529 return hash_table_string_hash(& hash_key);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 54 hash_key(struct brw_cache_item *item) function 146 hash = hash_key(&lookup); 282 hash = hash_key(item);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 54 hash_key(struct brw_cache_item *item) function 146 hash = hash_key(&lookup); 282 hash = hash_key(item);
|