Home
last modified time | relevance | path

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

/external/python/cpython2/Doc/includes/
Dcapsulethunk.h77 char *name_dup = (char *)PyMem_MALLOC(name_length); in PyCapsule_Import() local
79 if (!name_dup) { in PyCapsule_Import()
83 memcpy(name_dup, name, name_length); in PyCapsule_Import()
85 trace = name_dup; in PyCapsule_Import()
126 if (name_dup) { in PyCapsule_Import()
127 PyMem_FREE(name_dup); in PyCapsule_Import()
/external/python/cpython2/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()
/external/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()
/external/boringssl/src/crypto/x509/
Dx509_trs.c182 char *name_dup; in X509_TRUST_add() local
203 name_dup = BUF_strdup(name); in X509_TRUST_add()
204 if (name_dup == NULL) { in X509_TRUST_add()
214 trtmp->name = name_dup; in X509_TRUST_add()
/external/boringssl/src/crypto/x509v3/
Dv3_purp.c219 char *name_dup, *sname_dup; in X509_PURPOSE_add() local
240 name_dup = BUF_strdup(name); in X509_PURPOSE_add()
242 if (name_dup == NULL || sname_dup == NULL) { in X509_PURPOSE_add()
244 if (name_dup != NULL) in X509_PURPOSE_add()
245 OPENSSL_free(name_dup); in X509_PURPOSE_add()
259 ptmp->name = name_dup; in X509_PURPOSE_add()
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c4082 char *name_dup = cil_strdup(name); in cil_resolve_name() local
4083 char *current = strtok_r(name_dup, ".", &sp); in cil_resolve_name()
4090 free(name_dup); in cil_resolve_name()
4101 free(name_dup); in cil_resolve_name()
4110 free(name_dup); in cil_resolve_name()
4119 free(name_dup); in cil_resolve_name()
4136 free(name_dup); in cil_resolve_name()
/external/boringssl/src/ssl/
Dssl_test.cc974 bssl::UniquePtr<X509_NAME> name_dup(X509_NAME_dup(name.get())); in TEST() local
975 ASSERT_TRUE(name_dup); in TEST()
980 ASSERT_TRUE(sk_X509_NAME_push(stack.get(), name_dup.get())); in TEST()
981 name_dup.release(); in TEST()