Searched refs:newstr (Results 1 - 25 of 28) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/tools/ctf/common/
H A Dmemory.c72 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 Dconcat.c154 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 Dconcat.c154 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 Dconcat.c154 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 Dconcat.c155 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 Dam_ops.c321 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 Dwrite-properties.c82 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 Dbackupfile.c170 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 Dmonitor.c150 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 Dregexec.c201 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 Dvms-misc.c146 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 Dvms-misc.c146 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 Dpacket-show.c470 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 Dinetd.c351 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 Dfuncs.c65 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 Dfilename.c159 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 Dsdiff.c788 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 Dcontrolconf.c680 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 Dsubr.c81 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 Dmmix.c1142 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 Dmmix.c1172 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 Dm68hc11.c1196 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 Dm68hc11.c1182 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 Dbuiltins.c5013 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 Darm.c3015 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

Completed in 348 milliseconds

12