Home
last modified time | relevance | path

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

/dragonfly/stand/boot/common/
H A Dinterp_backslash.c41 char *new_str; in backslash() local
63 new_str[i++] = '\\'; in backslash()
71 new_str[i++] = '\\'; in backslash()
76 new_str[i++] = '\b'; in backslash()
81 new_str[i++] = '\f'; in backslash()
86 new_str[i++] = '\r'; in backslash()
91 new_str[i++] = '\n'; in backslash()
96 new_str[i++] = ' '; in backslash()
101 new_str[i++] = '\t'; in backslash()
175 new_str[i] = 0; in backslash()
[all …]
/dragonfly/contrib/libarchive/tar/
H A Dsubst.c169 char *new_str; in realloc_strncat() local
177 new_str = malloc(old_len + len + 1); in realloc_strncat()
178 if (new_str == NULL) in realloc_strncat()
181 memcpy(new_str, *str, old_len); in realloc_strncat()
183 new_str[old_len + len] = '\0'; in realloc_strncat()
185 *str = new_str; in realloc_strncat()
191 char *new_str; in realloc_strcat() local
200 if (new_str == NULL) in realloc_strcat()
203 memcpy(new_str, *str, old_len); in realloc_strcat()
204 strcpy(new_str + old_len, append); in realloc_strcat()
[all …]
/dragonfly/contrib/binutils-2.34/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()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dgetopt.c337 char *new_str = (char *) malloc (top + 1); in exchange() local
338 if (new_str == NULL) in exchange()
342 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange()
346 __getopt_nonoption_flags = new_str; in exchange()
/dragonfly/contrib/gdb-7/libiberty/
H A Dgetopt.c337 char *new_str = (char *) malloc (top + 1); in exchange() local
338 if (new_str == NULL) in exchange()
342 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange()
346 __getopt_nonoption_flags = new_str; in exchange()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dgetopt.c337 char *new_str = (char *) malloc (top + 1); in exchange() local
338 if (new_str == NULL) in exchange()
342 memset (mempcpy (new_str, __getopt_nonoption_flags, in exchange()
346 __getopt_nonoption_flags = new_str; in exchange()
/dragonfly/contrib/gcc-8.0/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()
/dragonfly/contrib/cvs-1.12/lib/
H A Dgetopt.c192 char *new_str = malloc (top + 1); in exchange() local
193 if (new_str == NULL) in exchange()
197 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange()
201 __getopt_nonoption_flags = new_str; in exchange()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgensupport.c1193 char *new_str; in add_mnemonic_string() local
1206 new_str = XNEWVAR (char, len + 1); in add_mnemonic_string()
1207 memcpy (new_str, str_zero, len + 1); in add_mnemonic_string()
1208 *slot = new_str; in add_mnemonic_string()
H A Dgenattrtab.c600 char *new_str; in attr_string() local
616 new_str = XOBNEWVAR (hash_obstack, char, len + 1); in attr_string()
617 memcpy (new_str, str, len); in attr_string()
618 new_str[len] = '\0'; in attr_string()
619 attr_hash_add_string (hashcode, new_str); in attr_string()
620 copy_md_ptr_loc (new_str, str); in attr_string()
622 return new_str; /* Return the new string. */ in attr_string()
H A Domp-low.c6187 char *new_str; in lower_omp_critical() local
6191 new_str = ACONCAT ((".gomp_critical_user_", in lower_omp_critical()
6193 DECL_NAME (decl) = get_identifier (new_str); in lower_omp_critical()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgensupport.c2271 char *new_str; in add_mnemonic_string() local
2284 new_str = XNEWVAR (char, len + 1); in add_mnemonic_string()
2285 memcpy (new_str, str_zero, len + 1); in add_mnemonic_string()
2286 *slot = new_str; in add_mnemonic_string()
H A Dgenattrtab.c633 char *new_str; in attr_string() local
649 new_str = XOBNEWVAR (hash_obstack, char, len + 1); in attr_string()
650 memcpy (new_str, str, len); in attr_string()
651 new_str[len] = '\0'; in attr_string()
652 attr_hash_add_string (hashcode, new_str); in attr_string()
653 rtx_reader_ptr->copy_md_ptr_loc (new_str, str); in attr_string()
655 return new_str; /* Return the new string. */ in attr_string()
H A Domp-low.c6632 char *new_str; in lower_omp_critical() local
6636 new_str = ACONCAT ((".gomp_critical_user_", in lower_omp_critical()
6638 DECL_NAME (decl) = get_identifier (new_str); in lower_omp_critical()