/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum.py | 19 def CalculateHostMd5Sums(paths): argument 30 if isinstance(paths, basestring): 31 paths = [paths] 37 [md5sum_bin_host_path] + [os.path.realpath(p) for p in paths]) 42 def CalculateDeviceMd5Sums(paths, device): argument 53 if not paths: 56 if isinstance(paths, basestring): 57 paths = [paths] 59 paths = list(paths) 81 if len(paths) > 1: [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | __init__.py | 54 paths = [] 55 paths.extend(_CatapultThirdPartyLibraryPaths()) 58 paths.append(p) 60 paths.append(os.path.join(_CATAPULT_PATH, 'dashboard', name)) 61 return paths 66 paths = [] 67 paths.append(os.path.join(_CATAPULT_PATH, 'dashboard')) 68 paths.extend(_AllSdkThirdPartyLibraryPaths()) 69 paths.extend(_CatapultThirdPartyLibraryPaths()) 70 return paths [all …]
|
D | list_tests.py | 122 def _SubTestsDict(paths, deprecated): argument 135 top_level = set(p.split('/')[0] for p in paths if p) 137 sub_test_paths = _SubPaths(paths, name) 138 has_rows = name in paths 143 def _SubPaths(paths, first_part): argument 146 return ['/'.join(p.split('/')[1:]) for p in paths
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | gjslint.py | 91 def _MultiprocessCheckPaths(paths): argument 107 path_results = pool.imap(_CheckPath, paths) 123 def _CheckPaths(paths): argument 133 for path in paths: 168 def _PrintFileSummary(paths, records): argument 171 paths = list(paths) 172 paths.sort() 174 for path in paths: 183 def _PrintSummary(paths, error_records): argument 187 all_paths = set(paths) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | platform.py | 365 def SetHTTPServerDirectories(self, paths): argument 367 if isinstance(paths, basestring): 368 paths = set([paths]) 369 paths = set(os.path.realpath(p) for p in paths) 373 for parent_path in paths: 374 for sub_path in paths: 379 paths -= duplicates 382 if paths and self.http_server.paths == paths: 387 if not paths: 390 server = memory_cache_http_server.MemoryCacheHTTPServer(paths)
|
D | memory_cache_http_server.py | 155 def __init__(self, host_port, handler, paths): argument 158 for path in paths: 220 paths = args['paths'] 221 for path in paths: 229 server_address, MemoryCacheHTTPRequestHandler, paths) 238 def __init__(self, paths): argument 242 for path in paths: 245 paths = list(paths) 246 self._paths = paths 248 self._paths_as_set = set(map(os.path.realpath, paths)) [all …]
|
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/cloud_mapper/ |
D | __init__.py | 50 paths = [] 61 paths.append(os.path.join(cloud_mapper_dir, name)) 74 paths.append(path) 78 paths.append(os.path.join(third_party_dir, library_dir)) 82 paths.append(os.path.join(third_party_dir, library_dir)) 83 print paths 85 return paths
|
/external/webrtc/talk/build/ |
D | merge_ios_libs | 67 for library, paths in libs.items(): 68 if len(paths) < len(archs): 69 orphaned_libs[library] = paths 71 valid_libs[library] = paths 72 for library, paths in orphaned_libs.items(): 79 valid_libs[parent_library].extend(paths) 89 valid_paths.extend(paths) 107 for library, paths in valid_libs.items(): 109 os.path.join(output_dir_path, library)] + paths
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | RedundentExprEliminator.java | 121 protected void eleminateRedundent(ElemTemplateElement psuedoVarRecipient, Vector paths) in eleminateRedundent() argument 123 int n = paths.size(); in eleminateRedundent() 128 ExpressionOwner owner = (ExpressionOwner) paths.elementAt(i); in eleminateRedundent() 131 int found = findAndEliminateRedundant(i + 1, i, owner, psuedoVarRecipient, paths); in eleminateRedundent() 138 eleminateSharedPartialPaths(psuedoVarRecipient, paths); in eleminateRedundent() 141 diagnoseNumPaths(paths, numPathsEliminated, numUniquePathsEliminated); in eleminateRedundent() 152 protected void eleminateSharedPartialPaths(ElemTemplateElement psuedoVarRecipient, Vector paths) in eleminateSharedPartialPaths() argument 154 MultistepExprHolder list = createMultistepExprList(paths); in eleminateSharedPartialPaths() 160 boolean isGlobal = (paths == m_absPaths); in eleminateSharedPartialPaths() 554 protected MultistepExprHolder createMultistepExprList(Vector paths) in createMultistepExprList() argument [all …]
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 58 SmallVector<StringRef, 40> paths; in TEST() local 59 paths.push_back(""); in TEST() 60 paths.push_back("."); in TEST() 61 paths.push_back(".."); in TEST() 62 paths.push_back("foo"); in TEST() 63 paths.push_back("/"); in TEST() 64 paths.push_back("/foo"); in TEST() 65 paths.push_back("foo/"); in TEST() 66 paths.push_back("/foo/"); in TEST() 67 paths.push_back("foo/bar"); in TEST() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/ |
D | invalidation.py | 33 def __init__(self, paths=None, connection=None, distribution=None, caller_reference=''): argument 37 self.paths = paths or [] 55 return self.paths.append(path) 59 return self.paths.remove(path) 62 return iter(self.paths) 65 return self.paths[i] 68 self.paths[k] = v 81 for p in self.paths: 89 self.paths = [] 94 self.paths.append(value)
|
D | __init__.py | 242 def create_invalidation_request(self, distribution_id, paths, argument 249 if not isinstance(paths, InvalidationBatch): 250 paths = InvalidationBatch(paths) 251 paths.connection = self 256 data=paths.to_xml()) 259 h = handler.XmlHandler(paths, self) 261 return paths 273 paths = InvalidationBatch([]) 274 h = handler.XmlHandler(paths, self) 276 return paths
|
/external/autotest/client/site_tests/security_StatefulPermissions/ |
D | security_StatefulPermissions.py | 84 paths = [] 87 paths.append("/unencrypted/preserve/log") 90 paths.append("/encrypted/var/cache/edb") 91 paths.append("/encrypted/var/lib/gentoo") 92 paths.append("/encrypted/var/log/portage") 95 paths.append("/dev_image") 96 paths.append("/var_overlay") 98 return paths
|
/external/squashfs-tools/squashfs-tools/ |
D | unsquashfs.c | 1278 void free_path(struct pathname *paths) in free_path() argument 1282 for(i = 0; i < paths->names; i++) { in free_path() 1283 if(paths->name[i].paths) in free_path() 1284 free_path(paths->name[i].paths); in free_path() 1285 free(paths->name[i].name); in free_path() 1286 if(paths->name[i].preg) { in free_path() 1287 regfree(paths->name[i].preg); in free_path() 1288 free(paths->name[i].preg); in free_path() 1292 free(paths); in free_path() 1296 struct pathname *add_path(struct pathname *paths, char *target, char *alltarget) in add_path() argument [all …]
|
/external/selinux/sepolgen/src/sepolgen/ |
D | defaults.py | 44 paths = self.config.get(pathset, None) 45 if paths is None: 47 paths = paths.split(":") 48 for p in paths: 51 return os.path.join(paths[0], testfilename)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
D | cfadmin | 49 def invalidate(cf, origin_or_id, *paths): argument 52 if not paths: 53 paths = [] 57 paths.append(path) 66 cf.create_invalidation_request(dist.id, paths) 83 print result.id, result.status, result.paths
|
/external/chromium-trace/catapult/catapult_build/ |
D | temp_deployment_dir.py | 13 def TempDeploymentDir(paths, use_symlinks=True): argument 22 _PopulateDeploymentDir(deployment_dir, paths, link_func) 35 def _PopulateDeploymentDir(deployment_dir, paths, link_func): argument 37 for path in paths:
|
/external/llvm/utils/lit/lit/ |
D | util.py | 71 def which(command, paths = None): argument 75 if paths is None: 76 paths = os.environ.get('PATH','') 83 if not paths: 84 paths = os.defpath 94 for path in paths.split(os.pathsep): 108 def whichTools(tools, paths): argument 109 for path in paths.split(os.pathsep):
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | ProcessorStripSpace.java | 63 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); in startElement() local 64 setPropertiesFromAttributes(handler, rawName, attributes, paths); in startElement() 66 Vector xpaths = paths.getElements(); in startElement() 75 paths.clearElements(); in startElement()
|
D | ProcessorPreserveSpace.java | 64 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); in startElement() local 65 setPropertiesFromAttributes(handler, rawName, attributes, paths); in startElement() 67 Vector xpaths = paths.getElements(); in startElement() 76 paths.clearElements(); in startElement()
|
/external/autotest/client/bin/ |
D | local_host.py | 67 def symlink_closure(self, paths): argument 76 paths = set(paths) 79 while paths: 80 path = paths.pop() 88 paths.add(link_to)
|
D | site_utils.py | 685 paths = _get_hwmon_paths('temp*_crit') 686 for path in paths: 704 paths = _get_hwmon_paths('temp*_input') 705 for path in paths: 792 paths = _get_cpufreq_paths('cpuinfo_max_freq') 793 for path in paths: 807 paths = _get_cpufreq_paths('cpuinfo_min_freq') 808 for path in paths: 916 paths = _get_cpufreq_paths('scaling_governor') 917 for path in paths: [all …]
|
/external/jsoncpp/test/ |
D | cleantests.py | 5 paths = [] variable 7 paths += glob.glob( 'data/' + pattern ) 9 for path in paths:
|
/external/libchrome/base/files/ |
D | file_path_watcher_fsevents.cc | 130 std::vector<FilePath> paths; in FSEventsCallback() local 137 paths.push_back(FilePath( in FSEventsCallback() 153 watcher->OnFilePathsChanged(paths); in FSEventsCallback() 167 const std::vector<FilePath>& paths) { in OnFilePathsChanged() argument 171 FROM_HERE, Bind(&FilePathWatcherFSEvents::DispatchEvents, this, paths, in OnFilePathsChanged() 175 void FilePathWatcherFSEvents::DispatchEvents(const std::vector<FilePath>& paths, in DispatchEvents() argument 185 for (const FilePath& path : paths) { in DispatchEvents()
|
/external/skia/tools/lua/ |
D | lua_pictures.cpp | 121 SkTArray<SkString> paths; in tool_main() local 128 paths.push_back() = SkOSPath::Join(directory.c_str(), filename.c_str()); in tool_main() 132 paths.push_back() = FLAGS_skpPath[i]; in tool_main() 135 for (int i = 0; i < paths.count(); i++) { in tool_main() 142 const char* path = paths[i].c_str(); in tool_main()
|