Lines Matching refs:fname
31 fname = line[line.find("/") + 1:].strip()
32 if fname == "dev/null":
34 files.add(fname)
41 def fname_get_package_infra(fname): argument
44 if not fname.endswith(".mk"):
47 if not os.path.exists(fname):
50 with open(fname, "r") as f:
148 for fname in fnames:
149 for root, dirs, files in os.walk(os.path.join(brpath, fname)):
158 def parse_arches_from_config_in(fname): argument
162 with open(fname, "r") as f:
183 for fname in fnames:
184 if not re.match(r"^.*/arch/Config\.in\..*$", fname):
186 arches = arches | parse_arches_from_config_in(fname)
192 for fname in fnames:
193 m = re.match(r"^package/pkg-([^.]*).mk$", fname)
202 return {os.path.basename(fname[:-10])
203 for fname in fnames
204 if fname.endswith('_defconfig')}
212 for fname in fnames:
213 if os.path.isdir(fname):
214 for root, _dirs, files in os.walk(os.path.join(brpath, fname)):
217 all_files.append(fname)
248 fname = line[2:].strip()
249 dev_files = glob.glob(os.path.join(brpath, fname))
251 print("WARNING: '%s' doesn't match any file" % fname,