Home
last modified time | relevance | path

Searched refs:newstring (Results 1 – 5 of 5) sorted by relevance

/dflybsd-src/games/hack/
H A Dhack.h94 #define newstring(x) ((char *) alloc(x)) macro
H A Dhack.do_name.c252 str = newstring(strlen(buf) + 1); in docall()
/dflybsd-src/contrib/gdb-7/bfd/
H A Dcoffgen.c1843 char *newstring; in coff_get_normalized_symtab() local
1851 newstring = (char *) bfd_zalloc (abfd, (bfd_size_type) (i + 1)); in coff_get_normalized_symtab()
1852 if (newstring == NULL) in coff_get_normalized_symtab()
1854 strncpy (newstring, internal_ptr->u.syment._n._n_name, i); in coff_get_normalized_symtab()
1855 internal_ptr->u.syment._n._n_n._n_offset = (bfd_hostptr_t) newstring; in coff_get_normalized_symtab()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Dcoffgen.c1907 char *newstring; in coff_get_normalized_symtab() local
1915 newstring = (char *) bfd_zalloc (abfd, (bfd_size_type) (i + 1)); in coff_get_normalized_symtab()
1916 if (newstring == NULL) in coff_get_normalized_symtab()
1918 strncpy (newstring, internal_ptr->u.syment._n._n_name, i); in coff_get_normalized_symtab()
1919 internal_ptr->u.syment._n._n_n._n_offset = (bfd_hostptr_t) newstring; in coff_get_normalized_symtab()
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Dcoffgen.c1942 char *newstring; in coff_get_normalized_symtab() local
1950 newstring = (char *) bfd_zalloc (abfd, (bfd_size_type) (i + 1)); in coff_get_normalized_symtab()
1951 if (newstring == NULL) in coff_get_normalized_symtab()
1953 strncpy (newstring, internal_ptr->u.syment._n._n_name, i); in coff_get_normalized_symtab()
1954 internal_ptr->u.syment._n._n_n._n_offset = (bfd_hostptr_t) newstring; in coff_get_normalized_symtab()