Lines Matching defs:root
94 """Return the root of the current git workspace"""
167 def not_check(root, cmd):
172 [os.path.join(root, ".git", "%s.NOT" % cmd),
173 os.path.join(root, "exception_lists", cmd)]))
174 return Ignore.ignore(root, ignorefiles)
176 def gen_files(root, parent, paths, exclude):
184 c = os.path.abspath(os.path.join(root, path)).split(os.path.sep)
199 def comchk(root, parent, flist, output):
206 def mapfilechk(root, parent, flist, output):
230 def copyright(root, parent, flist, output):
238 def hdrchk(root, parent, flist, output):
246 def cstyle(root, parent, flist, output):
256 def jstyle(root, parent, flist, output):
264 def manlint(root, parent, flist, output):
273 def keywords(root, parent, flist, output):
281 def run_checks(root, parent, cmds, paths='', opts={}):
295 exclude = not_check(root, cmd.__name__)
296 result = cmd(root, parent, gen_files(root, parent, paths, exclude),
305 def nits(root, parent, paths):
313 run_checks(root, parent, cmds, paths)
315 def pbchk(root, parent, paths):
324 run_checks(root, parent, cmds)