| /src/sys/arch/ia64/stand/common/ |
| interp_backslash.c | 45 char *new_str; local 49 if ((new_str = strdup(str)) == NULL) 57 new_str[i++] = '\\'; 65 new_str[i++] = '\\'; 66 new_str[i++] = *str++; 70 new_str[i++] = '\b'; 75 new_str[i++] = '\f'; 80 new_str[i++] = '\r'; 85 new_str[i++] = '\n'; 90 new_str[i++] = ' ' [all...] |
| /src/external/bsd/libarchive/dist/tar/ |
| subst.c | 158 char *new_str; local 166 new_str = malloc(old_len + len + 1); 167 if (new_str == NULL) 170 memcpy(new_str, *str, old_len); 171 memcpy(new_str + old_len, append, len); 172 new_str[old_len + len] = '\0'; 174 *str = new_str; 180 char *new_str; local 188 new_str = malloc(old_len + strlen(append) + 1); 189 if (new_str == NULL [all...] |
| /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| getopt.c | 175 char *new_str = malloc (top + 1); 176 if (new_str == NULL) 180 memset (__mempcpy (new_str, __getopt_nonoption_flags, 184 __getopt_nonoption_flags = new_str; 172 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| getopt.c | 175 char *new_str = malloc (top + 1); 176 if (new_str == NULL) 180 memset (__mempcpy (new_str, __getopt_nonoption_flags, 184 __getopt_nonoption_flags = new_str; 172 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/texinfo/dist/lib/ |
| getopt.c | 197 char *new_str = malloc (top + 1); 198 if (new_str == NULL) 202 memset (__mempcpy (new_str, __getopt_nonoption_flags, 206 __getopt_nonoption_flags = new_str; 194 char *new_str = malloc (top + 1); local
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
| asan_str_test.cc | 145 char *new_str; local 148 new_str = strdup(str); 149 free(new_str); 150 new_str = strdup(str + size - 1); 151 free(new_str); 165 char *new_str; local 168 new_str = strndup(str, size - 13); 169 free(new_str); 170 new_str = strndup(str + size - 1, 13); 171 free(new_str); [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| expand_path.c | 575 char * new_str = realloc(*ppath_out, len + append_len + 1); local 577 if (new_str == NULL) { 586 *ppath_out = new_str;
|
| /src/external/gpl2/diffutils/dist/lib/ |
| getopt.c | 337 char *new_str = malloc (top + 1); 338 if (new_str == NULL) 342 memset (__mempcpy (new_str, __getopt_nonoption_flags, 346 __getopt_nonoption_flags = new_str; 334 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/gmake/dist/ |
| getopt.c | 309 char *new_str = malloc (top + 1); 310 if (new_str == NULL) 314 memset (__mempcpy (new_str, __getopt_nonoption_flags, 318 __getopt_nonoption_flags = new_str; 307 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/grep/dist/lib/ |
| getopt.c | 329 char *new_str = malloc (top + 1); 330 if (new_str == NULL) 334 memset (__mempcpy (new_str, __getopt_nonoption_flags, 338 __getopt_nonoption_flags = new_str; 326 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| getopt.c | 179 char *new_str = malloc (top + 1); 180 if (new_str == NULL) 184 memset (__mempcpy (new_str, __getopt_nonoption_flags, 188 __getopt_nonoption_flags = new_str; 177 char *new_str = malloc (top + 1); local
|
| /src/external/gpl2/xcvs/dist/lib/ |
| getopt.c | 198 char *new_str = malloc (top + 1); 199 if (new_str == NULL) 203 memset (__mempcpy (new_str, __getopt_nonoption_flags, 207 __getopt_nonoption_flags = new_str; 195 char *new_str = malloc (top + 1); local
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| envmgmt.c | 639 char *new_str = env_prepend (env_name, sp_libpaths[v], local 641 if (new_str) 642 envp[idx] = new_str; 656 char *new_str = env_prepend (env_name, sp_preloads[v], local 658 if (new_str) 659 envp[idx] = new_str; 673 char *new_str = env_prepend (env_name, COLLECTOR_JVMTI_OPTION, local 675 if (new_str) 676 envp[idx] = new_str;
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| getopt.c | 333 char *new_str = (char *) malloc (top + 1); 334 if (new_str == NULL) 338 memset (mempcpy (new_str, __getopt_nonoption_flags, 342 __getopt_nonoption_flags = new_str; 330 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| envmgmt.c | 639 char *new_str = env_prepend (env_name, sp_libpaths[v], local 641 if (new_str) 642 envp[idx] = new_str; 656 char *new_str = env_prepend (env_name, sp_preloads[v], local 658 if (new_str) 659 envp[idx] = new_str; 673 char *new_str = env_prepend (env_name, COLLECTOR_JVMTI_OPTION, local 675 if (new_str) 676 envp[idx] = new_str;
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| getopt.c | 333 char *new_str = (char *) malloc (top + 1); 334 if (new_str == NULL) 338 memset (mempcpy (new_str, __getopt_nonoption_flags, 342 __getopt_nonoption_flags = new_str; 330 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| getopt.c | 339 char *new_str = (char *) malloc (top + 1); 340 if (new_str == NULL) 344 memset (mempcpy (new_str, __getopt_nonoption_flags, 348 __getopt_nonoption_flags = new_str; 336 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| getopt.c | 339 char *new_str = (char *) malloc (top + 1); 340 if (new_str == NULL) 344 memset (mempcpy (new_str, __getopt_nonoption_flags, 348 __getopt_nonoption_flags = new_str; 336 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| getopt.c | 339 char *new_str = (char *) malloc (top + 1); 340 if (new_str == NULL) 344 memset (mempcpy (new_str, __getopt_nonoption_flags, 348 __getopt_nonoption_flags = new_str; 336 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| getopt.c | 339 char *new_str = (char *) malloc (top + 1); 340 if (new_str == NULL) 344 memset (mempcpy (new_str, __getopt_nonoption_flags, 348 __getopt_nonoption_flags = new_str; 336 char *new_str = (char *) malloc (top + 1); local
|
| /src/external/gpl3/binutils/dist/gas/config/ |
| tc-m32c.c | 210 char *new_str; 241 new_str = XNEWVEC (char, ns_len); 242 ns = new_str; 297 md_assemble (new_str); 298 free (new_str); 208 char *new_str; local
|
| /src/external/gpl3/binutils.old/dist/gas/config/ |
| tc-m32c.c | 210 char *new_str; 241 new_str = XNEWVEC (char, ns_len); 242 ns = new_str; 297 md_assemble (new_str); 298 free (new_str); 208 char *new_str; local
|
| /src/external/gpl3/gcc/dist/gcc/config/i386/ |
| winnt.cc | 184 char *new_str, *p; 220 p = new_str = XALLOCAVEC (char, 1 + strlen (old_str) + 1 + 8 + 1); 225 return get_identifier (new_str); 183 char *new_str, *p; local
|
| /src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| winnt.cc | 184 char *new_str, *p; 220 p = new_str = XALLOCAVEC (char, 1 + strlen (old_str) + 1 + 8 + 1); 225 return get_identifier (new_str); 183 char *new_str, *p; local
|
| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| msginit.c | 1505 char *new_str = (char *) xmalloc (new_len + 1); local 1506 memcpy (new_str, str, i); 1507 memcpy (new_str + i, subst[j][1], replacement_len); 1508 strcpy (new_str + i + replacement_len, str + i + substlen[j]); 1511 str = new_str; 1512 malloced = new_str;
|