Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_util.c959 char *new_str = NULL; in update_kcfconf() local
974 if ((new_str = ent2str(pent)) == NULL) { in update_kcfconf()
977 if (strlen(new_str) == 0) { in update_kcfconf()
978 free(new_str); in update_kcfconf()
1080 (void) strlcpy(buffer, new_str, BUFSIZ); in update_kcfconf()
1081 free(new_str); in update_kcfconf()
1099 if (fputs(new_str, pfile_tmp) == EOF) { in update_kcfconf()
1106 free(new_str); in update_kcfconf()
/titanic_50/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c344 char *new_str; in strcopys() local
348 new_str = (str->s_str == NULL) ? in strcopys()
351 if (new_str == NULL) { in strcopys()
354 str->s_str = new_str; in strcopys()
369 char *new_str; in strcats() local
373 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) : in strcats()
375 if (new_str == NULL) { in strcats()
378 str->s_str = new_str; in strcats()
393 char *new_str; in strcatc() local
397 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) : in strcatc()
[all …]
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c97 char *new_str; in sip_add_aquot_to_str() local
107 new_str = calloc(1, size + 1); in sip_add_aquot_to_str()
108 if (new_str == NULL) in sip_add_aquot_to_str()
110 new_str[0] = SIP_LAQUOT; in sip_add_aquot_to_str()
111 new_str[1] = '\0'; in sip_add_aquot_to_str()
112 (void) strncat(new_str, str, strlen(str)); in sip_add_aquot_to_str()
113 (void) strncat(new_str, ">", 1); in sip_add_aquot_to_str()
114 new_str[size] = '\0'; in sip_add_aquot_to_str()
116 return (new_str); in sip_add_aquot_to_str()
/titanic_50/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c329 char *new_str = malloc (top + 1); local
330 if (new_str == NULL)
334 memset (__mempcpy (new_str, __getopt_nonoption_flags,
338 __getopt_nonoption_flags = new_str;
/titanic_50/usr/src/cmd/syseventadm/
H A Dsyseventadm.c1049 char *new_str; in strcats() local
1053 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) : in strcats()
1055 str->s_str = new_str; in strcats()
1069 char *new_str; in strcatc() local
1073 new_str = (str->s_str == NULL) ? sc_malloc(len+str->s_hint) : in strcatc()
1075 str->s_str = new_str; in strcatc()
/titanic_50/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c99 modify_path(char *path, char *old_str, char *new_str) in modify_path() argument
116 len = strlen(path) - strlen(old_str) + strlen(new_str) + 1; in modify_path()
126 (void) strcat(newpath, new_str); in modify_path()