Searched refs:unit_str (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_string.c | 249 char *unit_str; in sizestr_to_bytes() local 255 if ((d = strtod(str, &unit_str)) == 0) { in sizestr_to_bytes() 261 while (isspace(*unit_str) != 0) { in sizestr_to_bytes() 262 ++unit_str; in sizestr_to_bytes() 266 for (i = 0; units[i].unit_str != NULL; i++) { in sizestr_to_bytes() 267 if (strcasecmp(unit_str, units[i].unit_str) == 0) { in sizestr_to_bytes() 274 if (units[i].unit_str == NULL) { in sizestr_to_bytes() 325 for (i = 0; units[i].unit_str != NULL; i++) { in bytes_to_sizestr() 334 len = LONG_LONG_STR_SIZE + strlen(use_units.unit_str) + 1; in bytes_to_sizestr() 348 snprintf(*str, len, format, value, use_units.unit_str); in bytes_to_sizestr()
|
H A D | volume_string.h | 54 char *unit_str; member
|
/titanic_41/usr/src/lib/efcode/fcdriver/ |
H A D | upload.c | 50 char *unit_str; in create_node() local 69 unit_str = pop_a_duped_string(env, NULL); in create_node() 70 if (unit_str == NULL) { in create_node() 71 unit_str = STRDUP(""); in create_node() 74 debug_msg(DEBUG_UPLOAD, " Unit Addr : '%s'\n", unit_str); in create_node() 78 fc_ptr2cell(unit_str), fc_ptr2cell(p->data)); in create_node() 80 FREE(unit_str); in create_node()
|
/titanic_41/usr/src/cmd/lgrpinfo/ |
H A D | lgrpinfo.pl | 186 my $unit_str = "K"; 193 $unit_str = "B"; 196 $unit_str = "K"; 199 $unit_str = "M"; 202 $unit_str = "G"; 205 $unit_str = "T"; 208 $unit_str = "P"; 211 $unit_str = "E"; 707 return ("0$unit_str") unless $number; 725 return ("$result$unit_str");
|