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

  /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-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/
test_layer2.py 62 self.assertEqual(table.schema, Schema.create(hash_key=('foo', 'N')))
67 schema=Schema.create(hash_key=('foo', 'N')))
69 self.assertEqual(table.schema, Schema.create(hash_key=('foo', 'N')))
90 s1 = Schema.create(hash_key=('foo', 'N'))
91 s2 = Schema.create(hash_key=('foo', 'N'))
95 s1 = Schema.create(hash_key=('foo', 'N'))
96 s2 = Schema.create(hash_key=('bar', 'N'))
97 s3 = Schema.create(hash_key=('foo', 'S'))
102 s1 = Schema.create(hash_key=('foo', 'N'), range_key=('bar', 'S'))
103 s2 = Schema.create(hash_key=('foo', 'N'), range_key=('bar', 'S')
    [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-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/
schema.py 51 def create(cls, hash_key, range_key=None):
56 schema = Schema.create(hash_key=('foo', 'N'))
57 schema2 = Schema.create(hash_key=('foo', 'N'),
60 :type hash_key: tuple
61 :param hash_key: A tuple of (hash_key_name, hash_key_type)
64 :param hash_key: A tuple of (range_key_name, range_key_type)
69 'AttributeName': hash_key[0],
70 'AttributeType': hash_key[1],
batch.py 35 list should be a tuple consisting of (hash_key, range_key). If
66 hash_key, range_key = key
68 hash_key = key
71 hash_key, range_key)
97 list should be a tuple consisting of (hash_key, range_key). If
119 hash_key, range_key = key
121 hash_key = key
124 hash_key, range_key)
153 list should be a tuple consisting of (hash_key, range_key). If
243 (hash_key, range_key). If the schema for the tabl
    [all...]
table.py 134 Schema.create(hash_key=('keyname', 'N')))
254 def get_item(self, hash_key, range_key=None,
260 :type hash_key: int|long|float|str|unicode|Binary
261 :param hash_key: The HashKey of the requested item. The
285 return self.layer2.get_item(self, hash_key, range_key,
290 def has_item(self, hash_key, range_key=None, consistent_read=False):
292 Checks the table to see if the Item with the specified ``hash_key``
298 :type hash_key: int|long|float|str|unicode|Binary
299 :param hash_key: The HashKey of the requested item. The
319 self.get_item(hash_key, range_key=range_key
    [all...]
item.py 31 :ivar hash_key: The HashKey of this item.
39 def __init__(self, table, hash_key=None, range_key=None, attrs=None):
46 if hash_key is None:
47 hash_key = attrs.get(self._hash_key_name, None)
48 self[self._hash_key_name] = hash_key
60 def hash_key(self): member in class:Item
layer2.py 238 hash_key = last_evaluated_key['HashKeyElement']
239 d = {'HashKeyElement': self.dynamizer.encode(hash_key)}
245 def build_key_from_values(self, schema, hash_key, range_key=None):
248 in Amazon DynamoDB. This method takes the supplied hash_key
254 :type hash_key: int|float|str|unicode|Binary
255 :param hash_key: The hash key of the item you are looking for.
266 dynamodb_value = self.dynamizer.encode(hash_key)
338 Schema.create(hash_key=('foo', 'N')))
444 hash_key = (hash_key_name, get_dynamodb_type(hash_key_proto_value))
450 return Schema.create(hash_key, range_key
    [all...]
  /system/bt/osi/src/
hash_map.c 118 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; local
119 list_t *hash_bucket_list = hash_map->bucket[hash_key].list;
129 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; local
131 if (hash_map->bucket[hash_key].list == NULL) {
132 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_, hash_map->allocator);
133 if (hash_map->bucket[hash_key].list == NULL)
136 list_t *hash_bucket_list = hash_map->bucket[hash_key].list;
161 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; local
162 list_t *hash_bucket_list = hash_map->bucket[hash_key].list;
177 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket local
    [all...]
  /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/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/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/vboot_reference/tests/
vb21_api_tests.c 66 const struct vb2_private_key *hash_key; local
92 vb2_private_key_hash(&hash_key, mock_hash_alg);
106 hash_key, NULL);
  /system/bt/osi/test/
hash_map_test.cpp 31 hash_index_t hash_key = (hash_index_t)key; local
32 return hash_key;
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb/
test_layer2.py 130 # Try supplying a hash_key as an arg and as an item in attrs
133 assert foobar_item.hash_key == item1_key
142 assert foobar_item.hash_key == 'foo'
162 assert item1_copy.hash_key == item1.hash_key
  /external/dbus/bus/
activation.c 756 char *hash_key, *hash_value; local
758 if (!_dbus_string_steal_data (&key, &hash_key))
765 hash_key, hash_value))
1632 char *hash_key; local
    [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...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb2/
test_table.py 22 hash_key = HashKey('hello')
23 self.assertEqual(hash_key.name, 'hello')
24 self.assertEqual(hash_key.data_type, STRING)
25 self.assertEqual(hash_key.attr_type, 'HASH')
27 self.assertEqual(hash_key.definition(), {
31 self.assertEqual(hash_key.schema(), {
    [all...]
  /external/libvncserver/libvncserver/
tight.c 1361 int hash_key, idx, new_idx, count; local
    [all...]

Completed in 3470 milliseconds