Searched refs:output_path (Results 1 – 2 of 2) sorted by relevance
227 output_path = "seccomp/{}_policy.cpp".format(arch)228 if os.path.isfile(output_path):229 existing = open(output_path).read()231 print "File " + output_path + " not changed."233 with open(output_path, "w") as output_file:235 print "Generated file " + output_path
394 static void rewriteFile(const std::string& output_path, std::deque<std::string>& file_lines, in rewriteFile() argument412 printf("Preprocessing %s...\n", output_path.c_str()); in rewriteFile()413 writeFileLines(output_path, file_lines); in rewriteFile()497 std::string output_path = (llvm::Twine(dst_dir) + rel_path).str(); in preprocessHeaders() local499 rewriteFile(output_path, file_lines[file_path], guard_map); in preprocessHeaders()