Lines Matching defs:value

463 /* Look through a list of name/value pairs. */
494 int opt_int(const char *value, int *result)
498 if (!opt_long(value, &l))
503 prog, value);
542 int opt_long(const char *value, long *result)
549 l = strtol(value, &endp, 0);
551 || endp == value
554 opt_number_error(value);
568 int opt_intmax(const char *value, ossl_intmax_t *result)
575 m = strtoimax(value, &endp, 0);
577 || endp == value
581 opt_number_error(value);
585 /* Ensure that the value in |m| is never too big for |*result| */
588 opt_number_error(value);
597 int opt_uintmax(const char *value, ossl_uintmax_t *result)
604 m = strtoumax(value, &endp, 0);
606 || endp == value
609 opt_number_error(value);
613 /* Ensure that the value in |m| is never too big for |*result| */
616 opt_number_error(value);
625 int opt_intmax(const char *value, ossl_intmax_t *result)
630 if ((ret = opt_long(value, &m)))
635 int opt_uintmax(const char *value, ossl_uintmax_t *result)
640 if ((ret = opt_ulong(value, &m)))
649 int opt_ulong(const char *value, unsigned long *result)
656 l = strtoul(value, &endptr, 0);
658 || endptr == value
661 opt_number_error(value);
712 /* purpose object -> purpose value */
840 * Parse the next flag (and value if specified), return 0 if done, -1 on
882 /* If it doesn't take a value, make sure none was given. */
885 opt_printf_stderr("%s: Option -%s does not take a value\n",
892 /* Want a value; get the next param if =foo not used. */
895 opt_printf_stderr("%s: Option -%s needs a value\n",
902 /* Syntax-check value. */
970 /* Return the flag value. */