HomeSort by: relevance | last modified time | path
    Searched defs:newstr (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/external/bsd/libfido2/dist/openbsd-compat/
bsd-asprintf.c 39 char *string, *newstr; local
55 if ((newstr = realloc(string, len)) == NULL) {
60 ret = vsnprintf(newstr, len, fmt, ap2);
63 free(newstr);
66 *str = newstr;
  /src/external/cddl/osnet/dist/tools/ctf/common/
memory.c 90 char *newstr; local
92 if ((newstr = strdup(str)) == NULL)
95 return (newstr);
101 char *newstr; local
103 if ((newstr = malloc(len + 1)) == NULL)
106 (void) strncpy(newstr, str, len);
107 newstr[len] = '\0';
109 return (newstr);
  /src/external/gpl3/binutils/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/gpl3/binutils.old/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/gpl3/gcc/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/gpl3/gcc.old/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/gpl3/gdb/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/gpl3/gdb.old/dist/libiberty/
concat.c 142 char *newstr; local
147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
152 vconcat_copy (newstr, first, args);
155 return newstr;
179 char *newstr; local
184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1);
189 vconcat_copy (newstr, first, args);
194 return newstr;
  /src/external/bsd/am-utils/dist/amd/
am_ops.c 325 char *newstr; /* new string to return (malloc'ed) */ local
335 newstr = xmalloc(len);
336 newstr[0] = '\0';
352 if (newstr[0]) {
353 xstrlcat(newstr, ",", len);
354 xstrlcat(newstr, tmpstr, len);
356 xstrlcpy(newstr, tmpstr, len);
361 if (newstr[0]) {
362 xstrlcat(newstr, ",", len);
363 xstrlcat(newstr, opts2, len)
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/src/
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';
  /src/usr.bin/patch/
backupfile.c 170 char *newstr; local
172 if (asprintf(&newstr, "%s%s", str1, str2) == -1)
174 return newstr;
  /src/crypto/external/bsd/netpgp/dist/src/lib/
packet-show.c 472 char *newstr; local
473 if (asprintf(&newstr, "Unknown bit(0x%x)", bit) == -1) {
477 if (!add_str(&map->unknown, newstr)) {
480 free(newstr);
  /src/external/gpl3/binutils/dist/bfd/
vms-misc.c 145 char *newstr;
152 newstr = bfd_alloc (abfd, size + 1);
153 if (newstr == NULL)
155 memcpy (newstr, str, size);
156 newstr[size] = 0;
158 return newstr;
144 char *newstr; local
  /src/external/gpl3/binutils/dist/gprofng/libcollector/
envmgmt.c 227 char * newstr = env_prepend (envvar, str, separator, old_str); local
228 if (newstr)
230 if (CALL_UTIL (putenv)(newstr) != 0)
232 TprintfT (DBG_LT2, "putenv_prepend(): ERROR %s is not set!\n", newstr);
  /src/external/gpl3/binutils/dist/libctf/
ctf-string.c 292 char *newstr = NULL; local
341 if ((newstr = strdup (str)) == NULL)
344 atom->csa_str = newstr;
381 free (newstr);
  /src/external/gpl3/binutils.old/dist/bfd/
vms-misc.c 145 char *newstr;
152 newstr = bfd_alloc (abfd, size + 1);
153 if (newstr == NULL)
155 memcpy (newstr, str, size);
156 newstr[size] = 0;
158 return newstr;
144 char *newstr; local
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
envmgmt.c 227 char * newstr = env_prepend (envvar, str, separator, old_str); local
228 if (newstr)
230 if (CALL_UTIL (putenv)(newstr) != 0)
232 TprintfT (DBG_LT2, "putenv_prepend(): ERROR %s is not set!\n", newstr);
  /src/external/gpl3/binutils.old/dist/libctf/
ctf-string.c 292 char *newstr = NULL; local
341 if ((newstr = strdup (str)) == NULL)
344 atom->csa_str = newstr;
381 free (newstr);
  /src/external/gpl3/gdb/dist/bfd/
vms-misc.c 145 char *newstr;
152 newstr = bfd_alloc (abfd, size + 1);
153 if (newstr == NULL)
155 memcpy (newstr, str, size);
156 newstr[size] = 0;
158 return newstr;
144 char *newstr; local
  /src/external/gpl3/gdb/dist/libctf/
ctf-string.c 292 char *newstr = NULL; local
341 if ((newstr = strdup (str)) == NULL)
344 atom->csa_str = newstr;
381 free (newstr);
  /src/external/gpl3/gdb.old/dist/bfd/
vms-misc.c 145 char *newstr;
152 newstr = bfd_alloc (abfd, size + 1);
153 if (newstr == NULL)
155 memcpy (newstr, str, size);
156 newstr[size] = 0;
158 return newstr;
144 char *newstr; local
  /src/external/gpl3/gdb.old/dist/libctf/
ctf-string.c 284 char *newstr = NULL; local
333 if ((newstr = strdup (str)) == NULL)
336 atom->csa_str = newstr;
373 free (newstr);
  /src/usr.bin/sdiff/
sdiff.c 788 char *newstr; local
823 newstr = realloc(*s, newsiz);
824 if (newstr == NULL)
826 *s = newstr;
  /src/external/bsd/less/dist/
filename.c 144 char *newstr; local
190 newstr = p = (char *) ecalloc(len, sizeof(char));
193 SNPRINTF3(newstr, len, "%c%s%c", openquote, s, closequote);
210 return (newstr);
  /src/usr.sbin/inetd/
parse.c 441 policy = newstr(p);
482 sep->se_hostaddr = newstr(arg + 1);
484 sep->se_hostaddr = newstr(arg);
509 sep->se_service = newstr(c);
511 sep->se_service = newstr(arg);
583 sep->se_hostaddr = newstr(defhost);
599 sep->se_proto = newstr(arg);
759 sep->se_group = newstr(separator + 1);
762 sep->se_user = newstr(arg);
779 sep->se_argv[argc++] = newstr(arg)
882 newstr(const char *cp) function
    [all...]

Completed in 144 milliseconds

1 2