Lines Matching refs:ival
32 return strlen(vp2->ival) - strlen(vp1->ival); in vp_cmp()
44 if (!vp->ival || vp->ival[0] == '\0') in posval_sort()
64 } else if (!o->posval[0].ival) { in show_option_range()
82 if (!vp->ival) in show_option_values()
85 log_info("%20s: %-10s", i == 0 ? "valid values" : "", vp->ival); in show_option_values()
271 extern int evaluate_arithmetic_expression(const char *buffer, long long *ival,
282 long long ival; in str_to_float() local
286 rc = evaluate_arithmetic_expression(str, &ival, &dval, 1.0, is_time); in str_to_float()
305 long long ival; in str_to_decimal() local
318 rc = evaluate_arithmetic_expression(str, &ival, &dval, implied_units, is_time); in str_to_decimal()
321 *val = ival / 1000000LL; in str_to_decimal()
323 *val = ival; in str_to_decimal()
438 return max(strlen(vp->ival), opt_len(str)); in str_match_len()
482 if (!vp->ival || vp->ival[0] == '\0') in __handle_option()
485 if (!strncmp(vp->ival, ptr, str_match_len(vp, ptr))) { in __handle_option()
535 if (o->posval[0].ival) { in __handle_option()
541 if (!vp->ival || vp->ival[0] == '\0') in __handle_option()
667 else if (o->posval[0].ival) { in __handle_option()
673 if (!vp->ival || vp->ival[0] == '\0' || !cp) in __handle_option()
676 if (!strncmp(vp->ival, ptr, str_match_len(vp, ptr))) { in __handle_option()