Searched refs:new_string (Results 1 – 1 of 1) sorted by relevance
33 char *new_string = allocation_tracker_notify_alloc( in osi_strdup() local37 if (!new_string) in osi_strdup()40 memcpy(new_string, str, size); in osi_strdup()41 return new_string; in osi_strdup()53 char *new_string = allocation_tracker_notify_alloc( in osi_strndup() local57 if (!new_string) in osi_strndup()60 memcpy(new_string, str, size); in osi_strndup()61 new_string[size] = '\0'; in osi_strndup()62 return new_string; in osi_strndup()