Lines Matching refs:line

1099     def process_export(function_set, line):  argument
1114 if export_symbol.search(line):
1116 elif export_symbol_ns.search(line):
1130 def process_normal(self, ln, line): argument
1135 if not doc_start.match(line):
1144 def process_name(self, ln, line): argument
1151 if doc_block.search(line):
1163 elif doc_decl.search(line):
1167 if doc_begin_data.search(line):
1173 elif doc_begin_func.search(line):
1197 if r.search(line):
1225 def is_new_section(self, ln, line): argument
1226 if doc_sect.search(line):
1260 def is_comment_end(self, ln, line): argument
1261 if doc_end.search(line):
1266 if r.match(line):
1277 def process_decl(self, ln, line): argument
1281 if self.is_new_section(ln, line) or self.is_comment_end(ln, line):
1286 if doc_content.search(line):
1306 def process_special(self, ln, line): argument
1314 if KernRe(r"\s*\*\s*$").match(line):
1321 if self.is_new_section(ln, line) or self.is_comment_end(ln, line):
1326 if doc_content.search(line):
1357 def process_body(self, ln, line): argument
1361 if self.is_new_section(ln, line) or self.is_comment_end(ln, line):
1364 if doc_content.search(line):
1371 def process_inline_name(self, ln, line): argument
1374 if doc_inline_sect.search(line):
1378 elif doc_inline_end.search(line):
1381 elif doc_content.search(line):
1386 def process_inline_text(self, ln, line): argument
1389 if doc_inline_end.search(line):
1392 elif doc_content.search(line):
1472 def process_proto_function(self, ln, line): argument
1476 line = KernRe(r"\/\/.*$", re.S).sub('', line)
1480 if KernRe(r'\s*#\s*define').match(line):
1481 self.entry.prototype = line
1482 elif not line.startswith('#'): # skip other preprocessor stuff
1484 if r.match(line):
1489 if '{' in line or ';' in line or KernRe(r'\s*#\s*define').match(line):
1517 def process_proto_type(self, ln, line): argument
1521 line = KernRe(r"//.*$", re.S).sub('', line).strip()
1522 if not line:
1526 if line.startswith('#'):
1527 line += ";"
1533 for chunk in r.split(line):
1554 def process_proto(self, ln, line): argument
1557 if doc_inline_oneline.search(line):
1562 elif doc_inline_start.search(line):
1566 self.process_proto_function(ln, line)
1569 self.process_proto_type(ln, line)
1571 def process_docblock(self, ln, line): argument
1574 if doc_end.search(line):
1579 elif doc_content.search(line):
1593 for line in fp:
1594 self.process_export(export_table, line)
1634 for ln, line in enumerate(fp):
1636 line = line.expandtabs().strip("\n")
1640 if line.endswith("\\"):
1641 prev += line.rstrip("\\")
1648 line = prev + line
1654 line)
1662 not self.process_export(export_table, line):
1664 self.state_actions[self.state](self, ln, line)