Searched refs:name_dup (Results 1 – 4 of 4) sorted by relevance
201 char *name_dup = (char *)PyMem_Malloc(name_length); in PyCapsule_Import() local203 if (!name_dup) { in PyCapsule_Import()207 memcpy(name_dup, name, name_length); in PyCapsule_Import()209 trace = name_dup; in PyCapsule_Import()249 if (name_dup) { in PyCapsule_Import()250 PyMem_Free(name_dup); in PyCapsule_Import()
272 char * name_dup = NULL; in add_function_name() local280 name_dup = str_dup(funcName); in add_function_name()281 if (name_dup == NULL) in add_function_name()287 free(name_dup); in add_function_name()294 entry->name = name_dup; in add_function_name()
2619 char *name_dup; in policydb_filetrans_insert() local2622 name_dup = *name_alloc; in policydb_filetrans_insert()2625 name_dup = strdup(name); in policydb_filetrans_insert()2626 if (!name_dup) { in policydb_filetrans_insert()2634 free(name_dup); in policydb_filetrans_insert()2641 ft->name = name_dup; in policydb_filetrans_insert()2645 free(name_dup); in policydb_filetrans_insert()
4371 char *name_dup = cil_strdup(name); in cil_resolve_name_keep_aliases() local4372 char *current = strtok_r(name_dup, ".", &sp); in cil_resolve_name_keep_aliases()4379 free(name_dup); in cil_resolve_name_keep_aliases()4390 free(name_dup); in cil_resolve_name_keep_aliases()4399 free(name_dup); in cil_resolve_name_keep_aliases()4408 free(name_dup); in cil_resolve_name_keep_aliases()4422 free(name_dup); in cil_resolve_name_keep_aliases()