Lines Matching refs:re
11 import re
63 arg_re = re.compile(r'((\w+ )*?(\w+|...))( (\**)(\w+))?$')
65 proto_re = re.compile(r'(.+) (\**)(\w+)\(((([^,]+)(, )?){1,5})\)$')
124 p = re.compile(r' \* ?(BPF\w+)$')
128 end_re = re.compile(r' \* ?NOTES$')
143 … p = re.compile(r' \* ?((.+) \**\w+\((((const )?(struct )?(\w+|\.\.\.)( \**\w+)?)(, )?){1,5}\))$')
151 p = re.compile(r' \* ?(?:\t| {5,8})Description$')
164 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
177 p = re.compile(r' \* ?(?:\t| {5,8})Return$')
190 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
203 p = re.compile(r' \* ?(?:\t| {5,8})Attributes$')
209 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
251 bpf_p = re.compile(r'\s*(BPF\w+)+')
256 assign_p = re.compile(r'\s*(BPF\w+)\s*=\s*(BPF\w+)')
271 self.enum_syscalls = re.findall(r'(BPF\w+)+', bpf_cmd_str)
295 p = re.compile(r'\s*FN\((\w+), (\d+), ##ctx\)|\\\\')
310 self.define_unique_helpers = re.findall(r'FN\(\w+, \d+, ##ctx\)', fn_defines_str)
429 for line in re.sub('\n$', '', elem.desc, count=1).split('\n'):
864 for line in re.sub('\n$', '', helper.desc, count=1).split('\n'):