Home | History | Annotate | Download | only in tools

Lines Matching refs:matched

469   matched = _RE_SUPPRESSION.search(raw_line)
470 if matched:
471 category = matched.group(1)
1091 matched = Match(r'^(.*)\b(?:R|u8R|uR|UR|LR)"([^\s\\()]*)\((.*)$', line)
1092 if matched:
1093 delimiter = ')' + matched.group(2) + '"'
1095 end = matched.group(3).find(delimiter)
1098 line = (matched.group(1) + '""' +
1099 matched.group(3)[end + len(delimiter):])
1103 line = matched.group(1) + '""'
2016 matched = Match(r'^[^{;)}]*([{;)}])(.*)$', line)
2017 if not matched:
2020 token = matched.group(1)
2047 line = matched.group(2)
2388 matched = Match((r'\s*(DISALLOW_COPY_AND_ASSIGN|'
2391 if not matched:
2396 '%s must be in the private: section' % matched.group(1))
2626 matched = Match(r'\s*(public|protected|private):', prev_line)
2627 if matched:
2629 'Do not leave a blank line after "%s:"' % matched.group(1))
2907 matched = Match(r'\s*(public|protected|private):', clean_lines.lines[linenum])
2908 if matched:
2932 '"%s:" should be preceded by a blank line' % matched.group(1))
3063 # Matched closing parenthesis (case 1). Check the token before the
3104 # Try matching cases 4-6. These are always matched on separate lines.
3149 matched = Match(r'\s*(for|while|if)\s*\(', line)
3150 if matched:
3159 if matched.group(1) == 'if':
3190 matched = Match(r'^(.*\b' + check_macro + r'\s*)\(', lines[linenum])
3191 if not matched:
3193 start_pos = len(matched.group(1))
3219 matched = Match(r'^\s*(<<|<<=|>>|>>=|->\*|->|&&|\|\||'
3221 if matched:
3222 token = matched.group(1)
3225 expression = matched.group(2)
3241 expression = matched.group(2)
3245 rhs = matched.group(2)
3253 matched = Match(r'^([^-=!<>()&|]+)(.*)$', expression)
3254 if not matched:
3255 matched = Match(r'^(\s*\S)(.*)$', expression)
3256 if not matched:
3258 lhs += matched.group(1)
3259 expression = matched.group(2)
3856 # Also ignore things that look like operators. These are matched separately
4401 matched = _RE_PATTERN_STRING.search(line)
4402 if matched:
4405 prefix = line[:matched.start()]