Searched refs:name_copy (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 488 char *name_copy = NULL; in _multiprocessing_SemLock_impl() local 496 name_copy = PyMem_Malloc(strlen(name) + 1); in _multiprocessing_SemLock_impl() 497 if (name_copy == NULL) { in _multiprocessing_SemLock_impl() 500 strcpy(name_copy, name); in _multiprocessing_SemLock_impl() 512 result = newsemlockobject(type, handle, kind, maxvalue, name_copy); in _multiprocessing_SemLock_impl() 521 PyMem_Free(name_copy); in _multiprocessing_SemLock_impl() 546 char *name_copy = NULL; in _multiprocessing_SemLock__rebuild_impl() local 549 name_copy = PyMem_Malloc(strlen(name) + 1); in _multiprocessing_SemLock__rebuild_impl() 550 if (name_copy == NULL) in _multiprocessing_SemLock__rebuild_impl() 552 strcpy(name_copy, name); in _multiprocessing_SemLock__rebuild_impl() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_ubo_reference.cpp | 134 char *name_copy = NULL; in interface_field_name() local 183 if (name_copy != NULL && in interface_field_name() 186 return name_copy; in interface_field_name() 199 if (name_copy == NULL) { in interface_field_name() 200 name_copy = ralloc_strdup(mem_ctx, base_name); in interface_field_name() 201 base_length = strlen(name_copy); in interface_field_name() 210 char *end = ralloc_strdup(NULL, &name_copy[new_length]); in interface_field_name() 229 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", in interface_field_name() 232 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s", in interface_field_name()
|
D | link_uniforms.cpp | 268 char *name_copy = ralloc_strdup(NULL, name); in process() local 273 recursion(type, &name_copy, strlen(name), false, NULL, packing, false, in process() 275 ralloc_free(name_copy); in process() 847 char *name_copy = ralloc_strdup(NULL, name); in set_opaque_indices() local 852 while((str_start = strchr(name_copy, '[')) && in set_opaque_indices() 853 (str_end = strchr(name_copy, ']'))) { in set_opaque_indices() 858 if (record_next_index->get(index, name_copy)) { in set_opaque_indices() 864 record_next_index->put(index, name_copy); in set_opaque_indices() 866 ralloc_free(name_copy); in set_opaque_indices() 887 record_next_index->put(index, name_copy); in set_opaque_indices() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | shader_query.cpp | 567 char *name_copy; in search_resource_hash() local 571 name_copy = (char *) malloc(base_name_end - name + 1); in search_resource_hash() 572 memcpy(name_copy, name, base_name_end - name); in search_resource_hash() 573 name_copy[base_name_end - name] = '\0'; in search_resource_hash() 576 name_copy = (char*) name; in search_resource_hash() 579 uint32_t key = compute_resource_key(programInterface, name_copy, len); in search_resource_hash() 583 if (name_copy != name) in search_resource_hash() 584 free(name_copy); in search_resource_hash()
|
/third_party/glib/gobject/ |
D | gbinding.c | 746 gchar *name_copy = NULL; in g_binding_set_property() local 753 name_copy = g_value_dup_string (value); in g_binding_set_property() 754 canonicalize_key (name_copy); in g_binding_set_property() 755 name = name_copy; in g_binding_set_property() 765 g_free (name_copy); in g_binding_set_property()
|
D | gsignal.c | 444 gchar *name_copy = g_strdup (name); in signal_id_lookup() local 445 canonicalize_key (name_copy); in signal_id_lookup() 447 signal_id = signal_id_lookup (name_copy, itype); in signal_id_lookup() 449 g_free (name_copy); in signal_id_lookup()
|