Searched refs:name_dup (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Doc/includes/ |
D | capsulethunk.h | 77 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/ |
D | capsule.c | 201 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/python/cpython3/Objects/ |
D | capsule.c | 201 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/ |
D | glapi_getproc.c | 272 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/ |
D | x509_trs.c | 183 char *name_dup; in X509_TRUST_add() local 204 name_dup = BUF_strdup(name); in X509_TRUST_add() 205 if (name_dup == NULL) { in X509_TRUST_add() 215 trtmp->name = name_dup; in X509_TRUST_add()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_purp.c | 219 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/ |
D | cil_resolve_ast.c | 4170 char *name_dup = cil_strdup(name); in cil_resolve_name_keep_aliases() local 4171 char *current = strtok_r(name_dup, ".", &sp); in cil_resolve_name_keep_aliases() 4178 free(name_dup); in cil_resolve_name_keep_aliases() 4189 free(name_dup); in cil_resolve_name_keep_aliases() 4198 free(name_dup); in cil_resolve_name_keep_aliases() 4207 free(name_dup); in cil_resolve_name_keep_aliases() 4224 free(name_dup); in cil_resolve_name_keep_aliases()
|
/external/boringssl/src/ssl/ |
D | ssl_test.cc | 1397 bssl::UniquePtr<X509_NAME> name_dup(X509_NAME_dup(name.get())); in TEST() local 1398 ASSERT_TRUE(name_dup); in TEST() 1402 ASSERT_TRUE(PushToStack(stack.get(), std::move(name_dup))); in TEST()
|