Home
last modified time | relevance | path

Searched refs:dup_key (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dstring_to_uint_map.h139 char *dup_key = strdup(key); in put() local
141 struct hash_entry *entry = _mesa_hash_table_search(this->ht, dup_key); in put()
145 _mesa_hash_table_insert(this->ht, dup_key, in put()
150 free(dup_key); in put()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_program.c367 struct lima_key *dup_key; in lima_get_compiled_fs() local
368 dup_key = rzalloc_size(fs, key_size); in lima_get_compiled_fs()
369 memcpy(dup_key, key, key_size); in lima_get_compiled_fs()
370 _mesa_hash_table_insert(ht, dup_key, fs); in lima_get_compiled_fs()
539 struct lima_key *dup_key; in lima_get_compiled_vs() local
540 dup_key = rzalloc_size(vs, key_size); in lima_get_compiled_vs()
541 memcpy(dup_key, key, key_size); in lima_get_compiled_vs()
542 _mesa_hash_table_insert(ht, dup_key, vs); in lima_get_compiled_vs()
/third_party/grpc/test/core/transport/
Dmetadata_test.cc370 static void test_copied_static_metadata(bool dup_key, bool dup_value) { in test_copied_static_metadata() argument
371 gpr_log(GPR_INFO, "test_static_metadata: dup_key=%d dup_value=%d", dup_key, in test_copied_static_metadata()
380 grpc_mdelem_from_slices(maybe_dup(GRPC_MDKEY(p), dup_key), in test_copied_static_metadata()
383 if (dup_key || dup_value) { in test_copied_static_metadata()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c409 struct v3d_key *dup_key; in v3d_get_compiled_shader() local
410 dup_key = ralloc_size(shader, key_size); in v3d_get_compiled_shader()
411 memcpy(dup_key, key, key_size); in v3d_get_compiled_shader()
412 _mesa_hash_table_insert(ht, dup_key, shader); in v3d_get_compiled_shader()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c2649 struct vc4_key *dup_key; in vc4_get_compiled_shader() local
2650 dup_key = rzalloc_size(shader, key_size); /* TODO: don't use rzalloc */ in vc4_get_compiled_shader()
2651 memcpy(dup_key, key, key_size); in vc4_get_compiled_shader()
2652 _mesa_hash_table_insert(ht, dup_key, shader); in vc4_get_compiled_shader()