Lines Matching refs:namebuf
920 char *namebuf, *p; in sunos_add_dynamic_symbols() local
945 namebuf = bfd_malloc (alc + 1); in sunos_add_dynamic_symbols()
946 if (namebuf == NULL) in sunos_add_dynamic_symbols()
948 p = namebuf; in sunos_add_dynamic_symbols()
957 free (namebuf); in sunos_add_dynamic_symbols()
965 free (namebuf); in sunos_add_dynamic_symbols()
969 if ((bfd_size_type) (p - namebuf) >= alc) in sunos_add_dynamic_symbols()
974 n = bfd_realloc (namebuf, alc + 1); in sunos_add_dynamic_symbols()
977 free (namebuf); in sunos_add_dynamic_symbols()
980 p = n + (p - namebuf); in sunos_add_dynamic_symbols()
981 namebuf = n; in sunos_add_dynamic_symbols()
1001 if ((p - namebuf) + strlen (majbuf) + strlen (minbuf) >= alc) in sunos_add_dynamic_symbols()
1005 alc = (p - namebuf) + strlen (majbuf) + strlen (minbuf); in sunos_add_dynamic_symbols()
1006 n = bfd_realloc (namebuf, alc + 1); in sunos_add_dynamic_symbols()
1009 free (namebuf); in sunos_add_dynamic_symbols()
1012 p = n + (p - namebuf); in sunos_add_dynamic_symbols()
1013 namebuf = n; in sunos_add_dynamic_symbols()
1020 namecopy = bfd_alloc (abfd, (bfd_size_type) strlen (namebuf) + 1); in sunos_add_dynamic_symbols()
1023 free (namebuf); in sunos_add_dynamic_symbols()
1026 strcpy (namecopy, namebuf); in sunos_add_dynamic_symbols()
1027 free (namebuf); in sunos_add_dynamic_symbols()