Searched refs:paths (Results 1 - 25 of 1383) 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/third_party/WebKit/Source/core/fileapi/
H A DFileList.cpp45 Vector<String> FileList::paths() const function in class:WebCore::FileList
47 Vector<String> paths; local
49 paths.append(m_files[i]->path());
51 return paths;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dpath.cc42 StringArray_t paths = Split(path); local
44 for (size_t index = 0; index < paths.size(); index++) {
46 if (paths_.size() && index == 0 && paths[0] == "/") continue;
47 paths_.push_back(paths[index]);
55 StringArray_t paths = Split(path); local
60 paths.push_back(paths[index]);
62 paths_ = Normalize(paths);
67 StringArray_t paths = Split(path); local
68 paths_ = Normalize(paths);
97 Normalize(const StringArray_t& paths) argument
144 Join(const StringArray_t& paths) argument
149 Range(const StringArray_t& paths, size_t start, size_t end) argument
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Doffline_file_system.py14 def Read(self, paths, binary=False):
15 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
H A Dempty_dir_file_system.py12 def Read(self, paths, binary=False):
14 for path in paths:
H A Dtest_patcher.py27 def Apply(self, paths, file_system, binary, version=None):
33 for path in paths))
35 raise FileNotFoundError('One of %s is deleted in the patch.' % 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/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/build/android/gyp/
H A Ddex.py16 def DoDex(options, paths):
18 dex_cmd = [dx_binary, '--dex', '--output', options.dex_path] + paths
24 input_paths=paths,
46 options, paths = parser.parse_args()
50 paths = [options.proguard_enabled_input_path]
52 DoDex(options, paths)
/external/chromium_org/chrome/installer/util/
H A Dhelper.cc47 std::vector<base::FilePath>* paths) {
53 paths->clear();
55 paths->resize(has_metro_data ? 2 : 1);
56 (*paths)[0] = data_dir;
58 (*paths)[1] = data_dir.DirName().Append(
62 DCHECK(!paths->empty());
46 GetChromeUserDataPaths(BrowserDistribution* dist, std::vector<base::FilePath>* paths) argument
/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/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/third_party/WebKit/Tools/Scripts/
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/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/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.py25 paths: An array of tuples giving the folders to check and their
31 def __init__(self, input_api, output_api, paths):
32 """ Initializes ResourceScaleFactors with paths."""
35 self.paths = paths
63 # Check for affected files in any of the paths specified.
67 for path_spec in self.paths:
79 base_image = self.input_api.os_path.join(self.paths[0][1], f)
87 for i in range(1, len(self.paths)):
88 image_path = self.input_api.os_path.join(self.paths[
[all...]
/external/llvm/unittests/Support/
H A DPath.cpp46 SmallVector<StringRef, 40> paths; local
47 paths.push_back("");
48 paths.push_back(".");
49 paths.push_back("..");
50 paths.push_back("foo");
51 paths.push_back("/");
52 paths.push_back("/foo");
53 paths.push_back("foo/");
54 paths.push_back("/foo/");
55 paths
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
H A DProcessorPreserveSpace.java64 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet);
65 setPropertiesFromAttributes(handler, rawName, attributes, paths);
67 Vector xpaths = paths.getElements();
76 paths.clearElements();
H A DProcessorStripSpace.java63 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet);
64 setPropertiesFromAttributes(handler, rawName, attributes, paths);
66 Vector xpaths = paths.getElements();
75 paths.clearElements();
/external/chromium/chrome/browser/safe_browsing/
H A Dsafe_browsing_util_unittest.cc27 std::vector<std::string> hosts, paths; local
31 safe_browsing_util::GeneratePathsToCheck(url, &paths);
33 EXPECT_EQ(paths.size(), static_cast<size_t>(4));
37 EXPECT_TRUE(VectorContains(paths, "/1/2.html?param=1"));
38 EXPECT_TRUE(VectorContains(paths, "/1/2.html"));
39 EXPECT_TRUE(VectorContains(paths, "/1/"));
40 EXPECT_TRUE(VectorContains(paths, "/"));
44 safe_browsing_util::GeneratePathsToCheck(url, &paths);
46 EXPECT_EQ(paths.size(), static_cast<size_t>(2));
52 EXPECT_TRUE(VectorContains(paths, "/
[all...]

Completed in 877 milliseconds

1234567891011>>