Lines Matching defs:End
711 # END android-added
729 def End(self):
796 # END android-changed
906 # end of the line. Otherwise, we try to remove spaces from the right side,
945 """We are inside a comment, find the end marker."""
953 def RemoveMultiLineCommentsFromRange(lines, begin, end):
957 for i in range(begin, end):
971 'Could not find end of multi-line comment')
1102 # Did not find endchar before end of file, give up
1237 """Logs an error if there is no newline char at the end of the file.
1251 'Could not find a newline character at the end of the file.')
1390 This is mostly used for checking end of namespace comments.
1414 # Try to find the end of the class. This will be confused by things like:
1443 """Check end of namespace comments."""
1448 # lines. However, do apply checks if there is already an end of
1451 # TODO(unknown): We always want to check end of namespace comments
1461 # Look for matching comment at end of namespace.
1467 # We also accept stuff like "// end of namespace <name>." with the
1468 # period at the end.
1576 # End of #if or #else blocks.
1721 # Perform end of block checks and pop the stack.
1905 # END android-changed
2012 elif Match(r'^\}\s*$', line): # function end
2014 function_state.End()
2215 line, don't end a function with a blank line, don't add a blank line
2232 # blank lines at the end of a function (ie, right before a line like '}'
2241 # A warning about missing end of namespace comments will be issued instead.
2282 # Ignore blank lines at the end of a block in a long if-else
2296 'Blank line at the end of a code block. Is this needed?')
2475 # You shouldn't have a space before a semicolon at the end of the line.
2520 # If we didn't find the end of the class, last_line would be zero,
2578 """Looks for misplaced braces (e.g. at the end of line).
2601 '{ should almost always be at the end of the previous line')
2668 # Find the end of the conditional expression
3106 start_pattern must match string having an open punctuation symbol at the end.
3128 start_position = match.end(0)
3232 # END android-added
3239 # END android-changed
3454 # that end with backslashes.
3500 remainder = line[match.end(0):]
3734 # by flymake and that file name might end with '_flymake.cc'. In that case,
3847 ['// marker so line numbers end in a known way'])