Lines Matching refs:var
232 static int add_man_viewer_info(const char *var, const char *value) in add_man_viewer_info() argument
234 const char *name = var + 4; in add_man_viewer_info()
242 return config_error_nonbool(var); in add_man_viewer_info()
247 return config_error_nonbool(var); in add_man_viewer_info()
255 static int perf_help_config(const char *var, const char *value, void *cb) in perf_help_config() argument
259 if (!strcmp(var, "help.format")) { in perf_help_config()
261 return config_error_nonbool(var); in perf_help_config()
267 if (!strcmp(var, "man.viewer")) { in perf_help_config()
269 return config_error_nonbool(var); in perf_help_config()
273 if (!prefixcmp(var, "man.")) in perf_help_config()
274 return add_man_viewer_info(var, value); in perf_help_config()
276 return perf_default_config(var, value, cb); in perf_help_config()