Home
last modified time | relevance | path

Searched refs:new_str (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/sys/arch/ia64/stand/common/
H A Dinterp_backslash.c45 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 Dasan_str_test.cc145 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 Denvmgmt.c649 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 Denvmgmt.c649 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 Ddiff.py79 new_str = '\n NEW SYMBOL: %s' % new_sym
82 old_str, new_str))
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dgetopt.c336 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 Dgetopt.c336 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 Dgetopt.c336 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 Dgetopt.c320 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 Dgetopt.c336 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 Dgetopt.c334 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 Dgetopt.c326 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 Dmsginit.c1505 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 Dtc-m32c.c221 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 Dtc-m32c.c208 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 Dexpand_path.c575 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 Dgetopt.c172 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 Dgetopt.c172 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 Dgetopt.c194 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 Dgetopt.c194 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 Dgetopt.c195 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 Dwinnt.c183 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 Dwinnt.cc183 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 Dtoy.cpp639 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 Dtoy.cpp637 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()

12