Lines Matching refs:path
41 """Checks if the given path is a valid path starting from |_root_dir|."""
45 return os.path.isdir(self._root_dir + "/" + match.group(1))
76 dependee_dir = os.path.dirname(dependee_path)
77 import_path = os.path.join(dependee_dir, import_path)
78 import_path = os.path.relpath(import_path, self._root_dir)
113 """Returns True iff the given path ends in one of the extensions
116 return os.path.splitext(file_path)[1] in ProtoChecker.EXTENSIONS
119 """Check if the new #include file path should be presubmit checked.
122 file_path: file path to be checked