Lines Matching refs:namebuf
921 char *namebuf, *p;
946 namebuf = bfd_malloc (alc + 1);
947 if (namebuf == NULL)
949 p = namebuf;
958 free (namebuf);
966 free (namebuf);
970 if ((bfd_size_type) (p - namebuf) >= alc)
975 n = bfd_realloc (namebuf, alc + 1);
978 free (namebuf);
981 p = n + (p - namebuf);
982 namebuf = n;
1002 if ((p - namebuf) + strlen (majbuf) + strlen (minbuf) >= alc)
1006 alc = (p - namebuf) + strlen (majbuf) + strlen (minbuf);
1007 n = bfd_realloc (namebuf, alc + 1);
1010 free (namebuf);
1013 p = n + (p - namebuf);
1014 namebuf = n;
1021 namecopy = bfd_alloc (abfd, (bfd_size_type) strlen (namebuf) + 1);
1024 free (namebuf);
1027 strcpy (namecopy, namebuf);
1028 free (namebuf);