Lines Matching refs:re
12 import re
71 arg_re = re.compile(r'((\w+ )*?(\w+|...))( (\**)(\w+))?$')
73 proto_re = re.compile(r'(.+) (\**)(\w+)\(((([^,]+)(, )?){1,5})\)$')
138 p = re.compile(r' \* ?(BPF\w+)$')
142 end_re = re.compile(r' \* ?NOTES$')
157 … p = re.compile(r' \* ?((.+) \**\w+\((((const )?(struct )?(\w+|\.\.\.)( \**\w+)?)(, )?){1,5}\))$')
165 p = re.compile(r' \* ?(?:\t| {5,8})Description$')
178 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
191 p = re.compile(r' \* ?(?:\t| {5,8})Return$')
204 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
217 p = re.compile(r' \* ?(?:\t| {5,8})Attributes$')
223 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
265 bpf_p = re.compile(r'\s*(BPF\w+)+')
270 assign_p = re.compile(r'\s*(BPF\w+)\s*=\s*(BPF\w+)')
285 self.enum_syscalls = re.findall(r'(BPF\w+)+', bpf_cmd_str)
309 p = re.compile(r'\s*FN\((\w+), (\d+), ##ctx\)|\\\\')
324 self.define_unique_helpers = re.findall(r'FN\(\w+, \d+, ##ctx\)', fn_defines_str)
443 for line in re.sub('\n$', '', elem.desc, count=1).split('\n'):
879 for line in re.sub('\n$', '', helper.desc, count=1).split('\n'):