Searched refs:new_str (Results 1 - 2 of 2) sorted by relevance

/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc671 char *new_str; local
686 new_str = (char*)malloc(len1 + len2 + 1);
687 memcpy(new_str, start1, len1);
688 if (len2 > 0) memcpy(new_str + len1, start2, len2);
689 new_str[len1+len2] = '\0';
691 return new_str;
705 buf_char *new_str; local
706 new_str = src->copy_bytes(&src_len);
707 dst_file.sputn(new_str, src_len);
708 free (new_str);
[all...]
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dgetopt.c333 char *new_str = malloc (top + 1);
334 if (new_str == NULL)
338 memset (__mempcpy (new_str, __getopt_nonoption_flags,
342 __getopt_nonoption_flags = new_str;
330 char *new_str = malloc (top + 1); local

Completed in 193 milliseconds