Lines Matching refs:baselen
175 static int get_extended_base_var(char *name, int baselen, int c) in get_extended_base_var() argument
186 name[baselen++] = '.'; in get_extended_base_var()
200 name[baselen++] = ch; in get_extended_base_var()
201 if (baselen > MAXNAME / 2) in get_extended_base_var()
208 return baselen; in get_extended_base_var()
213 int baselen = 0; in get_base_var() local
220 return baselen; in get_base_var()
222 return get_extended_base_var(name, baselen, c); in get_base_var()
225 if (baselen > MAXNAME / 2) in get_base_var()
227 name[baselen++] = tolower(c); in get_base_var()
234 int baselen = 0; in perf_parse_file() local
272 baselen = get_base_var(var); in perf_parse_file()
273 if (baselen <= 0) in perf_parse_file()
275 var[baselen++] = '.'; in perf_parse_file()
276 var[baselen] = 0; in perf_parse_file()
281 var[baselen] = tolower(c); in perf_parse_file()
288 if (get_value(fn, data, var, baselen+1) < 0) { in perf_parse_file()