Lines Matching refs:def
137 def match(pattern, s):
144 def search(pattern, s):
151 def sub(pattern, replacement, s):
158 def subn(pattern, replacement, s):
165 def iteratively_replace_matches_with_char(pattern, char_replacement, s):
197 def _rfind_in_lines(regex, lines, start_position, not_found_position):
222 def _convert_to_lower_with_underscores(text):
243 def _create_acronym(text):
250 def up_to_unmatched_closing_paren(s):
306 def __init__(self):
312 def visited_primary_section(self):
315 def check_next_include_order(self, header_type, file_is_header, primary_header_exists):
369 def __init__(self, row, column):
373 def __str__(self):
376 def __cmp__(self, other):
382 def __init__(self, parameter, parameter_name_index, row):
389 def lower_with_underscores_name(self):
397 def __init__(self, lines, start_position, end_position):
423 def convert_column_to_row(self, single_line_column_number):
439 def create_skeleton_parameters(all_parameters):
469 def find_parameter_name_index(skeleton_parameter):
479 def parameter_list(elided_lines, start_position, end_position):
516 def __init__(self, min_confidence):
526 def begin(self, function_name, function_name_start_position, body_start_position, end_position,
555 def modifiers_and_return_type(self):
564 def parameter_list(self):
571 def count(self, line_number):
576 def check(self, error, line_number):
600 def end(self):
617 def __init__(self, filename):
620 def full_name(self):
624 def repository_name(self):
665 def split(self):
679 def base_name(self):
683 def extension(self):
687 def no_extension(self):
691 def is_source(self):
718 def is_cpp_string(line):
735 def find_next_multi_line_comment_start(lines, line_index):
746 def find_next_multi_line_comment_end(lines, line_index):
755 def remove_multi_line_comments_from_range(lines, begin, end):
763 def remove_multi_line_comments(lines, error):
779 def cleanse_comments(line):
804 def __init__(self, lines):
814 def num_lines(self):
819 def collapse_strings(elided):
840 def close_expression(elided, position):
893 def check_for_copyright(lines, error):
907 def get_header_guard_cpp_variable(filename):
933 def check_for_header_guard(filename, lines, error):
975 def check_for_unicode_replacement_characters(lines, error):
993 def check_for_new_line_at_eof(lines, error):
1010 def check_for_multiline_comments_and_strings(clean_lines, line_number, error):
1064 def check_posix_threading(clean_lines, line_number, error):
1096 def check_invalid_increment(clean_lines, line_number, error):
1120 def __init__(self, name, line_number):
1139 def __init__(self):
1142 def check_finished(self, error):
1159 def __init__(self, clean_lines, file_extension):
1173 def set_did_inside_namespace_indent_warning(self):
1176 def did_inside_namespace_indent_warning(self):
1179 def is_objective_c(self):
1191 def is_c_or_objective_c(self):
1196 def check_for_non_standard_constructs(clean_lines, line_number,
1346 def check_spacing_for_function_call(line, line_number, error):
1406 def is_blank_line(line):
1421 def detect_functions(clean_lines, line_number, function_state, error):
1514 def check_for_function_lengths(clean_lines, line_number, function_state, error):
1542 def _check_parameter_name_against_text(parameter, text, error):
1569 def check_function_definition(filename, file_extension, clean_lines, line_number, function_state, error):
1619 def check_pass_ptr_usage(clean_lines, line_number, function_state, error):
1645 def check_spacing(file_extension, clean_lines, line_number, error):
1903 def get_previous_non_blank_line(clean_lines, line_number):
1926 def check_namespace_indentation(clean_lines, line_number, file_extension, file_state, error):
1975 def check_using_std(clean_lines, line_number, file_state, error):
2001 def check_max_min_macros(clean_lines, line_number, file_state, error):
2029 def check_switch_indentation(clean_lines, line_number, error):
2099 def check_braces(clean_lines, line_number, error):
2176 def check_exit_statement_simplifications(clean_lines, line_number, error):
2265 def replaceable_check(operator, macro, line):
2300 def check_check(clean_lines, line_number, error):
2332 def check_for_comparisons_to_zero(clean_lines, line_number, error):
2342 def check_for_null(clean_lines, line_number, file_state, error):
2380 def get_line_width(line):
2401 def check_style(clean_lines, line_number, file_extension, class_state, file_state, error):
2510 def _drop_common_suffixes(filename):
2537 def _classify_include(filename, include, is_system, include_state):
2601 def _does_primary_header_exist(filename):
2612 def check_include_line(filename, file_extension, clean_lines, line_number, include_state, error):
2712 def check_language(filename, clean_lines, line_number, file_extension, include_state,
2919 def check_identifier_name_in_declaration(filename, line_number, line, file_state, error):
3040 def check_c_style_cast(line_number, line, raw_line, cast_type, pattern,
3157 def files_belong_to_same_module(filename_cpp, filename_h):
3212 def update_include_state(filename, include_state, io=codecs):
3242 def check_for_include_what_you_use(filename, clean_lines, include_state, error):
3330 def process_line(filename, file_extension,
3367 def _process_lines(filename, file_extension, lines, error, min_confidence):
3482 def __init__(self, file_path, file_extension, handle_style_error,
3497 def __eq__(self, other):
3511 def __ne__(self, other):
3515 def check(self, lines):
3521 def process_file_data(filename, file_extension, lines, error, min_confidence, unit_test_config):