Searched refs:new_str (Results 1 – 2 of 2) sorted by relevance
671 char *new_str; in copy_bytes() local686 new_str = (char*)malloc(len1 + len2 + 1); in copy_bytes()687 memcpy(new_str, start1, len1); in copy_bytes()688 if (len2 > 0) memcpy(new_str + len1, start2, len2); in copy_bytes()689 new_str[len1+len2] = '\0'; in copy_bytes()691 return new_str; in copy_bytes()705 buf_char *new_str; in assign() local706 new_str = src->copy_bytes(&src_len); in assign()707 dst_file.sputn(new_str, src_len); in assign()708 free (new_str); in assign()
330 char *new_str = malloc (top + 1); local331 if (new_str == NULL)335 memset (__mempcpy (new_str, __getopt_nonoption_flags,339 __getopt_nonoption_flags = new_str;