Searched refs:new_str (Results 1 - 9 of 9) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/parted/
H A Dstrlist.c293 wchar_t* new_str = gettext_to_wchar (str); local
297 if (wchar_strcasecmp (new_str, walk->str) == 0) {
298 free (new_str);
304 return _str_list_append (list, new_str);
H A Dui.c763 char* new_str = realloc (str, length); local
765 strcat (new_str, append);
766 return new_str;
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c332 char *new_str = malloc (top + 1);
333 if (new_str == NULL)
337 memset (__mempcpy (new_str, __getopt_nonoption_flags,
341 __getopt_nonoption_flags = new_str;
329 char *new_str = malloc (top + 1); local
/opensolaris-onvv-gate/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c97 char *new_str; local
107 new_str = calloc(1, size + 1);
108 if (new_str == NULL)
110 new_str[0] = SIP_LAQUOT;
111 new_str[1] = '\0';
112 (void) strncat(new_str, str, strlen(str));
113 (void) strncat(new_str, ">", 1);
114 new_str[size] = '\0';
116 return (new_str);
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_util.c959 char *new_str = NULL; local
974 if ((new_str = ent2str(pent)) == NULL) {
977 if (strlen(new_str) == 0) {
978 free(new_str);
1080 (void) strlcpy(buffer, new_str, BUFSIZ);
1081 free(new_str);
1099 if (fputs(new_str, pfile_tmp) == EOF) {
1106 free(new_str);
/opensolaris-onvv-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c344 char *new_str; local
348 new_str = (str->s_str == NULL) ?
351 if (new_str == NULL) {
354 str->s_str = new_str;
369 char *new_str; local
373 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) :
375 if (new_str == NULL) {
378 str->s_str = new_str;
393 char *new_str; local
397 new_str
[all...]
/opensolaris-onvv-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c1049 char *new_str; local
1053 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) :
1055 str->s_str = new_str;
1069 char *new_str; local
1073 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) :
1075 str->s_str = new_str;
/opensolaris-onvv-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c94 * Replace the substring "old_str" in a path with the substring "new_str"
99 modify_path(char *path, char *old_str, char *new_str) argument
116 len = strlen(path) - strlen(old_str) + strlen(new_str) + 1;
126 (void) strcat(newpath, new_str);
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/
H A Dgetopt.c175 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

Completed in 192 milliseconds