Lines Matching refs:group

471     category = matched.group(1)
1082 line = leading_space.group(1) + '""' + line[end + len(delimiter):]
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) + '""'
1700 self.class_indent = len(initial_indent.group(1))
1728 if indent and len(indent.group(1)) != self.class_indent:
1942 new_namespace = _NamespaceInfo(namespace_decl_match.group(1), linenum)
1945 line = namespace_decl_match.group(2)
1978 class_decl_match.group(4), class_decl_match.group(2),
1980 line = class_decl_match.group(5)
1995 classinfo.access = access_match.group(2)
1999 indent = access_match.group(1)
2007 if access_match.group(3):
2008 slots = access_match.group(3)
2011 access_match.group(2), slots, parent))
2020 token = matched.group(1)
2047 line = matched.group(2)
2183 args.group(1) != 'void' and
2185 % re.escape(base_classname), args.group(1).strip())):
2211 fncall = match.group(1) # look inside the parens for function calls
2308 function_name = match_result.group(1).split()[-1]
2323 function = Search(r'((\w|:)*)\(', line).group(1)
2327 function += parameter_regexp.group(1)
2358 leading_whitespace = match.group(1)
2363 username = match.group(2)
2369 middle_whitespace = match.group(3)
2396 '%s must be in the private: section' % matched.group(1))
2431 operator = match.group(1)
2432 line = match.group(2)
2493 operator = match.group(2)
2494 line = match.group(1)
2629 'Do not leave a blank line after "%s:"' % matched.group(1))
2693 'Missing spaces around %s' % match.group(1))
2699 not (match.group(1).isdigit() and match.group(2).isdigit()) and
2700 not (match.group(1) == 'operator' and match.group(2) == ';')):
2713 not FindNextMatchingAngleBracket(clean_lines, linenum, match.group(1))):
2723 match.group(1))):
2748 'Extra space for operator %s' % match.group(1))
2754 'Missing space before ( in %s' % match.group(1))
2765 if len(match.group(2)) != len(match.group(4)):
2766 if not (match.group(3) == ';' and
2767 len(match.group(2)) == 1 + len(match.group(4)) or
2768 not match.group(2) and Search(r'\bfor\s*\(.*; \)', line)):
2770 'Mismatching spaces inside () in %s' % match.group(1))
2771 if len(match.group(2)) not in [0, 1]:
2774 match.group(1))
2834 clean_lines, linenum, len(match.group(1)))
2932 '"%s:" should be preceded by a blank line' % matched.group(1))
3086 closing_brace_pos = match.group(1).rfind(')')
3093 macro.group(1) not in (
3119 clean_lines, linenum, len(match.group(1)))
3159 if matched.group(1) == 'if':
3193 start_pos = len(matched.group(1))
3222 token = matched.group(1)
3225 expression = matched.group(2)
3241 expression = matched.group(2)
3245 rhs = matched.group(2)
3258 lhs += matched.group(1)
3259 expression = matched.group(2)
3323 _ALT_TOKEN_REPLACEMENT[match.group(1)], match.group(1)))
3458 # _RE_FIRST_COMPONENT.match('foo').group(0) == 'foo'
3459 # _RE_FIRST_COMPONENT.match('foo.cc').group(0) == 'foo'
3460 # _RE_FIRST_COMPONENT.match('foo-bar_baz.cc').group(0) == 'foo'
3461 # _RE_FIRST_COMPONENT.match('foo_bar-baz.cc').group(0) == 'foo'
3561 target_first_component.group(0) ==
3562 include_first_component.group(0)):
3597 include = match.group(2)
3598 is_system = (match.group(1) == '<')
3633 include = match.group(2)
3770 matched_new = match.group(1)
3771 matched_type = match.group(2)
3772 matched_funcptr = match.group(3)
3832 if match and match.group(1) != '*':
3861 not Match(r'\s*(<.*>)?(::[a-zA-Z0-9_]+)?\s*\(([^"]|$)', match.group(3))):
3865 (match.group(1), match.group(2)))
3889 'Use int16/int64/etc, rather than the C type %s' % match.group(1))
3893 if match and match.group(2) != '0':
3897 'to snprintf.' % (match.group(1), match.group(2)))
3906 'Almost always, snprintf is better than %s' % match.group(1))
3934 if match and match.group(1) != '__VA_ARGS__':
3936 line, re.I).group(1)
3939 % (function_name, match.group(1)))
3943 if match and not Match(r"^''|-?[0-9]+|0x[0-9A-Fa-f]$", match.group(2)):
3946 % (match.group(1), match.group(2)))
3955 if (match and match.group(2) != 'return' and match.group(2) != 'delete' and
3956 match.group(3).find(']') == -1):
3960 tokens = re.split(r'\s|\+|\-|\*|\/|<<|>>]', match.group(3))
4010 match.group(1) + ' should be the last thing in the class')
4070 line = previous.group(1) + line.lstrip()
4206 if matched_zero and matched_zero.group(1) != '0':
4227 (cast_type, match.group(1)))
4367 include = match.group(2)