Lines Matching refs:LocalPath
308 local_path = f.LocalPath()
328 if not f.LocalPath().endswith('.h'):
347 if (not f.LocalPath().endswith(('.cc', '.mm'))):
352 problems.append(' %s:%d' % (f.LocalPath(), line_num))
364 if (not f.LocalPath().endswith(('.cc', '.h')) or
365 f.LocalPath().endswith(('test.cc', '_win.cc', '_win.h'))):
373 problems.append(' %s:%d' % (f.LocalPath(), line_num))
388 if any(f.LocalPath().endswith('.DEPS.git') for f in
402 if all(f.LocalPath() != 'DEPS' for f in input_api.AffectedFiles()):
419 file_filter = lambda f: f.LocalPath().endswith(('.mm', '.m', '.h'))
434 problems.append(' %s:%d:' % (f.LocalPath(), line_num))
438 file_filter = lambda f: f.LocalPath().endswith(('.cc', '.mm', '.h'))
443 local_path = affected_file.LocalPath()
461 problems.append(' %s:%d:' % (f.LocalPath(), line_num))
481 if not f.LocalPath().endswith('.h'):
500 if not f.LocalPath().endswith(('.cc', '.h', '.inl', '.m', '.mm')):
505 problems.append(' %s:%d' % (f.LocalPath(), line_num))
535 if not CppChecker.IsCppFile(f.LocalPath()):
539 added_includes.append([f.LocalPath(), changed_lines])
574 args += ['--file', f.LocalPath()]
591 if not f.LocalPath().endswith('.h'):
595 errors.append(' %s:%d' % (f.LocalPath(), line_num))
687 '', input_api.os_path.basename(f.LocalPath()))
725 warnings.extend(_CheckIncludeOrderForScope(scope, input_api, f.LocalPath(),
747 if f.LocalPath().endswith(('.cc', '.h')):
763 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line))
801 problems.append((f.LocalPath(), line_num, line))
819 if pattern.match(f.LocalPath()):
820 errors.append(' %s' % f.LocalPath())
869 filename = input_api.os_path.basename(f.LocalPath())
972 log_info.append(f.LocalPath())
974 log_info.append(f.LocalPath())
977 printf.append(f.LocalPath())
979 printf.append(f.LocalPath())
1035 if not f.LocalPath().endswith(('.cc', '.h', '.inl', '.m', '.mm')):
1039 errors.append('%s:%d' % (f.LocalPath(), linenum))
1056 cygwin_shell.append(f.LocalPath())
1074 file_filter = lambda f: f.LocalPath().endswith(('.cc', '.mm'))
1094 % (f.LocalPath(), line_num, action_name))]
1158 filename = affected_file.LocalPath()
1171 path = affected_file.LocalPath()
1187 MatchesFile(json_no_comments_patterns, affected_file.LocalPath())):
1194 (affected_file.LocalPath(), parse_error)))
1258 (fpath.LocalPath(), line_num, deprecated_value, value)))
1291 source_file_filter=lambda x: x.LocalPath().endswith('.grd')))
1300 if any('PRESUBMIT.py' == f.LocalPath() for f in input_api.AffectedFiles()):
1338 problems = [f.LocalPath() for f in input_api.AffectedFiles()
1339 if f.LocalPath().endswith(('.orig', '.rej'))]
1375 results.append(' %s:%d %s%s' % (f.LocalPath(),
1386 if not f.LocalPath().endswith(('.py', '.js', '.html', '.css')):
1406 local_path = f.LocalPath()