Home
last modified time | relevance | path

Searched refs:optval (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/biometrics/common/config/include/config/
DConfig.h58 std::optional<T> optval = std::get<std::optional<T>>(getInternal(name)); in get() local
59 if (!optval) optval = std::get<std::optional<T>>(getDefault(name)); in get()
60 if (optval) return optval.value(); in get()
/hardware/google/gfxstream/guest/mesa/src/util/
Dxmlconfig.c349 driOptionValue *optval = &info->values[i]; in driParseOptionInfo() local
363 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()