/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
H A D | main_unittest.py | 41 def _change_directory(self, paths, checkout_root): 42 return change_directory(self.filesystem, paths=paths, checkout_root=checkout_root) 51 paths = self._change_directory(checkout_root=self._checkout_root, paths=None) 52 self._assert_result(paths, None, [], self._checkout_root) 55 paths = ["/WebKit/foo1.txt", "/WebKit/foo2.txt"] 56 paths = self._change_directory(checkout_root=self._checkout_root, paths=paths) [all...] |
H A D | main.py | 37 def change_directory(filesystem, checkout_root, paths): 40 If every path in the paths parameter is below the checkout root (or if 41 the paths parameter is empty or None), this method changes the current 42 working directory to the checkout root and converts the paths parameter 44 This allows the paths being checked to be displayed relative to the 50 paths: A copy of the paths parameter -- possibly converted, as follows. 52 checkout root, then the list is the paths parameter converted to 53 normalized paths relative to the checkout root. 56 paths 95 paths = rel_paths variable [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
H A D | find_files.py | 31 an optional list of paths, optional set of skipped directories and optional 35 found under the paths passed in. i.e. calling find(["LayoutTests/fast"]) 49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_sort_key=None): 50 """Finds the set of tests under a given list of sub-paths. 53 paths: a list of path expressions relative to base_dir 55 forward slashes on Windows. If paths is empty, we look at 59 paths = paths or ['*'] 61 return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, file_filter, directory_sort_key) 64 def _normalize(filesystem, base_dir, paths) [all...] |
H A D | find_files_unittest.py | 37 def join(self, *paths): 38 return '\\'.join(paths)
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/ |
H A D | PRESUBMIT.py | 8 paths = input_api.AbsoluteLocalPaths() 19 paths = [p for p in paths if ShouldCheckFile(p)] 20 if not paths: 25 # compile, if any, based on the changed paths. 26 if any((ScriptFilter(p) for p in paths)): 27 paths = None 38 success, output = CheckChromeVox(paths)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | check-testharness-expected-pass | 20 paths = [] variable 26 paths.append(path) 28 if len(paths) > 0: 30 sys.stderr.write('\n '.join(paths))
|
H A D | do-file-rename | 45 my @paths; 68 push @paths, $File::Find::name; 80 for my $file (sort @paths) { 86 for my $file (sort @paths) { 96 for my $file (sort @paths) {
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | path.cc | 40 StringArray_t paths = Split(path); local 41 if (paths.empty()) 44 for (size_t index = 0; index < paths.size(); index++) { 46 if (paths_.size() && index == 0 && paths[0] == "/") 48 paths_.push_back(paths[index]); 56 StringArray_t paths = Split(path); local 57 if (paths.empty()) 64 paths.push_back(paths_[index]); 67 paths_ = Normalize(paths); 72 StringArray_t paths local 104 Normalize(const StringArray_t& paths) argument 154 Join(const StringArray_t& paths) argument 159 Range(const StringArray_t& paths, size_t start, size_t end) argument [all...] |
/external/chromium_org/build/android/gyp/ |
H A D | dex.py | 15 def DoDex(options, paths): 22 dex_cmd += paths 28 input_paths=paths, 31 build_utils.WriteJson(paths, options.dex_path + '.inputs') 52 parser.add_option('--inputs', help='A list of additional input paths.') 53 parser.add_option('--excluded-paths-file', 54 help='Path to a file containing a list of paths to exclude ' 57 options, paths = parser.parse_args(args) 64 paths = [options.proguard_enabled_input_path] 68 paths [all...] |
/external/chromium_org/tools/cr/cr/base/ |
H A D | platform.py | 52 def paths(self): member in class:Platform 59 paths = [] 60 for entry in Platform.GetActivePlugin().paths: 62 if entry not in paths: 63 paths.append(entry) 67 elif entry not in paths: 68 paths.append(entry) 69 value = os.path.pathsep.join(paths)
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
H A D | FileList.cpp | 45 Vector<String> paths; local 48 paths.append(m_files[i]->path()); 51 return paths;
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | gjslint.py | 79 def _MultiprocessCheckPaths(paths): 87 paths: paths to check. 95 for results in pool.imap(_CheckPath, paths): 103 def _CheckPaths(paths): 104 """Run _CheckPath on all paths in one thread. 107 paths: paths to check. 113 for path in paths: 123 path: paths t [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_util_unittest.cc | 24 std::vector<std::string> hosts, paths; local 28 safe_browsing_util::GeneratePathsToCheck(url, &paths); 30 EXPECT_EQ(paths.size(), static_cast<size_t>(4)); 34 EXPECT_TRUE(VectorContains(paths, "/1/2.html?param=1")); 35 EXPECT_TRUE(VectorContains(paths, "/1/2.html")); 36 EXPECT_TRUE(VectorContains(paths, "/1/")); 37 EXPECT_TRUE(VectorContains(paths, "/")); 41 safe_browsing_util::GeneratePathsToCheck(url, &paths); 43 EXPECT_EQ(paths.size(), static_cast<size_t>(2)); 49 EXPECT_TRUE(VectorContains(paths, "/ [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | offline_file_system.py | 16 def Read(self, paths, skip_not_found=False): 19 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
|
H A D | test_patcher.py | 26 def Apply(self, paths, file_system, version=None): 30 for path in paths)) 32 raise FileNotFoundError('One of %s is deleted in the patch.' % paths)
|
H A D | empty_dir_file_system.py | 14 def Read(self, paths, skip_not_found=False): 16 for path in paths:
|
/external/chromium_org/media/base/ |
H A D | media_posix.cc | 49 StubPathMap paths; local 53 paths[kModuleFfmpegsumo].push_back(module_dir.Append(kSumoLib).value()); 56 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 58 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 60 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 63 return InitializeStubs(paths);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | iosfilesystem.mm | 37 NSArray* paths = NSSearchPathForDirectoriesInDomains( 39 ASSERT([paths count] == 1); 40 return copyString([paths objectAtIndex:0]);
|
/external/chromium_org/tools/ |
H A D | gyp-explain.py | 6 """Prints paths between gyp targets. 25 yields all paths from |fro| to |to|, starting with the shortest.""" 26 # Storing full paths in the queue is a bit wasteful, but good enough for this. 62 def GenerateDot(fro, to, paths): 64 prefixes = [os.path.commonprefix(path) for path in paths] 67 # "strict" collapses common paths. 69 for path in paths: 106 paths = list(GetPath(g, fro, to)) 107 if len(paths) > 0: 109 GenerateDot(fro, to, paths) [all...] |
/external/chromium_org/ash/resources/ |
H A D | PRESUBMIT.py | 28 # List of paths with their associated scale factor. This is used to verify 41 for paths in path_scales: 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/chrome/app/theme/ |
H A D | PRESUBMIT.py | 28 # List of paths with their associated scale factor. This is used to verify 41 for paths in path_scales: 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | zip_file_creator_browsertest.cc | 54 std::vector<base::FilePath> paths; local 55 paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist"))); 60 paths, local 82 std::vector<base::FilePath> paths; local 83 paths.push_back(kDir1); 84 paths.push_back(kFile1); 85 paths.push_back(kFile2); 90 paths, local
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/check-for-inappropriate-macros-in-external-headers-tests/ |
H A D | run-test.rb | 42 output = sanitized_output %x{ #{$tool} #{config[:paths].join(' ')} 2>&1 } 60 :paths => ['Headers/Pass.h'], 68 :paths => ['Headers/Fail.h'],
|
/external/chromium_org/ui/resources/ |
H A D | PRESUBMIT.py | 27 # List of paths with their associated scale factor. This is used to verify 40 for paths in path_scales: 42 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/ui/resources/resource_check/ |
H A D | resource_scale_factors.py | 29 paths: An array of tuples giving the folders to check and their 35 def __init__(self, input_api, output_api, paths): 36 """ Initializes ResourceScaleFactors with paths.""" 39 self.paths = paths 68 # Check for affected files in any of the paths specified. 72 for path_spec in self.paths: 87 base_image = self.input_api.os_path.join(self.paths[0][1], f) 100 for i in range(1, len(self.paths)): 101 image_path = self.input_api.os_path.join(self.paths[ [all...] |