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

Function sym_get_range_prop

scripts/config/symbol.c:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95struct property *sym_get_range_prop(struct symbol *sym)
96{
97 struct property *prop;
98
99 for_all_properties(sym, prop, P_RANGE) {
100 prop->visible.tri = expr_calc_value(prop->visible.expr);
101 if (prop->visible.tri != no)
102 return prop;
103 }
104 return NULL;
105}
106
107static long long sym_get_range_val(struct symbol *sym, int base)
108{

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