Lines Matching refs:r
183 BEGIN_HEADER_REGEX = r'/\*\s*BEGIN_HEADER\s*\*/'
184 END_HEADER_REGEX = r'/\*\s*END_HEADER\s*\*/'
186 BEGIN_SUITE_HELPERS_REGEX = r'/\*\s*BEGIN_SUITE_HELPERS\s*\*/'
187 END_SUITE_HELPERS_REGEX = r'/\*\s*END_SUITE_HELPERS\s*\*/'
189 BEGIN_DEP_REGEX = r'BEGIN_DEPENDENCIES'
190 END_DEP_REGEX = r'END_DEPENDENCIES'
192 BEGIN_CASE_REGEX = r'/\*\s*BEGIN_CASE\s*(?P<depends_on>.*?)\s*\*/'
193 END_CASE_REGEX = r'/\*\s*END_CASE\s*\*/'
195 DEPENDENCY_REGEX = r'depends_on:(?P<dependencies>.*)'
196 C_IDENTIFIER_REGEX = r'!?[a-z_][a-z0-9_]*'
197 CONDITION_OPERATOR_REGEX = r'[!=]=|[<>]=?'
199 CONDITION_VALUE_REGEX = r'[-+]?(0x[0-9a-f]+|0|[1-9][0-9]*)'
200 CONDITION_REGEX = r'({})(?:\s*({})\s*({}))?$'.format(C_IDENTIFIER_REGEX,
203 TEST_FUNCTION_VALIDATION_REGEX = r'\s*void\s+(?P<func_name>\w+)\s*\('
204 FUNCTION_ARG_LIST_END_REGEX = r'.*\)'
205 EXIT_LABEL_REGEX = r'^exit:'
467 ARGUMENT_DECLARATION_REGEX = re.compile(r'(.+?) ?(?:\bconst\b)? ?(\w+)\Z', re.S)
482 arg = re.sub(r'\s*\*\s*', r'*', arg)
483 arg = re.sub(r'\s+', r' ', arg)
509 ARGUMENT_LIST_REGEX = re.compile(r'\((.*?)\)', re.S)
570 COMMENT_START_REGEX = re.compile(r'/[*/]')
610 re.sub(r'.', r' ', line[opening.start(0):pos]) +
613 return re.sub(r' +(\n|\Z)', r'\1', line)
743 out = re.sub(r'(\\.)|' + split_char,
902 INT_VAL_REGEX = re.compile(r'-?(\d+|0x[0-9a-f]+)$', re.I)