• Home
  • Raw
  • Download

Lines Matching refs:len

1371     num_errors = len(self._junit_errors)
1372 num_failures = len(self._junit_failures)
1604 return fullname[len(prefix) + 1:]
1620 return fullname[len(prefix) + 1:]
1797 line = leading_space.group(1) + '""' + line[end + len(delimiter):]
1827 matched.group(3)[end + len(delimiter):])
1844 while lineix < len(lines):
1850 return len(lines)
1855 while lineix < len(lines):
1859 return len(lines)
1873 while lineix < len(lines):
1875 if lineix_begin >= len(lines):
1878 if lineix_end >= len(lines):
1917 self.num_lines = len(lines)
1919 for linenum in range(len(self.lines_without_raw_strings)):
2010 for i in xrange(startpos, len(line)):
2226 (start_pos, stack) = FindStartOfExpressionInLine(line, len(line) - 1, stack)
2239 for line in xrange(1, min(len(lines), 11)):
2258 return len(indent.group(1))
2322 if lst[:len(prefix)] != prefix:
2325 return lst[(len(prefix)):]
2401 if len(linesplit) >= 2:
2447 for i in xrange(1, len(raw_lines) - 1):
2476 basefilename = filename[0:len(filename) - len(fileinfo.Extension())]
2538 if len(lines) < 3 or lines[-2]:
2539 error(filename, len(lines) - 2, 'whitespace/ending_newline', 5,
2814 if indent and len(indent.group(1)) != self.class_indent:
2984 pos += len(match.group(0))
3002 if pos >= len(line):
3161 end_declaration = len(class_decl_match.group(1))
3186 if (len(indent) != classinfo.class_indent + 1 and
3244 for i in range(len(self.stack), 0, -1):
3387 while i < len(constructor_args):
3400 (len(constructor_args) == 1 and
3402 onearg_constructor = ((len(constructor_args) == 1 and # exactly one arg
3405 (len(constructor_args) >= 1 and
3407 len(defaulted_args) >= len(constructor_args) - 1) or
3409 (len(constructor_args) <= 2 and
3410 len(variadic_args) >= 1))
3532 len(nesting_state.stack) > 1 and
3643 if len(leading_whitespace) > 1:
3776 next_line_start = len(next_line) - len(next_line.lstrip())
3817 line = match.group(1) + ('_' * len(match.group(2))) + match.group(3)
3861 clean_lines, linenum, len(match.group(1)))
3872 clean_lines, linenum, len(match.group(1)))
3938 if len(match.group(2)) != len(match.group(4)):
3940 len(match.group(2)) == 1 + len(match.group(4)) or
3944 if len(match.group(2)) not in [0, 1]:
4013 block_index = len(nesting_state.stack) - 1
4101 clean_lines, linenum, len(match.group(1)))
4316 and endlinenum < (len(clean_lines.elided) - 1)
4318 while (endlinenum < len(clean_lines.elided)
4322 if endlinenum < len(clean_lines.elided):
4335 elif endlinenum < len(clean_lines.elided) - 1:
4478 clean_lines, linenum, len(match.group(1)))
4546 if opening_linenum == len(clean_lines.elided):
4594 if current_linenum == len(clean_lines.elided):
4622 return (macro, len(matched.group(1)))
4805 return len(line)
4853 while initial_spaces < len(line) and line[initial_spaces] == ' ':
4967 if (filename.endswith(suffix) and len(filename) > len(suffix) and
4968 filename[-len(suffix) - 1] in ('-', '_')):
4969 return filename[:-len(suffix) - 1]
5103 basefilename = filename[0:len(filename) - len(fileinfo.Extension())]
5179 while punctuation_stack and position < len(text):
5491 clean_lines, i, len(match.group(1)))
5791 _, y1, x1 = CloseExpression(clean_lines, linenum, len(match.group(1)))
6005 filename_cc = filename_cc[:-(len(fileinfo_cc.Extension()))]
6008 filename_cc = filename_cc[:-len(matched_test_suffix.group(1))]
6013 filename_h = filename_h[:-(len(fileinfo_h.Extension()))]
6015 filename_h = filename_h[:-len('-inl')]
6022 common_path = filename_cc[:-len(filename_h)]
6212 start_col = len(virtual.group(2))
6219 clean_lines, start_line, start_col + len(parameter_list.group(1)))
6286 return len(nesting_state.stack) >= 1 and (
6290 return (len(nesting_state.stack) > 1 and
6635 for linenum in range(len(lines) - 1):
6840 fullname = fullname[len('.' + os.path.sep):]
6873 child_suffix = child[len(prefix):]