Lines Matching refs:name_copy
488 char *name_copy = NULL; in _multiprocessing_SemLock_impl() local
496 name_copy = PyMem_Malloc(strlen(name) + 1); in _multiprocessing_SemLock_impl()
497 if (name_copy == NULL) { in _multiprocessing_SemLock_impl()
500 strcpy(name_copy, name); in _multiprocessing_SemLock_impl()
512 result = newsemlockobject(type, handle, kind, maxvalue, name_copy); in _multiprocessing_SemLock_impl()
521 PyMem_Free(name_copy); in _multiprocessing_SemLock_impl()
546 char *name_copy = NULL; in _multiprocessing_SemLock__rebuild_impl() local
549 name_copy = PyMem_Malloc(strlen(name) + 1); in _multiprocessing_SemLock__rebuild_impl()
550 if (name_copy == NULL) in _multiprocessing_SemLock__rebuild_impl()
552 strcpy(name_copy, name); in _multiprocessing_SemLock__rebuild_impl()
559 PyMem_Free(name_copy); in _multiprocessing_SemLock__rebuild_impl()
565 return newsemlockobject(type, handle, kind, maxvalue, name_copy); in _multiprocessing_SemLock__rebuild_impl()