HomeSort by relevance Sort by last modified time
    Searched refs:hash_key (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/net/disk_cache/simple/
simple_util_unittest.cc 49 uint64 hash_key = 0; local
50 EXPECT_TRUE(GetEntryHashKeyFromHexString("0000000005f5e0ff", &hash_key));
51 EXPECT_EQ(GG_UINT64_C(99999999), hash_key);
53 EXPECT_TRUE(GetEntryHashKeyFromHexString("7ffffffffffffffF", &hash_key));
54 EXPECT_EQ(GG_UINT64_C(9223372036854775807), hash_key);
56 EXPECT_TRUE(GetEntryHashKeyFromHexString("8000000000000000", &hash_key));
57 EXPECT_EQ(GG_UINT64_C(9223372036854775808), hash_key);
59 EXPECT_TRUE(GetEntryHashKeyFromHexString("FFFFFFFFFFFFFFFF", &hash_key));
60 EXPECT_EQ(GG_UINT64_C(18446744073709551615), hash_key);
63 EXPECT_FALSE(GetEntryHashKeyFromHexString("FFFFFFFFFFFFFFF", &hash_key));
    [all...]
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_util.cc 21 // Size of the uint64 hash_key number in Hex format in a string.
49 std::string ConvertEntryHashKeyToHexString(uint64 hash_key) {
50 const std::string hash_key_str = base::StringPrintf("%016" PRIx64, hash_key);
62 bool GetEntryHashKeyFromHexString(const base::StringPiece& hash_key,
64 if (hash_key.size() != kEntryHashKeyAsHexStringSize) {
67 return base::HexStringToUInt64(hash_key, hash_key_out);
simple_index_file.cc 91 uint64 hash_key = 0; local
92 if (!simple_util::GetEntryHashKeyFromHexString(hash_string, &hash_key)) {
113 SimpleIndex::EntrySet::iterator it = entries->find(hash_key);
116 hash_key,
410 uint64 hash_key; local
412 if (!pickle_it.ReadUInt64(&hash_key) ||
418 SimpleIndex::InsertInEntrySet(hash_key, entry_metadata, entries);
simple_index_unittest.cc 141 void InsertIntoIndexFileReturn(uint64 hash_key,
145 hash_key, EntryMetadata(last_used_time, entry_size)));
598 uint64 hash_key = kHash1; local
601 EXPECT_EQ(hash_key, entry_set.begin()->first);
  /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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
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_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_hash.h 120 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...]
  /external/mesa3d/src/gallium/auxiliary/cso_cache/
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_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_hash.h 120 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...]
  /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);
  /external/chromium_org/chrome/browser/profile_resetter/
automatic_profile_resetter.cc 529 const std::string& hash_key) {
530 hash_seed_ = hash_key;
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_vbuf.c 200 unsigned key_size, hash_key; local
210 hash_key = cso_construct_key((void*)&velems_state, key_size);
211 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS,
221 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_vbuf.c 200 unsigned key_size, hash_key; local
210 hash_key = cso_construct_key((void*)&velems_state, key_size);
211 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS,
221 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
    [all...]

Completed in 597 milliseconds