/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/tools/ctf/common/ |
H A D | memory.c | 72 char *newstr; local 74 if ((newstr = strdup(str)) == NULL) 77 return (newstr); 83 char *newstr; local 85 if ((newstr = malloc(len + 1)) == NULL) 88 (void) strncpy(newstr, str, len); 89 newstr[len] = '\0'; 91 return (newstr);
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/ |
H A D | concat.c | 154 char *newstr; local 159 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 165 vconcat_copy (newstr, first, args); 168 return newstr; 191 char *newstr; local 197 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 204 vconcat_copy (newstr, first, args); 209 return newstr;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/ |
H A D | concat.c | 154 char *newstr; local 159 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 165 vconcat_copy (newstr, first, args); 168 return newstr; 191 char *newstr; local 197 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 204 vconcat_copy (newstr, first, args); 209 return newstr;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/ |
H A D | concat.c | 154 char *newstr; local 159 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 165 vconcat_copy (newstr, first, args); 168 return newstr; 191 char *newstr; local 197 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 204 vconcat_copy (newstr, first, args); 209 return newstr;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/ |
H A D | concat.c | 155 char *newstr; local 160 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 166 vconcat_copy (newstr, first, args); 169 return newstr; 193 char *newstr; local 199 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 206 vconcat_copy (newstr, first, args); 211 return newstr;
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | am_ops.c | 321 char *newstr; /* new string to return (malloc'ed) */ local 331 newstr = xmalloc(len); 332 newstr[0] = '\0'; 348 if (newstr[0]) { 349 xstrlcat(newstr, ",", len); 350 xstrlcat(newstr, tmpstr, len); 352 xstrlcpy(newstr, tmpstr, len); 357 if (newstr[0]) { 358 xstrlcat(newstr, ",", len); 359 xstrlcat(newstr, opts [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/ |
H A D | write-properties.c | 82 char *newstr = result; local 95 *newstr++ = uc; 99 sprintf (newstr, "\\u%c%c%c%c", 102 newstr += 6; 109 sprintf (newstr, "\\u%c%c%c%c", 112 newstr += 6; 113 sprintf (newstr, "\\u%c%c%c%c", 116 newstr += 6; 119 *newstr = '\0';
|
/netbsd-6-1-5-RELEASE/usr.bin/patch/ |
H A D | backupfile.c | 170 char *newstr; local 172 if (asprintf(&newstr, "%s%s", str1, str2) == -1) 174 return newstr;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | monitor.c | 150 monitor_printable_string (char *newstr, char *oldstr, int len) argument 165 *newstr++ = ch; 169 sprintf (newstr, "\\x%02x", ch & 0xff); 170 newstr += 4; 175 *newstr++ = '\\'; 176 *newstr++ = '\\'; 179 *newstr++ = '\\'; 180 *newstr++ = 'b'; 183 *newstr++ = '\\'; 184 *newstr [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/lib/ |
H A D | regexec.c | 201 const char *newstr; local 207 newstr = &str[pmatch[0].rm_so]; 212 newstr = str; 216 return tre_regnexec(preg, newstr, newlen, nmatch, pmatch, (int)newflags);
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/ |
H A D | vms-misc.c | 146 char *newstr = bfd_malloc ((bfd_size_type) size + 1); 148 if (newstr == NULL) 150 memcpy (newstr, (char *) str, (size_t) size); 151 newstr[size] = 0; 153 return newstr; 145 char *newstr = bfd_malloc ((bfd_size_type) size + 1); local
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/ |
H A D | vms-misc.c | 146 char *newstr = bfd_malloc ((bfd_size_type) size + 1); 148 if (newstr == NULL) 150 memcpy (newstr, (char *) str, (size_t) size); 151 newstr[size] = 0; 153 return newstr; 145 char *newstr = bfd_malloc ((bfd_size_type) size + 1); local
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | packet-show.c | 470 char *newstr; local 471 if (asprintf(&newstr, "Unknown bit(0x%x)", bit) == -1) { 475 if (!add_str(&map->unknown, newstr)) { 478 free(newstr);
|
/netbsd-6-1-5-RELEASE/usr.sbin/inetd/ |
H A D | inetd.c | 351 static char *newstr(const char *); 1247 defhost = newstr("*"); 1305 policy = newstr(p); 1332 sep->se_hostaddr = newstr(arg + 1); 1334 sep->se_hostaddr = newstr(arg); 1349 sep->se_hostaddr = newstr(defhost); 1357 sep->se_service = newstr(c); 1359 sep->se_service = newstr(arg); 1411 sep->se_proto = newstr(arg); 1595 sep->se_user = newstr(sski 1734 newstr(const char *cp) function [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/ |
H A D | funcs.c | 65 char *buf, *newstr; local 72 len = asprintf(&newstr, "%s%s", ms->o.buf, buf); 77 buf = newstr;
|
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/ |
H A D | filename.c | 159 char *newstr; local 205 newstr = p = (char *) ecalloc(len, sizeof(char)); 208 SNPRINTF3(newstr, len, "%c%s%c", openquote, s, closequote); 225 return (newstr);
|
/netbsd-6-1-5-RELEASE/usr.bin/sdiff/ |
H A D | sdiff.c | 788 char *newstr; local 823 newstr = realloc(*s, newsiz); 824 if (newstr == NULL) 826 *s = newstr;
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/named/ |
H A D | controlconf.c | 680 char *newstr = NULL; local 691 newstr = isc_mem_strdup(mctx, str); 692 if (newstr == NULL) 697 key->keyname = newstr; 702 newstr = NULL; 707 if (newstr != NULL) 708 isc_mem_free(mctx, newstr);
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/ |
H A D | subr.c | 81 bool newstr = !*lenp; local 82 expand_string (str, lenp, (newstr ? 0 : strlen (*str)) + strlen (src) + 1); 83 if (newstr)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/mmix/ |
H A D | mmix.c | 1142 char *newstr; local 1145 newstr = (char *) ggc_alloc_string ("", len + 1); 1147 strcpy (newstr + 1, str); 1148 *newstr = '@'; 1149 XSTR (XEXP (rtl, 0), 0) = newstr;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/mmix/ |
H A D | mmix.c | 1172 char *newstr = XALLOCAVEC (char, len + 2); local 1173 newstr[0] = '@'; 1174 strcpy (newstr + 1, str); 1175 XSTR (XEXP (rtl, 0), 0) = ggc_alloc_string (newstr, len + 1);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/m68hc11/ |
H A D | m68hc11.c | 1196 char *newstr = XALLOCAVEC (char, len + 2); 1198 newstr[0] = '@'; 1199 strcpy (&newstr[1], str); 1201 XSTR (XEXP (DECL_RTL (decl), 0), 0) = ggc_alloc_string (newstr, len + 1); 1188 char *newstr = XALLOCAVEC (char, len + 2); local
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/m68hc11/ |
H A D | m68hc11.c | 1182 char *newstr = alloca (len + 2); 1184 newstr[0] = '@'; 1185 strcpy (&newstr[1], str); 1187 XSTR (XEXP (DECL_RTL (decl), 0), 0) = ggc_alloc_string (newstr, len + 1); 1175 char *newstr = alloca (len + 2); local
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | builtins.c | 5013 char *newstr = alloca (len); 5014 memcpy (newstr, fmt_str, len - 1); 5015 newstr[len - 1] = 0; 5017 arg = build_string_literal (len, newstr); 11003 char *newstr = alloca (len); 11004 memcpy (newstr, str, len - 1); 11005 newstr[len - 1] = 0; 11007 arg = build_string_literal (len, newstr); 5012 char *newstr = alloca (len); local 11000 char *newstr = alloca (len); local
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/arm/ |
H A D | arm.c | 3015 char * newstr; 3021 newstr = alloca (len + 2); 3022 newstr[0] = flag; 3023 strcpy (newstr + 1, str); 3025 newstr = (char *) ggc_alloc_string (newstr, len + 1); 3026 XSTR (XEXP (DECL_RTL (decl), 0), 0) = newstr; 3008 char * newstr; local
|