Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/common/
H A Dinterp_backslash.c41 char *new_str; in backslash() local
53 new_str[i++] = '\\'; in backslash()
61 new_str[i++] = '\\'; in backslash()
66 new_str[i++] = '\b'; in backslash()
71 new_str[i++] = '\f'; in backslash()
76 new_str[i++] = '\r'; in backslash()
81 new_str[i++] = '\n'; in backslash()
86 new_str[i++] = ' '; in backslash()
167 new_str[i++] = '\\'; in backslash()
169 new_str[i] = '\0'; in backslash()
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c149 char *new_str; in backslash() local
161 new_str[i++] = '\\'; in backslash()
169 new_str[i++] = '\\'; in backslash()
174 new_str[i++] = '\b'; in backslash()
179 new_str[i++] = '\f'; in backslash()
184 new_str[i++] = '\r'; in backslash()
189 new_str[i++] = '\n'; in backslash()
194 new_str[i++] = ' '; in backslash()
275 new_str[i++] = '\\'; in backslash()
277 new_str[i] = '\0'; in backslash()
[all …]
/illumos-gate/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()
/illumos-gate/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
399 if (new_str == NULL) { in strcatc()
[all …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c95 char *new_str; in sip_add_aquot_to_str() local
105 new_str = calloc(1, size + 1); in sip_add_aquot_to_str()
106 if (new_str == NULL) in sip_add_aquot_to_str()
108 new_str[0] = SIP_LAQUOT; in sip_add_aquot_to_str()
109 new_str[1] = '\0'; in sip_add_aquot_to_str()
110 (void) strncat(new_str, str, strlen(str)); in sip_add_aquot_to_str()
111 (void) strncat(new_str, ">", 1); in sip_add_aquot_to_str()
112 new_str[size] = '\0'; in sip_add_aquot_to_str()
114 return (new_str); in sip_add_aquot_to_str()
/illumos-gate/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()
/illumos-gate/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;
/illumos-gate/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()