Home
last modified time | relevance | path

Searched refs:name_dup (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Objects/
Dcapsule.c201 char *name_dup = (char *)PyMem_Malloc(name_length); in PyCapsule_Import() local
203 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()
/third_party/mesa3d/src/mapi/glapi/
Dglapi_getproc.c272 char * name_dup = NULL; in add_function_name() local
280 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()
/third_party/selinux/libsepol/src/
Dpolicydb.c2619 char *name_dup; in policydb_filetrans_insert() local
2622 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()
/third_party/selinux/libsepol/cil/src/
Dcil_resolve_ast.c4371 char *name_dup = cil_strdup(name); in cil_resolve_name_keep_aliases() local
4372 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()