Searched refs:ret_str (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/cmd/newtask/ |
H A D | utils.c | 126 char *tmp_cp, *ret_str = NULL; in getdefault() local 130 return (ret_str); in getdefault() 177 ret_str = safe_malloc(tlen); in getdefault() 178 (void) snprintf(ret_str, tlen, "%s%s", in getdefault() 182 ret_str = safe_malloc(tlen); in getdefault() 183 (void) snprintf(ret_str, tlen, "%s", tmp_cp); in getdefault() 189 return (ret_str); in getdefault()
|
/titanic_41/usr/src/cmd/eeprom/i386/ |
H A D | benv.c | 324 char *ptr, *ret_str, *end_ptr, *orig_ptr; in get_bootadm_value() local 359 ret_str = calloc(len + 1, 1); in get_bootadm_value() 360 if (ret_str == NULL) { in get_bootadm_value() 364 (void) strncpy(ret_str, ptr, len); in get_bootadm_value() 365 return (ret_str); in get_bootadm_value() 367 ret_str = strdup(output); in get_bootadm_value() 368 if (ret_str == NULL) in get_bootadm_value() 370 return (ret_str); in get_bootadm_value() 408 ret_str = strdup(orig_ptr); in get_bootadm_value() 409 if (ret_str == NULL) in get_bootadm_value() [all …]
|
/titanic_41/usr/src/common/elfcap/ |
H A D | elfcap.c | 356 const elfcap_str_t **ret_str) in get_str_desc() argument 360 *ret_str = &cdp->c_full; in get_str_desc() 363 *ret_str = &cdp->c_uc; in get_str_desc() 366 *ret_str = &cdp->c_lc; in get_str_desc()
|
/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 282 set_msg(char **ret_str, ...) in set_msg() argument 288 va_start(valist, ret_str); in set_msg() 290 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str); in set_msg() 294 char *old_str = *ret_str; in set_msg() 296 *ret_str = (char *)realloc(*ret_str, total_len + len + 1); in set_msg() 297 if (*ret_str == NULL) { in set_msg() 305 (void) strcpy(*ret_str + total_len, str); in set_msg()
|
/titanic_41/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 344 ib_set_msg(char **ret_str, ...) in ib_set_msg() argument 350 va_start(valist, ret_str); in ib_set_msg() 352 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str); in ib_set_msg() 356 char *old_str = *ret_str; in ib_set_msg() 359 *ret_str = (char *)realloc(*ret_str, ret_str_len); in ib_set_msg() 360 if (*ret_str == NULL) { in ib_set_msg() 367 (void) strlcpy(*ret_str + total_len, str, ret_str_len); in ib_set_msg()
|
/titanic_41/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 414 set_msg(char **ret_str, ...) in set_msg() argument 420 va_start(valist, ret_str); in set_msg() 422 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str); in set_msg() 426 char *old_str = *ret_str; in set_msg() 428 *ret_str = (char *)realloc(*ret_str, total_len + len + 1); in set_msg() 429 if (*ret_str == NULL) { in set_msg() 436 (void) strcpy(*ret_str + total_len, str); in set_msg()
|
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | interceptor.c | 167 generate_i_declarations(char *errname, int voidfunc, char *ret_str) in generate_i_declarations() argument 184 (void) fprintf(Bodyfp, " %s;\n", ret_str); in generate_i_declarations()
|