/netbsd-src/external/bsd/ipf/dist/lib/ |
H A D | var.c | 90 char c, *s, *p1, *p2, *p3, *newstring, *value; local 94 newstring = oldstring; 109 return newstring; 119 len = strlen(newstring) + strlen(p2); 130 strcpy(p1, newstring); 136 if (newstring != oldstring) 137 free(newstring); 138 newstring = p1; 142 return newstring;
|
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/ |
H A D | html.c | 346 char *newstring; in escape_string() local 372 newstring = xmalloc (newlen); in escape_string() 379 strcpy (newstring, """); in escape_string() 380 newstring += 6; in escape_string() 383 strcpy (newstring, "&"); in escape_string() 384 newstring += 5; in escape_string() 387 strcpy (newstring, "<"); in escape_string() 388 newstring += 4; in escape_string() 391 strcpy (newstring, ">"); in escape_string() 392 newstring += 4; in escape_string() [all …]
|
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
H A D | symtabs.c | 89 *first = (struct tree *)newstring(key, len); in symtab_add() 132 new->lr[bit] = (struct tree *)newstring(key, len); in symtab_add()
|
H A D | scan.l | 784 pragma_renamed = newstring(f, strlen(f));
|
H A D | cgram.y | 785 pragma_renamed = newstring($4, strlen($4)); 797 pragma_renamed = newstring($4, strlen($4)); 2110 p->n_name = isinlining ? newstring(str, strlen(str)) : str; in xasmop() 2123 q->n_name = isinlining ? newstring(str, strlen(str)) : str; in mkxasm()
|
H A D | gcc_compat.c | 324 aa->sarg = newstring(p->n_name, strlen(p->n_name)); in setaarg()
|
/netbsd-src/games/hack/ |
H A D | hack.h | 94 #define newstring(x) ((char *) alloc(x)) macro
|
H A D | hack.do_name.c | 257 str = newstring(strlen(buf) + 1); in docall()
|
/netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
H A D | symtabs.c | 96 *first = (struct tree *)newstring(key, len); in symtab_add() 139 new->lr[bit] = (struct tree *)newstring(key, len); in symtab_add()
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | coffgen.c | 2001 char *newstring; in coff_get_normalized_symtab() local 2009 newstring = bfd_alloc (abfd, i + 1); in coff_get_normalized_symtab() 2010 if (newstring == NULL) in coff_get_normalized_symtab() 2012 memcpy (newstring, sym->u.syment._n._n_name, i); in coff_get_normalized_symtab() 2013 newstring[i] = 0; in coff_get_normalized_symtab() 2014 sym->u.syment._n._n_n._n_offset = (uintptr_t) newstring; in coff_get_normalized_symtab()
|
/netbsd-src/external/bsd/pcc/dist/pcc/mip/ |
H A D | manifest.h | 348 char *newstring(char *, size_t);
|
H A D | common.c | 830 newstring(char *s, size_t len) in newstring() function
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | coffgen.c | 1905 char *newstring; in coff_get_normalized_symtab() local 1913 newstring = (char *) bfd_zalloc (abfd, (bfd_size_type) (i + 1)); in coff_get_normalized_symtab() 1914 if (newstring == NULL) in coff_get_normalized_symtab() 1916 strncpy (newstring, internal_ptr->u.syment._n._n_name, i); in coff_get_normalized_symtab() 1917 internal_ptr->u.syment._n._n_n._n_offset = (uintptr_t) newstring; in coff_get_normalized_symtab()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/arm/ |
H A D | local.c | 648 nextsect = newstring(a2, strlen(a2)); in mypragma()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/amd64/ |
H A D | local.c | 842 return newstring(name, len); in section2string()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/hppa/ |
H A D | local.c | 765 return newstring(name, len); in section2string()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/i386/ |
H A D | local.c | 98 s->name = newstring(name, strlen(name)); in addstub()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/powerpc/ |
H A D | local.c | 56 s->name = newstring(name, strlen(name)); in addstub()
|