MCPcopy Create free account
hub / github.com/coreboot/coreboot / sym_get_range_prop

Function sym_get_range_prop

util/kconfig/symbol.c:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89struct property *sym_get_range_prop(struct symbol *sym)
90{
91 struct property *prop;
92
93 for_all_properties(sym, prop, P_RANGE) {
94 prop->visible.tri = expr_calc_value(prop->visible.expr);
95 if (prop->visible.tri != no)
96 return prop;
97 }
98 return NULL;
99}
100
101static long long sym_get_range_val(struct symbol *sym, int base)
102{

Callers 3

sym_validate_rangeFunction · 0.85
sym_string_within_rangeFunction · 0.85
get_symbol_strFunction · 0.85

Calls 1

expr_calc_valueFunction · 0.85

Tested by

no test coverage detected