Lines Matching refs:len

804         return fullname[len(prefix) + 1:]
820 # return fullname[len(prefix) + 1:]
821 return "art/" + fullname[len(prefix) + 1:]
961 while lineix < len(lines):
967 return len(lines)
972 while lineix < len(lines):
976 return len(lines)
990 while lineix < len(lines):
992 if lineix_begin >= len(lines):
995 if lineix_end >= len(lines):
1032 self.num_lines = len(lines)
1033 for linenum in range(len(lines)):
1077 for i in xrange(startpos, len(line)):
1100 (line, len(lines), -1) if we never find a close. Note we ignore
1136 for line in xrange(1, min(len(lines), 11)):
1189 if len(linesplit) >= 2:
1275 if len(lines) < 3 or lines[-2]:
1276 error(filename, len(lines) - 2, 'whitespace/ending_newline', 5,
1759 for i in range(len(self.stack), 0, -1):
2061 if len(leading_whitespace) > 1:
2168 if linenum >= len(clean_lines.elided):
2346 if commentend < len(line) and not line[commentend] == ' ':
2455 if len(match.group(2)) != len(match.group(4)):
2457 len(match.group(2)) == 1 + len(match.group(4)) or
2461 if not len(match.group(2)) in [0, 1]:
2825 return len(line)
2867 while initial_spaces < len(line) and line[initial_spaces] == ' ':
2970 if (filename.endswith(suffix) and len(filename) > len(suffix) and
2971 filename[-len(suffix) - 1] in ('-', '_')):
2972 return filename[:-len(suffix) - 1]
3163 while punctuation_stack and position < len(text):
3226 if (len(re.findall(r'\([^()]*\b(?:[\w:]|<[^()]*>)+(\s?&|&\s?)\w+', fnline)) >
3227 len(re.findall(r'\([^()]*\bconst\s+(?:typename\s+)?(?:struct\s+)?'
3229 len(re.findall(r'\([^()]*\b(?:[\w:]|<[^()]*>)+\s+const(\s?&|&\s?)[\w]+',
3648 filename_cc = filename_cc[:-len('.cc')]
3650 filename_cc = filename_cc[:-len('_unittest')]
3652 filename_cc = filename_cc[:-len('_test')]
3658 filename_h = filename_h[:-len('.h')]
3660 filename_h = filename_h[:-len('-inl')]
3667 common_path = filename_cc[:-len(filename_h)]
3942 for linenum in range(len(lines)):