Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.bin/texinfo/makeinfo/
H A Dhtml.c347 char *newstring; in escape_string() local
373 newstring = xmalloc (newlen); in escape_string()
380 strcpy (newstring, """); in escape_string()
381 newstring += 6; in escape_string()
384 strcpy (newstring, "&"); in escape_string()
385 newstring += 5; in escape_string()
388 strcpy (newstring, "<"); in escape_string()
389 newstring += 4; in escape_string()
392 strcpy (newstring, ">"); in escape_string()
393 newstring += 4; in escape_string()
[all …]
/openbsd-src/usr.sbin/pppd/
H A Dmain.c1554 char *p, *newstring;
1556 if (asprintf(&newstring, "%s=%s", var, value) == -1)
1564 script_env[i] = newstring;
1587 script_env[i] = newstring;
1588 char *p, *newstring; global() local
/openbsd-src/games/hack/
H A Dhack.do_name.c247 str = newstring(len); in docall()
H A Dhack.h97 #define newstring(x) (char *) alloc((unsigned)(x)) macro
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoffgen.c1673 char *newstring; in coff_get_normalized_symtab() local
1681 newstring = bfd_zalloc (abfd, (bfd_size_type) (i + 1)); in coff_get_normalized_symtab()
1682 if (newstring == NULL) in coff_get_normalized_symtab()
1684 strncpy (newstring, internal_ptr->u.syment._n._n_name, i); in coff_get_normalized_symtab()
1685 internal_ptr->u.syment._n._n_n._n_offset = (long int) newstring; in coff_get_normalized_symtab()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dcoffgen.c1835 char *newstring; local
1843 newstring = (PTR) bfd_zalloc (abfd, (bfd_size_type) (i + 1));
1844 if (newstring == NULL)
1846 strncpy (newstring, internal_ptr->u.syment._n._n_name, i);
1847 internal_ptr->u.syment._n._n_n._n_offset = (long int) newstring;