Searched refs:optval (Results 1 – 2 of 2) sorted by relevance
58 std::optional<T> optval = std::get<std::optional<T>>(getInternal(name)); in get() local59 if (!optval) optval = std::get<std::optional<T>>(getDefault(name)); in get()60 if (optval) return optval.value(); in get()
349 driOptionValue *optval = &info->values[i]; in driParseOptionInfo() local363 optval->_bool = opt->value._bool; in driParseOptionInfo()368 optval->_int = opt->value._int; in driParseOptionInfo()372 optval->_float = opt->value._float; in driParseOptionInfo()376 XSTRDUP(optval->_string, opt->value._string); in driParseOptionInfo()384 assert(checkValue(optval, optinfo)); in driParseOptionInfo()401 *optval = v; in driParseOptionInfo()