Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 3 of 3) sorted by relevance

/scripts/
A Dmacro_checker.py71 def file_check_macro(file_path, report): argument
75 if not file_path.endswith(".c") and not file_path.endswith(".h"):
78 with open(file_path, "r") as f:
100 if file_path.endswith(".c") and cond_compile != 0:
103 if file_path.endswith(".h") and cond_compile != 1:
A Dchecktransupdate.py34 def get_origin_path(file_path): argument
36 paths = file_path.split("/")
43 def get_latest_commit_from(file_path, commit): argument
129 def check_per_file(file_path): argument
131 opath = get_origin_path(file_path)
138 t_from_head = get_latest_commit_from(file_path, "HEAD")
141 logging.error("Cannot find the latest commit for %s", file_path)
150 logging.error("Error: Cannot find the latest origin commit for %s", file_path)
154 logging.debug("No update needed for %s", file_path)
156 logging.info(file_path)
/scripts/clang-tools/
A Dgen_compile_commands.py152 def process_line(root_directory, command_prefix, file_path): argument
176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
182 'command': prefix + file_path,

Completed in 4 milliseconds