MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_value_of_name

Function db_value_of_name

freebsd/ddb/db_sym.c:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218bool
219db_value_of_name(const char *name, db_expr_t *valuep)
220{
221 c_db_sym_t sym;
222
223 sym = db_lookup(name);
224 if (sym == C_DB_SYM_NULL)
225 return (false);
226 db_symbol_values(sym, &name, valuep);
227 return (true);
228}
229
230bool
231db_value_of_name_pcpu(const char *name, db_expr_t *valuep)

Callers 1

db_termFunction · 0.85

Calls 2

db_lookupFunction · 0.85
db_symbol_valuesFunction · 0.85

Tested by

no test coverage detected