Searched defs:paths (Results 1 - 25 of 66) sorted by relevance

123

/external/webkit/Tools/Scripts/webkitpy/style/
H A Dmain.py33 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...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebFileChooserCompletionImpl.cpp50 Vector<WTF::String> paths; local
52 paths.append(fileNames[i]);
53 m_fileChooser->chooseFiles(paths);
/external/jsilver/src/org/clearsilver/jni/
H A DJNI.java135 public static void setLibrarySearchPaths(String... paths) { argument
136 JNI.librarySearchPaths = paths;
/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...]
H A Dfilter_false_positive_perftest.cc173 std::vector<std::string> paths; local
174 safe_browsing_util::GeneratePathsToCheck(url_check, &paths);
177 for (size_t j = 0; j < paths.size(); ++j) {
179 crypto::SHA256HashString(hosts[i] + paths[j], &prefix, sizeof(prefix));
185 return hosts.size() * paths.size();
H A Dsafe_browsing_util.cc387 void GeneratePathsToCheck(const GURL& url, std::vector<std::string>* paths) { argument
388 paths->clear();
400 // the query parameters, and also up to 4 paths formed by starting at the root
406 i != path.end() && paths->size() < kMaxPathsToCheck; ++i) {
408 paths->push_back(std::string(path.begin(), i + 1));
411 if (!paths->empty() && paths->back() != path)
412 paths->push_back(path);
415 paths->push_back(path + "?" + query);
432 std::vector<std::string> hosts, paths;
[all...]
/external/webkit/Source/WebKit/qt/WebCoreSupport/
H A DQtPlatformPlugin.cpp52 const QStringList paths = QCoreApplication::libraryPaths(); local
54 for (int i = 0; i < paths.count(); ++i) {
55 const QDir dir(paths[i] + suffix);
/external/oprofile/libpp/
H A Dlocate_images.cpp33 void extra_images::populate(vector<string> const & paths, argument
36 vector<string>::const_iterator cit = paths.begin();
37 vector<string>::const_iterator end = paths.end();
52 void extra_images::populate(vector<string> const & paths, argument
65 populate(paths, "");
67 populate(paths, archive_path);
69 populate(paths, root_path);
/external/llvm/lib/Linker/
H A DLinker.cpp72 Linker::addPaths(const std::vector<std::string>& paths) { argument
73 for (unsigned i = 0, e = paths.size(); i != e; ++i)
74 LibPaths.push_back(sys::Path(paths[i]));
/external/webkit/Source/WebCore/html/
H A DFileInputType.cpp149 // (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 Dqwebplugindatabase.cpp243 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/chromium/net/tools/flip_server/
H A Dmem_cache.cc80 std::deque<std::string> paths; local
82 paths.push_back(cwd_ + "/GET_");
84 while (!paths.empty()) {
85 while (current_dir == NULL && !paths.empty()) {
86 std::string current_dir_name = paths.front();
89 paths.pop_front();
112 paths.push_front(current_entry_name);
/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/webkit/Source/WebCore/rendering/
H A DRenderFileUploadControl.cpp113 void RenderFileUploadControl::receiveDropForDirectoryUpload(const Vector<String>& paths) argument
116 chromePointer->enumerateChosenDirectory(paths[0], m_fileChooser.get());
318 void RenderFileUploadControl::receiveDroppedFiles(const Vector<String>& paths) argument
322 receiveDropForDirectoryUpload(paths);
328 m_fileChooser->chooseFiles(paths);
330 m_fileChooser->chooseFile(paths[0]);
/external/webkit/Source/WebCore/storage/
H A DStorageTracker.cpp201 Vector<String> paths; local
204 paths = listDirectory(m_storageDirectoryPath, fileMatchPattern);
219 Vector<String>::const_iterator end = paths.end();
220 for (Vector<String>::const_iterator it = paths.begin(); it != end; ++it) {
/external/chromium/chrome/browser/ui/views/
H A Dselect_file_dialog.cc281 std::vector<FilePath> paths; local
282 paths.reserve(paths_value->GetSize());
293 paths.push_back(path);
297 listener_->MultiFilesSelected(paths, delegate->params_);
/external/linux-tools-perf/util/
H A Dhelp.c177 char *paths, *path, *colon; local
178 path = paths = strdup(env_path);
189 free(paths);
/external/webkit/Source/WebKit2/UIProcess/Plugins/win/
H A DPluginInfoStoreWin.cpp261 Vector<String> paths; local
265 return paths;
275 paths.append(directory + "\\" + filename);
278 return paths;
281 static void addPluginPathsFromRegistry(HKEY rootKey, Vector<String>& paths) argument
302 paths.append(path);
310 Vector<String> paths; local
312 addPluginPathsFromRegistry(HKEY_LOCAL_MACHINE, paths);
313 addPluginPathsFromRegistry(HKEY_CURRENT_USER, paths);
315 return paths;
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DRedundentExprEliminator.java45 * 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) argument
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, numPathsEliminate
152 eleminateSharedPartialPaths(ElemTemplateElement psuedoVarRecipient, Vector paths) argument
554 createMultistepExprList(Vector paths) argument
596 findAndEliminateRedundant(int start, int firstOccuranceIndex, ExpressionOwner firstOccuranceOwner, ElemTemplateElement psuedoVarRecipient, Vector paths) argument
675 oldFindAndEliminateRedundant(int start, int firstOccuranceIndex, ExpressionOwner firstOccuranceOwner, ElemTemplateElement psuedoVarRecipient, Vector paths) argument
785 changeToVarRef(QName varName, ExpressionOwner owner, Vector paths, ElemTemplateElement psuedoVarRecipient) argument
1216 diagnoseNumPaths(Vector paths, int numPathsEliminated, int numUniquePathsEliminated) argument
1268 validateNewAddition(Vector paths, ExpressionOwner owner, LocPathIterator path) argument
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dcollected_cookies_gtk.cc333 GList* paths = gtk_tree_selection_get_selected_rows(selection, &model); local
334 if (g_list_length(paths) == 1) {
335 GList* item = g_list_first(paths);
354 g_list_foreach(paths, reinterpret_cast<GFunc>(gtk_tree_path_free), NULL);
355 g_list_free(paths);
378 GList* paths = local
381 for (GList* item = paths; item; item = item->next) {
396 g_list_foreach(paths, reinterpret_cast<GFunc>(gtk_tree_path_free), NULL);
397 g_list_free(paths);
439 GList* paths local
[all...]
/external/chromium/crypto/
H A Dnss_util.cc609 std::vector<FilePath> paths; local
612 paths.push_back(FilePath());
615 paths.push_back(FilePath("/usr/lib/nss"));
626 for (size_t j = 0; j < paths.size(); ++j) {
627 FilePath path = paths[j].Append(libs[i]);
/external/openssh/
H A Dssh.c60 #include <paths.h>
220 /* ~/ expand a list of paths. NB. assumes path[n] is heap-allocated. */
222 tilde_expand_paths(char **paths, u_int num_paths) argument
228 cp = tilde_expand_filename(paths[i], original_real_uid);
229 xfree(paths[i]);
230 paths[i] = cp;
/external/srec/srec/Semproc/src/
H A DSemanticProcessorImpl.c81 * Initialize the list of partial paths
86 static void sem_partial_path_print(sem_partial_path* path, sem_partial_path* paths, int npaths, wordmap* ilabels);
544 * Go through the partial paths which were successful and accumulate the scripts
863 * Go through the partial paths which were successful and accumulate the scripts
1104 pfprintf(PSTDERR, "sem_partial_path_create() no more partial paths available (limit=%d)\n", MAX_SEM_PARTIAL_PATHS);
1117 sem_partial_path* paths, int npaths, wordmap* ilabels)
1143 if (paths[i].next == path)
1145 frompath = &paths[i];
1149 if (1)sem_partial_path_print(frompath, paths, npaths, ilabels);
1116 sem_partial_path_print(sem_partial_path* path, sem_partial_path* paths, int npaths, wordmap* ilabels) argument
/external/webkit/Source/WebCore/plugins/
H A DPluginDatabase.cpp119 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/webkit/Source/WebCore/plugins/win/
H A DPluginDatabaseWin.cpp82 static inline void addPluginPathsFromRegistry(HKEY rootKey, HashSet<String>& paths) argument
109 paths.add(String(pathStr, pathStrSize / sizeof(WCHAR) - 1));
115 void PluginDatabase::getPluginPathsInDirectories(HashSet<String>& paths) const
148 paths.add(fullPath);
160 addPluginPathsFromRegistry(HKEY_LOCAL_MACHINE, paths);
161 addPluginPathsFromRegistry(HKEY_CURRENT_USER, paths);
166 paths.remove(oldWMPPluginPath);

Completed in 601 milliseconds

123