Lines Matching refs:LocalPath
182 dn = os.path.dirname(f.LocalPath())
186 files.append(f.LocalPath())
190 files.append(f.LocalPath())
206 if not f.LocalPath().endswith('.h'):
230 if not f.LocalPath().endswith('.h'):
251 file_filter = lambda f: (f.LocalPath().endswith(('.cc', '.h'))
256 problems.append(' %s:%d' % (f.LocalPath(), line_num))
304 f.LocalPath()):
375 gn_file.LocalPath())))
436 errors[gn_file.LocalPath()].append((target_name, all_sources))
453 build_files = [os.path.join(cwd, gn_file.LocalPath()) for gn_file in gn_files]
485 errors.append(error_formatter(f.LocalPath(), line_num))
500 and f.LocalPath().endswith('.cc'))
504 errors.append(error_formatter(f.LocalPath(), line_num))
551 if f.LocalPath() == 'PRESUBMIT.py' or _IsException(f.LocalPath()):
556 errors.append(error_formatter(f.LocalPath(), line_num))
580 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
601 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
669 if not CppChecker.IsCppFile(f.LocalPath()):
673 added_includes.append([f.LocalPath(), changed_lines])
756 return (input_api.os_path.splitext(affected_file.LocalPath())[1] == '.json'
774 (affected_file.LocalPath(),
812 if f.LocalPath() in [proto_utils_path, 'PRESUBMIT.py']:
970 path_tokens = [t for t in f.LocalPath().split(os.sep) if t]
1004 file_filter = lambda f: (f.LocalPath().endswith(('.cc', '.h'))
1025 file_filter = lambda f: (f.LocalPath().endswith(('.h'))
1032 if not f.LocalPath().endswith('.h') or not 'sdk/objc' in f.LocalPath():
1038 files.append(f.LocalPath())
1054 file_filter = lambda f: (f.LocalPath().endswith(('.cc', '.h'))
1119 if f.LocalPath().endswith('.h'):
1120 file_path = os.path.abspath(f.LocalPath())
1127 f.LocalPath(), os.path.relpath(gn_file_path))))
1138 file_path = f.LocalPath()
1225 r"^third_party[\\\/](WebKit|blink)[\\\/].*", f.LocalPath())
1228 filename = input_api.os_path.basename(f.LocalPath())