Lines Matching +full:odd +full:- +full:numbered

2 # SPDX-License-Identifier: GPL-2.0
22 # Regular expressions used to parse kernel-doc markups at KernelDoc class.
42 # @{section-name}:
60 type_param = KernRe(r"@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False)
71 r'(?:[-:].*)?$', # description (not captured)
168 # TODO: rename to emit_message after removal of kernel-doc.pl
216 # Only warn on user-specified duplicate section names
220 # Treat as a new paragraph - add a blank line
248 undescribed = "-- undescribed --"
303 # TODO: rename it to store_declaration after removal of kernel-doc.pl
340 warnings are not filtered by the `-W` parameters: they will all
341 be produced even when `-Wreturn`, `-Wshort-desc`, and/or
342 `-Wcontents-before-sections` are used.
392 # excess-parameter check in check_sections() does
396 param = param[:-3]
403 # standard "not described" warning before auto-filling
407 # gets the auto-generated text.
488 # The pointer-to-function case.
503 # The array-of-pointers case. Dig the parameter name out from the middle
554 if dtype != "": # Skip unnamed bit-fields
572 final_part = parts[-1]
626 # the declaration. This catches mismatched or stale kernel-doc
631 # Skip auto-generated entries from push_parameter()
708 # The trick is in the ``^{`` below - it prevents a match of an outer
741 # Look for (type)(*name)(args) - pointer to function
746 # Pointer-to-function
753 # Otherwise a non-function member.
763 # Look for a normal decl - "type name[,name...]"
782 # End of the tuple loop - search again and see if there are outer members
816 level -= 1
904 f"{proto}: wrong kernel-doc identifier on prototype")
1073 # - parport_register_device (function pointer parameters)
1074 # - atomic_set (macro)
1075 # - pci_match_device, __copy_to_user (long return type)
1082 # lets us easily filter out __acquires() and other post-args stuff. If
1217 symbol = symbol[:-len(suffix)]
1237 STATE_NAME: Looking for the "name - description" line
1272 …his comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/ke…
1285 # (We should be able to capture this from the previous parsing - someday)
1287 r = KernRe("[-:](.*)")
1300 f"wrong kernel-doc identifier on line:\n{line}")
1356 r = KernRe(r'\s*\*\s*[a-zA-Z_0-9:.]+\*/')
1473 self.emit_msg(ln, f"Incorrect use of kernel-doc format: {line}")
1516 # Now delete all of the odd-numbered commas in the proto
1572 # strip C99-style comments to end of line
1619 # Strip C99-style comments and surrounding whitespace
1642 self.entry.brcount -= 1
1721 Besides parsing kernel-doc tags, it also parses export symbols.
1763 # it was read twice. Here, we use the already-existing