Searched refs:paths (Results 1 - 25 of 3701) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dmain_unittest.py41 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 Dmain.py37 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 Dfind_files.py31 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 Dfind_files_unittest.py37 def join(self, *paths):
38 return '\\'.join(paths)
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/
H A DPRESUBMIT.py8 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 Dcheck-testharness-expected-pass20 paths = [] variable
26 paths.append(path)
28 if len(paths) > 0:
30 sys.stderr.write('\n '.join(paths))
H A Ddo-file-rename45 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 Dpath.cc40 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 Ddex.py15 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 Dplatform.py52 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 DFileList.cpp45 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 Dgjslint.py79 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 Dsafe_browsing_util_unittest.cc24 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 Doffline_file_system.py16 def Read(self, paths, skip_not_found=False):
19 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
H A Dtest_patcher.py26 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 Dempty_dir_file_system.py14 def Read(self, paths, skip_not_found=False):
16 for path in paths:
/external/chromium_org/media/base/
H A Dmedia_posix.cc49 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 Diosfilesystem.mm37 NSArray* paths = NSSearchPathForDirectoriesInDomains(
39 ASSERT([paths count] == 1);
40 return copyString([paths objectAtIndex:0]);
/external/chromium_org/tools/
H A Dgyp-explain.py6 """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 DPRESUBMIT.py28 # 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 DPRESUBMIT.py28 # 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 Dzip_file_creator_browsertest.cc54 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 Drun-test.rb42 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 DPRESUBMIT.py27 # 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 Dresource_scale_factors.py29 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...]

Completed in 6683 milliseconds

1234567891011>>