Searched refs:hash_key (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c82 unsigned hash_key; local in function:create_key
86 hash_key = cso_construct_key(key, size);
87 return hash_key;
93 unsigned hash_key = create_key(key); local in function:translate_cache_find
96 hash_key,
102 cso_hash_insert(cache->hash, hash_key, translate);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c82 unsigned hash_key; local in function:create_key
86 hash_key = cso_construct_key(key, size);
87 return hash_key;
93 unsigned hash_key = create_key(key); local in function:translate_cache_find
96 hash_key,
102 cso_hash_insert(&cache->hash, hash_key, translate);
/xsrc/external/mit/xedit/dist/
H A Dutil.h34 typedef struct _hash_key hash_key; typedef in typeref:struct:_hash_key
37 typedef int (*hash_compare)(hash_key *left, hash_key *right);
45 hash_key *key;
66 hash_entry *hash_get(hash_table *hash, hash_key *name);
H A Dhash.c55 static int hash_equal(hash_table *hash, hash_key *left, hash_key *right);
56 static unsigned int hash_value(hash_key *key);
63 hash_equal(hash_table *hash, hash_key *left, hash_key *right)
89 hash_value(hash_key *key)
166 hash_get(hash_table *hash, hash_key *name)
H A Dtags.c52 hash_key *symbol;
61 hash_key *pattern;
68 hash_key *pathname;
355 tags->pathname = XtNew(hash_key);
443 entry->symbol = XtNew(hash_key);
457 file_entry->key = XtNew(hash_key);
527 regex->pattern = XtNew(hash_key);
H A Dispell.c140 hash_key *word;
147 hash_key *word;
431 hash_key *word_key;
437 word_key = XtNew(hash_key);
459 hash_key *word_key;
468 word_key = XtNew(hash_key);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h132 unsigned hash_key; member in struct:cso_sampler
157 unsigned hash_key, enum cso_cache_type type,
160 unsigned hash_key, enum cso_cache_type type);
162 unsigned hash_key, enum cso_cache_type type,
166 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
H A Dcso_cache.c48 static unsigned hash_key(const void *key, unsigned key_size) function in typeref:typename:unsigned
63 static unsigned hash_key(const unsigned char *p, int n) function in typeref:typename:unsigned
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, enu
186 cso_insert_state(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type,void * state) argument
197 cso_find_state(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type) argument
206 cso_hash_find_data_from_template(struct cso_hash * hash,unsigned hash_key,void * templ,int size) argument
225 cso_find_state_template(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type,void * templ,unsigned size) argument
239 cso_take_state(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type) argument
[all...]
H A Dcso_hash.h127 unsigned hash_key,
H A Dcso_context.c253 if (sampler && cso_hash_take(hash, sampler->hash_key))
280 cso_hash_insert(hash, sampler->hash_key, sampler);
457 unsigned key_size, hash_key; local in function:cso_set_blend
464 hash_key = cso_construct_key((void*)templ, key_size);
465 iter = cso_find_state_template(ctx->cache, hash_key, CSO_BLEND,
479 iter = cso_insert_state(ctx->cache, hash_key, CSO_BLEND, cso);
522 unsigned hash_key = cso_construct_key((void*)templ, key_size); local in function:cso_set_depth_stencil_alpha
524 hash_key,
542 iter = cso_insert_state(ctx->cache, hash_key,
587 unsigned hash_key local in function:cso_set_rasterizer
1058 unsigned key_size, hash_key; local in function:cso_set_vertex_elements
1208 unsigned hash_key = cso_construct_key((void*)templ, key_size); local in function:cso_single_sampler
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h136 unsigned hash_key; member in struct:cso_sampler
160 unsigned hash_key, enum cso_cache_type type,
163 unsigned hash_key, enum cso_cache_type type);
165 unsigned hash_key, enum cso_cache_type type,
H A Dcso_cache.c107 unsigned hash_key, enum cso_cache_type type,
113 return cso_hash_insert(hash, hash_key, state);
118 unsigned hash_key, enum cso_cache_type type)
122 return cso_hash_find(hash, hash_key);
127 unsigned hash_key,
131 struct cso_hash_iter iter = cso_hash_find(hash, hash_key);
146 unsigned hash_key, enum cso_cache_type type,
149 struct cso_hash_iter iter = cso_find_state(sc, hash_key, type);
106 cso_insert_state(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type,void * state) argument
117 cso_find_state(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type) argument
126 cso_hash_find_data_from_template(struct cso_hash * hash,unsigned hash_key,void * templ,int size) argument
145 cso_find_state_template(struct cso_cache * sc,unsigned hash_key,enum cso_cache_type type,void * templ,unsigned size) argument
H A Dcso_hash.h120 unsigned hash_key,
H A Dcso_context.c194 if (sampler && cso_hash_take(hash, sampler->hash_key))
221 cso_hash_insert(hash, sampler->hash_key, sampler);
431 unsigned key_size, hash_key; local in function:cso_set_blend
438 hash_key = cso_construct_key((void*)templ, key_size);
439 iter = cso_find_state_template(&ctx->cache, hash_key, CSO_BLEND,
451 iter = cso_insert_state(&ctx->cache, hash_key, CSO_BLEND, cso);
494 unsigned hash_key = cso_construct_key((void*)templ, key_size); local in function:cso_set_depth_stencil_alpha
496 hash_key,
511 iter = cso_insert_state(&ctx->cache, hash_key,
556 unsigned hash_key local in function:cso_set_rasterizer
1022 unsigned key_size, hash_key; local in function:cso_set_vertex_elements_direct
1207 unsigned hash_key = cso_construct_key((void*)templ, key_size); local in function:cso_set_sampler
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_cache.c59 hash_key(const void *key, GLuint key_size) function in typeref:typename:GLuint
184 const GLuint hash = hash_key(key, keysize);
208 const GLuint hash = hash_key(key, keysize);
237 const GLuint hash = hash_key(key, keysize);
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_cache.c60 hash_key(const void *key, GLuint key_size) function in typeref:typename:GLuint
185 const GLuint hash = hash_key(key, keysize);
209 const GLuint hash = hash_key(key, keysize);
238 const GLuint hash = hash_key(key, keysize);
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
H A Dx-hash.c44 x_hash_fun *hash_key; member in struct:x_hash_table_struct
86 if (h->hash_key != 0)
87 return (*h->hash_key) (k);
166 h->hash_key = hash;
/xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
H A Dx-hash.c47 x_hash_fun *hash_key; member in struct:x_hash_table_struct
89 if (h->hash_key != 0)
90 return (*h->hash_key)(k);
164 h->hash_key = hash;
/xsrc/external/mit/xedit/dist/lisp/
H A Dprivate.h196 hash_key *key;
252 hash_key *desc;
445 hash_key *LispGetAtomKey(const char*, int);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_cache.c118 hash_key(struct brw_cache_item *item) function in typeref:typename:GLuint
208 hash = hash_key(&lookup);
355 hash = hash_key(item);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_cache.c99 hash_key(struct brw_cache_item *item) function in typeref:typename:GLuint
181 hash = hash_key(&lookup);
328 hash = hash_key(item);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dhash_table.c699 struct hash_key *_key = (struct hash_key *)entry->key;
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dhash_table.c903 struct hash_key *_key = (struct hash_key *)entry->key;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_vbuf.c326 unsigned key_size, hash_key; local in function:u_vbuf_set_vertex_elements_internal
336 hash_key = cso_construct_key((void*)&velems_state, key_size);
337 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS,
347 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_vbuf.c379 unsigned key_size, hash_key; local in function:u_vbuf_set_vertex_elements_internal
386 hash_key = cso_construct_key((void*)velems, key_size);
387 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS,
396 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);

Completed in 24 milliseconds

12