Lines Matching defs:key
42 void *key;
57 * Compute hash index from state key.
60 hash_key(const void *key, GLuint key_size)
62 const GLuint *ikey = (const GLuint *) key;
121 free(c->key);
177 const void *key, GLuint keysize)
181 memcmp(cache->last->key, key, keysize) == 0) {
185 const GLuint hash = hash_key(key, keysize);
191 memcmp(c->key, key, keysize) == 0) {
206 const void *key, GLuint keysize,
209 const GLuint hash = hash_key(key, keysize);
214 c->key = malloc(keysize);
215 memcpy(c->key, key, keysize);
235 const void *key, GLuint keysize,
238 const GLuint hash = hash_key(key, keysize);
243 c->key = malloc(keysize);
244 memcpy(c->key, key, keysize);