/netbsd-src/sys/arch/ia64/stand/common/ |
H A D | interp_backslash.c | 45 char *new_str; in backslash() local 49 if ((new_str = strdup(str)) == NULL) in backslash() 57 new_str[i++] = '\\'; in backslash() 65 new_str[i++] = '\\'; in backslash() 66 new_str[i++] = *str++; in backslash() 70 new_str[i++] = '\b'; in backslash() 75 new_str[i++] = '\f'; in backslash() 80 new_str[i++] = '\r'; in backslash() 85 new_str[i++] = '\n'; in backslash() 90 new_str[i++] = ' '; in backslash() [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
H A D | asan_str_test.cc | 145 char *new_str; in TEST() local 148 new_str = strdup(str); in TEST() 149 free(new_str); in TEST() 150 new_str = strdup(str + size - 1); in TEST() 151 free(new_str); in TEST() 165 char *new_str; in TEST() local 168 new_str = strndup(str, size - 13); in TEST() 169 free(new_str); in TEST() 170 new_str = strndup(str + size - 1, 13); in TEST() 171 free(new_str); in TEST() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
H A D | envmgmt.c | 649 char *new_str = env_prepend (env_name, sp_libpaths[v], in __collector_env_update() local 651 if (new_str) in __collector_env_update() 652 envp[idx] = new_str; in __collector_env_update() 666 char *new_str = env_prepend (env_name, sp_preloads[v], in __collector_env_update() local 668 if (new_str) in __collector_env_update() 669 envp[idx] = new_str; in __collector_env_update() 683 char *new_str = env_prepend (env_name, COLLECTOR_JVMTI_OPTION, in __collector_env_update() local 685 if (new_str) in __collector_env_update() 686 envp[idx] = new_str; in __collector_env_update()
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | envmgmt.c | 649 char *new_str = env_prepend (env_name, sp_libpaths[v], in __collector_env_update() local 651 if (new_str) in __collector_env_update() 652 envp[idx] = new_str; in __collector_env_update() 666 char *new_str = env_prepend (env_name, sp_preloads[v], in __collector_env_update() local 668 if (new_str) in __collector_env_update() 669 envp[idx] = new_str; in __collector_env_update() 683 char *new_str = env_prepend (env_name, COLLECTOR_JVMTI_OPTION, in __collector_env_update() local 685 if (new_str) in __collector_env_update() 686 envp[idx] = new_str; in __collector_env_update()
|
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/sym_check/ |
H A D | diff.py | 79 new_str = '\n NEW SYMBOL: %s' % new_sym 82 old_str, new_str))
|
/netbsd-src/external/gpl3/binutils/dist/libiberty/ |
H A D | getopt.c | 336 char *new_str = (char *) malloc (top + 1); in exchange() local 337 if (new_str == NULL) in exchange() 341 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange() 345 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl3/gcc/dist/libiberty/ |
H A D | getopt.c | 336 char *new_str = (char *) malloc (top + 1); in exchange() local 337 if (new_str == NULL) in exchange() 341 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange() 345 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
H A D | getopt.c | 336 char *new_str = (char *) malloc (top + 1); in exchange() local 337 if (new_str == NULL) in exchange() 341 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange() 345 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/gmake/dist/ |
H A D | getopt.c | 320 char *new_str = malloc (top + 1); in exchange() local 321 if (new_str == NULL) in exchange() 325 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 329 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
H A D | getopt.c | 336 char *new_str = (char *) malloc (top + 1); in exchange() local 337 if (new_str == NULL) in exchange() 341 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange() 345 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/diffutils/dist/lib/ |
H A D | getopt.c | 334 char *new_str = malloc (top + 1); local 335 if (new_str == NULL) 339 memset (__mempcpy (new_str, __getopt_nonoption_flags, 343 __getopt_nonoption_flags = new_str;
|
/netbsd-src/external/gpl2/grep/dist/lib/ |
H A D | getopt.c | 326 char *new_str = malloc (top + 1); local 327 if (new_str == NULL) 331 memset (__mempcpy (new_str, __getopt_nonoption_flags, 335 __getopt_nonoption_flags = new_str;
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | msginit.c | 1505 char *new_str = (char *) xmalloc (new_len + 1); in subst_string() local 1506 memcpy (new_str, str, i); in subst_string() 1507 memcpy (new_str + i, subst[j][1], replacement_len); in subst_string() 1508 strcpy (new_str + i + replacement_len, str + i + substlen[j]); in subst_string() 1511 str = new_str; in subst_string() 1512 malloced = new_str; in subst_string()
|
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
H A D | tc-m32c.c | 221 char *new_str; in m32c_indirect_operand() local 252 new_str = XNEWVEC (char, ns_len); in m32c_indirect_operand() 253 ns = new_str; in m32c_indirect_operand() 308 md_assemble (new_str); in m32c_indirect_operand() 309 free (new_str); in m32c_indirect_operand()
|
/netbsd-src/external/gpl3/binutils/dist/gas/config/ |
H A D | tc-m32c.c | 208 char *new_str; in m32c_indirect_operand() local 239 new_str = XNEWVEC (char, ns_len); in m32c_indirect_operand() 240 ns = new_str; in m32c_indirect_operand() 295 md_assemble (new_str); in m32c_indirect_operand() 296 free (new_str); in m32c_indirect_operand()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | expand_path.c | 575 char * new_str = realloc(*ppath_out, len + append_len + 1); in _krb5_expand_path_tokensv() local 577 if (new_str == NULL) { in _krb5_expand_path_tokensv() 586 *ppath_out = new_str; in _krb5_expand_path_tokensv()
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
H A D | getopt.c | 172 char *new_str = malloc (top + 1); in exchange() local 173 if (new_str == NULL) in exchange() 177 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 181 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | getopt.c | 172 char *new_str = malloc (top + 1); in exchange() local 173 if (new_str == NULL) in exchange() 177 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 181 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/texinfo/dist/lib/ |
H A D | getopt.c | 194 char *new_str = malloc (top + 1); in exchange() local 195 if (new_str == NULL) in exchange() 199 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 203 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/ |
H A D | getopt.c | 194 char *new_str = malloc (top + 1); in exchange() local 195 if (new_str == NULL) in exchange() 199 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 203 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl2/xcvs/dist/lib/ |
H A D | getopt.c | 195 char *new_str = malloc (top + 1); in exchange() local 196 if (new_str == NULL) in exchange() 200 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange() 204 __getopt_nonoption_flags = new_str; in exchange()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
H A D | winnt.c | 183 char *new_str, *p; in gen_stdcall_or_fastcall_suffix() local 219 p = new_str = XALLOCAVEC (char, 1 + strlen (old_str) + 1 + 8 + 1); in gen_stdcall_or_fastcall_suffix() 224 return get_identifier (new_str); in gen_stdcall_or_fastcall_suffix()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
H A D | winnt.cc | 183 char *new_str, *p; in gen_stdcall_or_fastcall_suffix() local 219 p = new_str = XALLOCAVEC (char, 1 + strlen (old_str) + 1 + 8 + 1); in gen_stdcall_or_fastcall_suffix() 224 return get_identifier (new_str); in gen_stdcall_or_fastcall_suffix()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy.cpp | 639 char new_str[16]; in MakeLegalFunctionName() local 640 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName() 641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 637 char new_str[16]; in MakeLegalFunctionName() local 638 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName() 639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
|