Lines Matching refs:fname
1103 for fname in get_files(filter="d"):
1104 if "Kconfig" in fname:
1105 self.check_kconfig_header(fname)
1106 self.check_redundant_zephyr_source(fname)
1108 if fname.startswith("dts/bindings/"):
1109 self.check_redundant_document_separator(fname)
1111 if fname.endswith((".c", ".conf", ".cpp", ".dts", ".overlay",
1114 "Kconfig" in fname or \
1115 "defconfig" in fname or \
1116 fname == "README":
1118 self.check_source_file(fname)
1120 def check_kconfig_header(self, fname): argument
1123 with open(os.path.join(GIT_TOP, fname), encoding="utf-8") as f:
1145 def check_redundant_zephyr_source(self, fname): argument
1149 with open(os.path.join(GIT_TOP, fname), encoding="utf-8") as f:
1159 and all 'source's are relative to it.""".format(match.group(1), fname))
1161 def check_redundant_document_separator(self, fname): argument
1164 with open(os.path.join(GIT_TOP, fname), encoding="utf-8") as f:
1170 def check_source_file(self, fname): argument
1173 with open(os.path.join(GIT_TOP, fname), encoding="utf-8") as f:
1307 return [fname for fname in fnames
1308 if (fname.endswith(".py") or
1309 magic.from_file(os.path.join(root, fname),
1380 added, deleted, fname = stat.split("\t")
1382 if (fname.startswith(BINARY_ALLOW_PATHS) and
1383 fname.endswith(BINARY_ALLOW_EXT)):