Lines Matching refs:len
778 return fullname[len(prefix) + 1:]
795 return "art/" + fullname[len(prefix) + 1:]
935 while lineix < len(lines):
941 return len(lines)
946 while lineix < len(lines):
950 return len(lines)
964 while lineix < len(lines):
966 if lineix_begin >= len(lines):
969 if lineix_end >= len(lines):
1006 self.num_lines = len(lines)
1007 for linenum in range(len(lines)):
1051 for i in xrange(startpos, len(line)):
1110 for line in xrange(1, min(len(lines), 11)):
1163 if len(linesplit) >= 2:
1249 if len(lines) < 3 or lines[-2]:
1250 error(filename, len(lines) - 2, 'whitespace/ending_newline', 5,
1733 for i in range(len(self.stack), 0, -1):
2035 if len(leading_whitespace) > 1:
2142 if linenum >= len(clean_lines.elided):
2320 if commentend < len(line) and not line[commentend] == ' ':
2429 if len(match.group(2)) != len(match.group(4)):
2431 len(match.group(2)) == 1 + len(match.group(4)) or
2435 if not len(match.group(2)) in [0, 1]:
2799 return len(line)
2841 while initial_spaces < len(line) and line[initial_spaces] == ' ':
2944 if (filename.endswith(suffix) and len(filename) > len(suffix) and
2945 filename[-len(suffix) - 1] in ('-', '_')):
2946 return filename[:-len(suffix) - 1]
3137 while punctuation_stack and position < len(text):
3200 if (len(re.findall(r'\([^()]*\b(?:[\w:]|<[^()]*>)+(\s?&|&\s?)\w+', fnline)) >
3201 len(re.findall(r'\([^()]*\bconst\s+(?:typename\s+)?(?:struct\s+)?'
3203 len(re.findall(r'\([^()]*\b(?:[\w:]|<[^()]*>)+\s+const(\s?&|&\s?)[\w]+',
3615 filename_cc = filename_cc[:-len('.cc')]
3617 filename_cc = filename_cc[:-len('_unittest')]
3619 filename_cc = filename_cc[:-len('_test')]
3625 filename_h = filename_h[:-len('.h')]
3627 filename_h = filename_h[:-len('-inl')]
3634 common_path = filename_cc[:-len(filename_h)]
3906 for linenum in range(len(lines)):