Searched refs:name_copy (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/_multiprocessing/ |
D | semaphore.c | 437 char *name, *name_copy = NULL; in semlock_new() local 451 name_copy = PyMem_Malloc(strlen(name) + 1); in semlock_new() 452 if (name_copy == NULL) { in semlock_new() 455 strcpy(name_copy, name); in semlock_new() 467 result = newsemlockobject(type, handle, kind, maxvalue, name_copy); in semlock_new() 476 PyMem_Free(name_copy); in semlock_new() 488 char *name, *name_copy = NULL; in semlock_rebuild() local 495 name_copy = PyMem_Malloc(strlen(name) + 1); in semlock_rebuild() 496 if (name_copy == NULL) in semlock_rebuild() 498 strcpy(name_copy, name); in semlock_rebuild() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniforms.cpp | 53 char *name_copy = ralloc_strdup(NULL, name); in process() local 58 recursion(type, &name_copy, strlen(name), false, NULL, packing, false, in process() 60 ralloc_free(name_copy); in process() 589 char *name_copy = ralloc_strdup(NULL, name); in set_opaque_indices() local 594 while((str_start = strchr(name_copy, '[')) && in set_opaque_indices() 595 (str_end = strchr(name_copy, ']'))) { in set_opaque_indices() 600 if (record_next_index->get(index, name_copy)) { in set_opaque_indices() 606 record_next_index->put(index, name_copy); in set_opaque_indices() 608 ralloc_free(name_copy); in set_opaque_indices() 629 record_next_index->put(index, name_copy); in set_opaque_indices() [all …]
|
D | lower_ubo_reference.cpp | 131 char *name_copy = NULL; in interface_field_name() local 180 if (name_copy != NULL && in interface_field_name() 183 return name_copy; in interface_field_name() 196 if (name_copy == NULL) { in interface_field_name() 197 name_copy = ralloc_strdup(mem_ctx, base_name); in interface_field_name() 198 base_length = strlen(name_copy); in interface_field_name() 207 char *end = ralloc_strdup(NULL, &name_copy[new_length]); in interface_field_name() 226 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", in interface_field_name() 229 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s", in interface_field_name()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 118 char* name_copy = strdup(program.c_str()); in Start() local 124 (search_mode == SEARCH_PATH) ? name_copy : NULL, in Start() 145 free(name_copy); in Start()
|
/external/libpcap/ |
D | pcap-npf.c | 1447 char *name_copy; in get_if_flags() local 1485 name_copy = strdup(name); in get_if_flags() 1486 adapter = PacketOpenAdapter(name_copy); in get_if_flags() 1487 free(name_copy); in get_if_flags()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 864 char *name_copy; in upb_fielddef_setcontainingtypename() local 873 name_copy = upb_gstrdup(name); in upb_fielddef_setcontainingtypename() 874 if (!name_copy) { in upb_fielddef_setcontainingtypename() 880 f->msg.name = name_copy; in upb_fielddef_setcontainingtypename() 1311 char *name_copy; in upb_fielddef_setsubdefname() local 1318 name_copy = upb_gstrdup(name); in upb_fielddef_setsubdefname() 1319 if (!name_copy) { in upb_fielddef_setsubdefname() 1327 f->sub.name = name_copy; in upb_fielddef_setsubdefname()
|