Lines Matching refs:content
43 def is_auto_generated(content):
44 if "Generated by gensyscalls.py" in content or "generated by genserv.py" in content:
46 if "This header was automatically generated from a Linux kernel header" in content:
123 content = open(path, "r").read().decode("utf-8")
126 content = open(path, "r").read().decode("iso-8859-1")
128 lines = content.split("\n")
134 if is_auto_generated(content):
138 if not "Copyright" in content:
139 if "public domain" in content.lower():