• Home
  • Raw
  • Download

Lines Matching refs:name

127 static int get_value(config_fn_t fn, void *data, char *name, unsigned int len)  in get_value()  argument
139 name[len++] = c; in get_value()
143 name[len] = 0; in get_value()
155 return fn(name, value, data); in get_value()
158 static int get_extended_base_var(char *name, int baselen, int c) in get_extended_base_var() argument
169 name[baselen++] = '.'; in get_extended_base_var()
183 name[baselen++] = ch; in get_extended_base_var()
194 static int get_base_var(char *name) in get_base_var() argument
205 return get_extended_base_var(name, baselen, c); in get_base_var()
210 name[baselen++] = tolower(c); in get_base_var()
327 static void die_bad_config(const char *name) in die_bad_config() argument
330 die("bad config value for '%s' in %s", name, config_file_name); in die_bad_config()
331 die("bad config value for '%s'", name); in die_bad_config()
334 u64 perf_config_u64(const char *name, const char *value) in perf_config_u64() argument
339 die_bad_config(name); in perf_config_u64()
343 int perf_config_int(const char *name, const char *value) in perf_config_int() argument
347 die_bad_config(name); in perf_config_int()
351 static int perf_config_bool_or_int(const char *name, const char *value, int *is_bool) in perf_config_bool_or_int() argument
363 return perf_config_int(name, value); in perf_config_bool_or_int()
366 int perf_config_bool(const char *name, const char *value) in perf_config_bool() argument
369 return !!perf_config_bool_or_int(name, value, &discard); in perf_config_bool()
372 const char *perf_config_dirname(const char *name, const char *value) in perf_config_dirname() argument
374 if (!name) in perf_config_dirname()