/external/webkit/Tools/Scripts/webkitpy/style/ |
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 relative to the checkout root. Otherwise, th 125 paths = rel_paths variable [all...] |
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, None, [], self._checkout_root [all...] |
/external/llvm/unittests/Support/ |
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.push_back("foo/bar") [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
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/ |
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...] |
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...] |
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/webkitpy/layout_tests/layout_package/ |
test_failures_unittest.py | 29 """"Tests code paths not covered by the regular unit tests."""
|
/external/webkit/Tools/Scripts/ |
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
|
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) {
|
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:
|
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;
|
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/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorPreserveSpace.java | 64 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); local 65 setPropertiesFromAttributes(handler, rawName, attributes, paths); 67 Vector xpaths = paths.getElements(); 76 paths.clearElements();
|
ProcessorStripSpace.java | 63 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); local 64 setPropertiesFromAttributes(handler, rawName, attributes, paths); 66 Vector xpaths = paths.getElements(); 75 paths.clearElements();
|
/external/chromium/chrome/browser/safe_browsing/ |
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, "/1.html")) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/protocols/ |
rwhod.h | 64 /* We used to define _PATH_RWHODIR here but it's now in <paths.h>. */ 65 #include <paths.h>
|
/external/webkit/Source/WebCore/html/ |
FileInputType.cpp | 149 // (because that's what Windows file paths use). To be compatible 160 void FileInputType::setFileList(const Vector<String>& paths) 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[i])) [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
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 [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ClusterAlbum.java | 46 void setMediaItems(ArrayList<Path> paths) { 47 mPaths = paths; 74 ArrayList<Path> paths, int start, int count, 76 if (start >= paths.size()) { 79 int end = Math.min(start + count, paths.size()); 80 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end));
|
/external/webkit/Source/WebCore/plugins/ |
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.append("/usr/lib/browser/plugins") [all...] |
/external/llvm/utils/lit/lit/ |
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/ |
libopencv.mk | 1 # Add a couple include paths to use stlport.
|
/frameworks/base/tools/aidl/ |
search_path.cpp | 32 vector<string>& paths = g_importPaths; local 33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) {
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
RedundentExprEliminator.java | 45 * and also collects all absolute paths within the subtree. First 117 * paths were collected. 118 * @param paths A vector of paths that hold ExpressionOwner objects, 121 protected void eleminateRedundent(ElemTemplateElement psuedoVarRecipient, Vector paths) 123 int n = paths.size(); 128 ExpressionOwner owner = (ExpressionOwner) paths.elementAt(i); 131 int found = findAndEliminateRedundant(i + 1, i, owner, psuedoVarRecipient, paths); 138 eleminateSharedPartialPaths(psuedoVarRecipient, paths); 141 diagnoseNumPaths(paths, numPathsEliminated, numUniquePathsEliminated) [all...] |