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

/haiku-buildtools/legacy/gcc/libio/
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-buildtools/binutils/libiberty/
H A Dgetopt.c340 char *new_str = (char *) malloc (top + 1);
341 if (new_str == NULL)
345 memset (mempcpy (new_str, __getopt_nonoption_flags,
349 __getopt_nonoption_flags = new_str;
337 char *new_str = (char *) malloc (top + 1); local
/haiku-buildtools/gcc/libiberty/
H A Dgetopt.c340 char *new_str = (char *) malloc (top + 1);
341 if (new_str == NULL)
345 memset (mempcpy (new_str, __getopt_nonoption_flags,
349 __getopt_nonoption_flags = new_str;
337 char *new_str = (char *) malloc (top + 1); local
/haiku-buildtools/legacy/binutils/libiberty/
H A Dgetopt.c340 char *new_str = (char *) malloc (top + 1);
341 if (new_str == NULL)
345 memset (mempcpy (new_str, __getopt_nonoption_flags,
349 __getopt_nonoption_flags = new_str;
337 char *new_str = (char *) malloc (top + 1); local
/haiku-buildtools/legacy/gcc/libiberty/
H A Dgetopt.c334 char *new_str = malloc (top + 1);
335 if (new_str == NULL)
339 memset (__mempcpy (new_str, __getopt_nonoption_flags,
343 __getopt_nonoption_flags = new_str;
331 char *new_str = malloc (top + 1); local
/haiku-buildtools/legacy/gcc/texinfo/lib/
H A Dgetopt.c324 char *new_str = malloc (top + 1);
325 if (new_str == NULL)
329 memset (__mempcpy (new_str, __getopt_nonoption_flags,
333 __getopt_nonoption_flags = new_str;
321 char *new_str = malloc (top + 1); local
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/asan/
H A Dasan_str_test.cc101 char *new_str; local
104 new_str = strdup(str);
105 free(new_str);
106 new_str = strdup(str + size - 1);
107 free(new_str);
/haiku-buildtools/legacy/binutils/gas/config/
H A Dtc-m32c.c237 char *new_str;
268 new_str = (char*) xmalloc (ns_len);
269 ns = new_str;
324 md_assemble (new_str);
325 free (new_str);
235 char *new_str; local
/haiku-buildtools/binutils/gas/config/
H A Dtc-m32c.c240 char *new_str;
271 new_str = XNEWVEC (char, ns_len);
272 ns = new_str;
327 md_assemble (new_str);
328 free (new_str);
238 char *new_str; local
/haiku-buildtools/gcc/gcc/config/i386/
H A Dwinnt.c212 char *new_str, *p;
248 p = new_str = XALLOCAVEC (char, 1 + strlen (old_str) + 1 + 8 + 1);
253 return get_identifier (new_str);
211 char *new_str, *p; local
/haiku-buildtools/gcc/gcc/
H A Dgenattrtab.c615 char *new_str; local
631 new_str = XOBNEWVAR (hash_obstack, char, len + 1);
632 memcpy (new_str, str, len);
633 new_str[len] = '\0';
634 attr_hash_add_string (hashcode, new_str);
635 copy_md_ptr_loc (new_str, str);
637 return new_str; /* Return the new string. */
H A Dgensupport.c2281 char *new_str;
2294 new_str = XNEWVAR (char, len + 1);
2295 memcpy (new_str, str_zero, len + 1);
2296 *slot = new_str;
2276 char *new_str; local
H A Domp-low.c10445 char *new_str;
10449 new_str = ACONCAT ((".gomp_critical_user_",
10451 DECL_NAME (decl) = get_identifier (new_str);
10443 char *new_str; local
/haiku-buildtools/legacy/gcc/gcc/
H A Dgenattrtab.c787 register char *new_str;
803 new_str = (char *) obstack_alloc (hash_obstack, len + 1);
804 bcopy (str, new_str, len);
805 new_str[len] = '\0';
806 attr_hash_add_string (hashcode, new_str);
808 return new_str; /* Return the new string. */
786 register char *new_str; local

Completed in 225 milliseconds