Lines Matching refs:line
182 def fatal_parse_error(line, err_str): argument
183 sys.stderr.write("Error processing line %r:\n%s\n" % (line, err_str))
211 def parse_check_def(line, struct_types): argument
217 m = syscall_re.match(line)
219 fatal_parse_error(line, "Line did not match expected pattern.")
227 fatal_parse_error(line, "Only syscalls with up to 4 arguments are "
231 fatal_parse_error(line, "Expected %d syscall arguments, got %d." %
248 fatal_parse_error(line, "Not an integer type or explicit struct "
264 fatal_parse_error(line, err)
290 for line in tbl:
291 line = line.strip()
295 if not line.startswith(syscall_def):
298 params = parse_check_def(line, struct_types)