/external/webkit/Tools/Scripts/webkitpy/style/ |
H A D | main.py | 33 def change_directory(checkout_root, paths, mock_os=None): 36 If every path in the paths parameter is below the checkout root (or if 37 the paths parameter is empty or None), this method changes the current 38 working directory to the checkout root and converts the paths parameter 40 This allows the paths being checked to be displayed relative to the 45 the paths parameter unchanged. 48 paths: A copy of the paths parameter -- possibly converted, as follows. 50 checkout root, then the list is the paths parameter converted to 51 normalized paths relativ 125 paths = rel_paths variable [all...] |
H A D | main_unittest.py | 64 def _change_directory(self, paths, checkout_root): 65 return change_directory(paths=paths, 77 checkout_root=None, paths=None) 82 paths = self._change_directory(checkout_root=None, 83 paths=["path1"]) 89 self._assert_result(paths, ["path1"], log_messages, 93 paths = self._change_directory(checkout_root=self._checkout_root, 94 paths=None) 95 self._assert_result(paths, Non [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebFileChooserCompletionImpl.cpp | 50 Vector<WTF::String> paths; local 52 paths.append(fileNames[i]); 53 m_fileChooser->chooseFiles(paths);
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
H A D | google_chrome.py | 47 to the baseline paths.""" 57 paths = chromium_linux.ChromiumLinuxPort.baseline_search_path( 59 paths.insert(0, self._webkit_baseline_path( 61 return paths 76 paths = chromium_linux.ChromiumLinuxPort.baseline_search_path( 78 paths.insert(0, self._webkit_baseline_path( 80 return paths 97 paths = chromium_mac.ChromiumMacPort.baseline_search_path( 99 paths.insert(0, self._webkit_baseline_path( 101 return paths [all...] |
H A D | test_files.py | 32 which takes an optional list of paths. If a list is passed in, the returned 33 list of test files is constrained to those found under the paths passed in, 52 def find(port, paths=None): 53 """Finds the set of tests under a given list of sub-paths. 56 paths: a list of path expressions relative to port.layout_tests_dir() 58 forward slashes on Windows. If paths is empty, we look at 61 paths = paths or ['*'] 63 return normalized_find(filesystem, normalize(filesystem, port.layout_tests_dir(), paths)) 66 def normalize(filesystem, base_dir, paths) [all...] |
H A D | chromium_gpu.py | 39 to the baseline paths.""" 75 def _tests(port, paths): 76 if not paths: 77 paths = ['compositing', 'platform/chromium/compositing', 'media'] 81 paths += ['fast/canvas', 'canvas/philip'] 84 paths += ['plugins/invalidate_rect.html'] 85 return test_files.find(port, paths) 105 def tests(self, paths): 106 return _tests(self, paths) 125 def tests(self, paths) [all...] |
/external/webkit/Tools/Scripts/ |
H A D | check-webkit-style | 90 (paths, options) = parser.parse(args) 95 if not paths: 98 "specific paths to check.") 109 paths = change_directory(checkout_root=checkout_root, paths=paths) 115 if paths and not options.diff_files: 116 file_reader.process_paths(paths) 118 changed_files = paths if options.diff_files else None
|
H A D | do-file-rename | 45 my @paths; 69 push @paths, $File::Find::name; 81 for my $file (sort @paths) { 87 for my $file (sort @paths) { 97 for my $file (sort @paths) {
|
H A D | find-mismatched-layout-test-results | 39 """Returns a 2-tuple (options, paths) where options contains the 40 parsed arguments and paths is a list of directories to search.""" 51 options, paths = option_parser.parse_args() 56 if not paths: 57 paths = [os.path.join(scm.find_checkout_root(), 'LayoutTests')] 58 return options, paths 90 options, paths = parse_args() 92 for path in paths:
|
H A D | find-extra-includes | 36 my %paths; 49 $paths{$file} = $File::Find::name; 93 print "$paths{$file} does not need to include $i1, because $i2 does\n" if $b1 ne $b2;
|
H A D | do-webcore-rename | 71 my @paths; 92 push @paths, $File::Find::name; 202 for my $file (sort @paths) { 209 for my $file (sort @paths) { 219 for my $file (sort @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/llvm/unittests/Support/ |
H A D | Path.cpp | 46 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/stlport/ |
H A D | libstlport.mk | 1 # Add a couple include paths to use stlport.
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
H A D | ProcessorPreserveSpace.java | 64 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); 65 setPropertiesFromAttributes(handler, rawName, attributes, paths); 67 Vector xpaths = paths.getElements(); 76 paths.clearElements();
|
H A D | ProcessorStripSpace.java | 63 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 D | safe_browsing_util_unittest.cc | 27 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...] |
/external/webkit/Source/WebCore/html/ |
H A D | FileInputType.cpp | 149 // (because that's what Windows file paths use). To be compatible 160 void FileInputType::setFileList(const Vector<String>& paths) argument 163 size_t size = paths.size(); 167 // and the paths provided here share a root directory somewhere up the tree; 168 // we want to store only the relative paths from that point. 171 String rootPath = directoryName(paths[0]); 173 while (!paths[i].startsWith(rootPath)) 180 String relativePath = paths[i].substring(1 + rootPath.length()).replace('\\', '/'); 181 m_fileList->append(File::create(relativePath, paths[i])); 188 m_fileList->append(File::create(paths[ [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
H A D | qwebplugindatabase.cpp | 243 by WebKit. The plugins are picked up by WebKit by looking up a set of search paths. 244 The default set can be accessed using defaultSearchPaths(). The search paths 245 can be changed, see searchPaths() and setSearchPaths(). Additional search paths 273 Returns a list of plugins installed in the search paths. 298 Returns a default set of search paths. 304 QStringList paths; local 308 paths.append(directories[i]); 310 return paths; 314 Returns a list of search paths that are used by WebKit to look for plugins. 320 QStringList paths; local 335 setSearchPaths(const QStringList& paths) argument [all...] |
/external/webkit/Source/WebCore/plugins/ |
H A D | PluginDatabase.cpp | 119 HashSet<String> paths; local 120 getPluginPathsInDirectories(paths); 129 HashSet<String>::const_iterator pathsEnd = paths.end(); 130 for (HashSet<String>::const_iterator it = paths.begin(); it != pathsEnd; ++it) { 151 // Cache all the paths we found with their timestamps for next time. 371 Vector<String> paths; local 373 // Add paths specific to each platform 377 paths.append(userPluginPath); 381 paths.append(userPluginPath); 383 paths [all...] |
/external/libvorbis/vq/ |
H A D | make_floor_books.pl | 53 @paths=split(' ',$1); 68 foreach $dir (@paths){
|
/external/llvm/utils/lit/lit/ |
H A D | Util.py | 51 def which(command, paths = None): 52 """which(command, [paths]) - Look up the given command in the paths string 55 if paths is None: 56 paths = os.environ.get('PATH','') 63 if not paths: 64 paths = os.defpath 73 # Search the paths... 74 for path in paths.split(os.pathsep): 88 def whichTools(tools, paths) [all...] |
/external/opencv/ |
H A D | libopencv.mk | 1 # Add a couple include paths to use stlport.
|
/external/webkit/Source/WebKit/chromium/scripts/ |
H A D | concatenate_css_files.py | 59 def __init__(self, paths): 60 self.paths = paths 65 for path in self.paths: 95 raise Exception('File %s referenced in %s not found on any source paths, '
|
H A D | concatenate_js_files.py | 60 def __init__(self, paths): 61 self.paths = paths 66 for path in self.paths: 96 raise Exception('File %s referenced in %s not found on any source paths, '
|