Home | History | Annotate | Download | only in generator

Lines Matching refs:re

10 import re
107 (re.compile('(Constants|Defines for Logic Values)'), '_ProcessConstants'),
108 (re.compile('(of Types for|Base Types)'), '_ProcessTypes'),
109 (re.compile('Definition of .* Type'), '_ProcessInterfaceOrType'),
110 (re.compile('Unmarshaling Errors'), '_ProcessEnum'),
111 (re.compile(r'Definition of [\S]+ (Structure|Union)'),
113 (re.compile('Definition of .* Bits'), '_ProcessBits'),
114 (re.compile(r' TPM2_\S+ (Command|Response)'), '_ProcessCommand'),
129 _alg_macro = re.compile(r'!ALG\.([a-z\.]+)', re.IGNORECASE)
134 # Allow re-initializing attributes outside __init__() (in Init())
159 title_bracket_filter = re.compile(r'({.*?}) ?')
160 title_type_filter = re.compile(r'(\(.*?\)) ?')
421 if re.match('^[A-Z]+$', alg_type):
432 elif re.match('^[a-z]+$', alg_type):
570 if re.match('reserved', name, re.IGNORECASE):
716 vm = re.search(r'^(\S+)\s*\[(\S+)\]\s*\{(.*:*)\}', value)
729 vm = re.search(r'^\[(\S+)\]\s*(\S+)', value)
733 vm = re.search(r'^(\S+)\s*\{(.+)\}', value)
801 rm = re.match(r'^(\(.*?\))', value)