/external/chromium_org/ |
D | PRESUBMIT.py | 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')) [all …]
|
/external/chromium_org/tools/valgrind/memcheck/ |
D | PRESUBMIT.py | 23 for f in filter(lambda x: sup_regex.search(x.LocalPath()), 37 if f.LocalPath() == suppressions[line][1]: 40 (line, f.LocalPath(), line_num, 45 (line, f.LocalPath(), line_num, 55 (line, f.LocalPath(), line_num)) 68 errors.append('"%s" is probably wrong: %s line %s' % (line, f.LocalPath(),
|
/external/chromium_org/third_party/libyuv/tools/valgrind-libyuv/memcheck/ |
D | PRESUBMIT.py | 39 for f in filter(lambda x: sup_regex.search(x.LocalPath()), 53 if f.LocalPath() == suppressions[line][1]: 56 (line, f.LocalPath(), line_num, 61 (line, f.LocalPath(), line_num, 71 (line, f.LocalPath(), line_num)) 84 errors.append('"%s" is probably wrong: %s line %s' % (line, f.LocalPath(),
|
/external/chromium_org/third_party/skia/ |
D | PRESUBMIT.py | 43 eof_files.append(f.LocalPath()) 68 affected_file_path = affected_file.LocalPath() 80 sources = lambda x: (x.LocalPath().endswith('.h') or 81 x.LocalPath().endswith('.gypi') or 82 x.LocalPath().endswith('.gyp') or 83 x.LocalPath().endswith('.py') or 84 x.LocalPath().endswith('.sh') or 85 x.LocalPath().endswith('.cpp')) 193 affected_file_path = affected_file.LocalPath()
|
/external/chromium_org/chrome/app/nibs/ |
D | PRESUBMIT.py | 30 if x.LocalPath().endswith('.xib')] 60 incorrect_system_versions.append(xib.LocalPath()) 63 incorrect_system_versions.append(xib.LocalPath()) 66 incorrect_system_versions.append(xib.LocalPath()) 71 incorrect_ib_versions.append(xib.LocalPath())
|
/external/chromium_org/third_party/WebKit/Tools/ |
D | PRESUBMIT.py | 17 if (not f.LocalPath().endswith('run-perf-test.cfg')): 21 cfg_file = imp.load_source('config', os.path.basename(f.LocalPath())) 25 return f.LocalPath() 27 return f.LocalPath()
|
/external/chromium_org/base/ |
D | PRESUBMIT.py | 16 if (f.LocalPath().startswith('base/') and 17 not "/test/" in f.LocalPath() and 18 not f.LocalPath().endswith('_unittest.mm') and 19 not f.LocalPath().endswith('mac/sdk_forward_declarations.h')):
|
/external/chromium_org/third_party/WebKit/ |
D | PRESUBMIT.py | 22 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line)) 43 if f.LocalPath() != 'WATCHLISTS': 133 problems = [f.LocalPath() for f in input_api.AffectedFiles() 134 if f.LocalPath().endswith(('.orig', '.rej'))] 143 local_paths = [f.LocalPath() for f in input_api.AffectedFiles()] 164 + [f.LocalPath() for f in input_api.AffectedFiles()]) 202 if not CppChecker.IsCppFile(f.LocalPath()): 206 added_includes.append([f.LocalPath(), changed_lines]) 289 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line)) 301 args += ['--file', f.LocalPath()] [all …]
|
/external/chromium_org/cc/ |
D | PRESUBMIT.py | 44 assert_files.append(f.LocalPath()) 47 notreached_files.append(f.LocalPath()) 73 using_std_abs_files.append(f.LocalPath()) 75 found_fabs_files.append(f.LocalPath()); 87 missing_std_prefix_files.append(f.LocalPath()) 130 (f.LocalPath(), match.group('type')))) 140 errors.append(f.LocalPath()) 159 errors.append(f.LocalPath()) 221 errors.append(f.LocalPath()) 271 ' %s:%d\n %s' % (f.LocalPath(), line_number, line.strip()))
|
/external/chromium_org/content/browser/fileapi/ |
D | local_file_util_unittest.cc | 77 base::FilePath LocalPath(const char *file_name) { in LocalPath() function in content::LocalFileUtilTest 85 return base::PathExists(LocalPath(file_name)) && in FileExists() 86 !base::DirectoryExists(LocalPath(file_name)); in FileExists() 90 return base::DirectoryExists(LocalPath(file_name)); in DirectoryExists() 95 base::GetFileInfo(LocalPath(file_name), &info); in GetSize() 147 base::FilePath target_path = LocalPath(target_name); in TEST_F() 151 base::FilePath symlink_path = LocalPath(symlink_name); in TEST_F() 187 ASSERT_TRUE(base::GetFileInfo(LocalPath(file_name), &info)); in TEST_F() 197 ASSERT_TRUE(base::GetFileInfo(LocalPath(file_name), &info)); in TEST_F() 212 ASSERT_TRUE(base::GetFileInfo(LocalPath(dir_name), &info)); in TEST_F() [all …]
|
/external/chromium_org/v8/ |
D | PRESUBMIT.py | 110 if not CppChecker.IsCppFile(f.LocalPath()): 114 added_includes.append([f.LocalPath(), changed_lines]) 171 local_path = f.LocalPath() 203 FilterFile = lambda file: file.LocalPath() == src_version 205 lambda file: file.LocalPath() == src_version):
|
/external/chromium_org/chrome/app/ |
D | PRESUBMIT.py | 22 filename_filter = lambda x: x.LocalPath().endswith('.grd') 26 problems.append('%s:%d' % (f.LocalPath(), line_num))
|
/external/chromium_org/tools/lsan/ |
D | PRESUBMIT.py | 16 if not f.LocalPath().endswith('suppressions.txt'): 24 (line, f.LocalPath(), line_num))
|
/external/chromium_org/net/websockets/ |
D | PRESUBMIT.py | 31 added_source_filenames = set(input_api.basename(af.LocalPath()) 37 lambda af: af.LocalPath().endswith('/README'))
|
/external/chromium_org/ui/resources/resource_check/ |
D | resource_scale_factors.py | 75 if (f.LocalPath().endswith('.png') and 76 f.LocalPath().startswith(path_root)): 78 relative_path = self.input_api.os_path.relpath(f.LocalPath(),
|
/external/chromium_org/media/ |
D | PRESUBMIT.py | 13 return affected_file.LocalPath().endswith( 53 ' %s:%d\n %s' % (f.LocalPath(), line_number, line.strip())) 78 problems.append('%s:%d' % (f.LocalPath(), line_number))
|
/external/chromium_org/ppapi/ |
D | PRESUBMIT.py | 51 files = [f.LocalPath() for f in live_files] 88 files = [f.LocalPath() for f in live_files] 175 path = filename.LocalPath() 242 lines = input_api.RightHandSideLines(lambda f: f.LocalPath() == filename) 266 lambda f: f.LocalPath() == 'ppapi/c/%s.h' % filename)
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | PRESUBMIT.py | 14 if f.LocalPath().endswith('UseCounter.cpp'): 47 items=[useCounterCpp.LocalPath()])]
|
/external/chromium_org/third_party/ |
D | PRESUBMIT.py | 42 local_path = f.LocalPath() 121 third_party_dir = input_api.os_path.dirname(affected_file.LocalPath()) 123 if f.LocalPath().startswith(third_party_dir):
|
/external/chromium_org/build/android/ |
D | PRESUBMIT.py | 21 if f.LocalPath() in _DELETIONS_ONLY_FILES: 23 warnings.append(f.LocalPath())
|
/external/chromium_org/tools/android/checkstyle/ |
D | checkstyle.py | 25 java_files = [x.LocalPath() for x in input_api.AffectedFiles(False, False) 26 if os.path.splitext(x.LocalPath())[1] == '.java']
|
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
D | js_checker.py | 172 affected_js_files = filter(lambda f: f.LocalPath().endswith('.js'), 195 f.LocalPath())) 211 f.LocalPath()] + error_lines
|
/external/chromium_org/tools/strict_enum_value_checker/ |
D | strict_enum_value_checker.py | 276 self.LogInfo("Start processing file \"%s\"" % affected_file.LocalPath()) 278 self.LogInfo("Done processing file \"%s\"" % affected_file.LocalPath()) 282 if file.LocalPath() == self.path:
|
/external/chromium_org/chrome/browser/web_dev_style/ |
D | js_checker.py | 197 affected_js_files = filter(lambda f: f.LocalPath().endswith('.js'), 218 self.input_api.change.RepositoryRoot(), f.LocalPath())) 234 f.LocalPath()] + error_lines
|
/external/chromium_org/net/ |
D | PRESUBMIT.py | 25 if any('nss' in f.LocalPath() for f in change.AffectedFiles()):
|