/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | Path.cpp | 46 SmallVector<StringRef, 40> paths; in TEST() local 47 paths.push_back(""); in TEST() 48 paths.push_back("."); in TEST() 49 paths.push_back(".."); in TEST() 50 paths.push_back("foo"); in TEST() 51 paths.push_back("/"); in TEST() 52 paths.push_back("/foo"); in TEST() 53 paths.push_back("foo/"); in TEST() 54 paths.push_back("/foo/"); in TEST() 55 paths.push_back("foo/bar"); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 113 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument 116 int length = paths.length(); in DecodeCompactFieldMaskPaths() 131 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths() 135 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths() 139 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths() 142 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths() 150 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths() 151 paths[i + 1] != ')' && paths[i + 1] != '(') { in DecodeCompactFieldMaskPaths() 154 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths() 162 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths() [all …]
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | gc.py | 90 def keep(paths): argument 92 for idx, path in enumerate(paths): 95 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)] 114 def keep(paths): argument 116 for p in paths: 143 def keep(paths): argument 145 for p in paths: 164 def keep(paths): argument 165 l = set(lf(paths)) 166 r = set(rf(paths)) [all …]
|
D | gc_test.py | 35 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10)] 37 n = newest(paths) 41 paths = [gc.Path("/foo", 0), gc.Path("/foo", 3)] 43 n = newest(paths) 47 paths = [ 52 self.assertEquals(mod(paths), [gc.Path("/foo", 4), gc.Path("/foo", 6)]) 54 self.assertEquals(mod(paths), [gc.Path("/foo", 6), gc.Path("/foo", 9)]) 57 paths = [ 64 one_of(paths), [ 72 paths = [gc.Path("/foo", 0), gc.Path("/foo", 4), gc.Path("/foo", 5)] [all …]
|
/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/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | gc.py | 95 def keep(paths): argument 97 for idx, path in enumerate(paths): 100 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)] 118 def keep(paths): argument 122 for p in paths: 148 def keep(paths): argument 150 for p in paths: 168 def keep(paths): argument 169 l = set(lf(paths)) 170 r = set(rf(paths)) [all …]
|
D | gc_test.py | 54 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10)] 56 n = newest(paths) 60 paths = [gc.Path("/foo", 0), gc.Path("/foo", 3)] 62 n = newest(paths) 66 paths = [ 73 self.assertEqual(mod(paths), [gc.Path("/foo", 4), gc.Path("/foo", 6)]) 75 self.assertEqual(mod(paths), [gc.Path("/foo", 6), gc.Path("/foo", 9)]) 78 paths = [ 90 one_of(paths), [ 100 paths = [gc.Path("/foo", 0), gc.Path("/foo", 4), gc.Path("/foo", 5)] [all …]
|
/external/perf_data_converter/src/quipper/ |
D | scoped_temp_path_test.cc | 101 std::vector<string> paths(kNumMultiplePaths); in TEST() local 105 paths[i] = temp_files[i].path(); in TEST() 106 EXPECT_TRUE(PathExists(paths[i])) << paths[i]; in TEST() 110 EXPECT_FALSE(PathExists(paths[i])) << paths[i]; in TEST() 149 std::vector<string> paths(kNumMultiplePaths); in TEST() local 153 paths[i] = temp_dirs[i].path(); in TEST() 154 EXPECT_TRUE(PathExists(paths[i])) << paths[i]; in TEST() 158 EXPECT_FALSE(PathExists(paths[i])) << paths[i]; in TEST() 180 std::vector<string> paths(kNumMultiplePaths); in TEST() local 184 paths[i] = temp_dirs[i].path(); in TEST() [all …]
|
/external/skqp/gm/ |
D | pathmaskcache.cpp | 70 SkTArray<SkPath> paths; in onDraw() local 71 paths.push_back(); in onDraw() 72 paths.back().moveTo(0.f, 0.f); in onDraw() 73 paths.back().lineTo(98.f, 100.f); in onDraw() 74 paths.back().lineTo(100.f, 100.f); in onDraw() 75 paths.back().conicTo(150.f, 50.f, 100.f, 0.f, 0.6f); in onDraw() 76 paths.back().conicTo(148.f, 50.f, 100.f, 100.f, 0.6f); in onDraw() 77 paths.back().conicTo(50.f, 30.f, 0.f, 100.f, 0.9f); in onDraw() 79 paths.push_back(); in onDraw() 80 paths.back().addCircle(30.f, 30.f, 30.f); in onDraw() [all …]
|
/external/skia/gm/ |
D | pathmaskcache.cpp | 70 SkTArray<SkPath> paths; in onDraw() local 71 paths.push_back(); in onDraw() 72 paths.back().moveTo(0.f, 0.f); in onDraw() 73 paths.back().lineTo(98.f, 100.f); in onDraw() 74 paths.back().lineTo(100.f, 100.f); in onDraw() 75 paths.back().conicTo(150.f, 50.f, 100.f, 0.f, 0.6f); in onDraw() 76 paths.back().conicTo(148.f, 50.f, 100.f, 100.f, 0.6f); in onDraw() 77 paths.back().conicTo(50.f, 30.f, 0.f, 100.f, 0.9f); in onDraw() 79 paths.push_back(); in onDraw() 80 paths.back().addCircle(30.f, 30.f, 30.f); in onDraw() [all …]
|
/external/python/setuptools/setuptools/tests/ |
D | test_egg_info.py | 52 env.paths = dict( 56 list(map(os.mkdir, env.paths.values())) 58 env.paths['home']: { 62 """ % env.paths) 74 setup_cfg = os.path.join(env.paths['home'], 'setup.cfg') 107 setup_cfg = os.path.join(env.paths['home'], 'setup.cfg') 135 actual = self._find_egg_info_files(env.paths['lib']) 158 egg_info_dir = self._find_egg_info_files(env.paths['lib']).base 406 assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] 425 assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] [all …]
|
/external/perf_data_converter/src/ |
D | perf_data_handler_test.cc | 17 const std::vector<string> paths = { in TEST() local 24 for (const auto& path : paths) { in TEST() 30 const std::vector<string> paths = { in TEST() local 39 for (const auto& path : paths) { in TEST() 45 const std::vector<string> paths = { in TEST() local 48 for (const auto& path : paths) { in TEST() 54 const std::vector<string> paths = { in TEST() local 57 for (const auto& path : paths) { in TEST()
|
/external/python/setuptools/setuptools/ |
D | depends.py | 43 def get_version(self, paths=None, default="unknown"): argument 56 f, p, i = find_module(self.module, paths) 63 v = get_module_constant(self.module, self.attribute, default, paths) 70 def is_present(self, paths=None): argument 72 return self.get_version(paths) is not None 74 def is_current(self, paths=None): argument 76 version = self.get_version(paths) 82 def find_module(module, paths=None): argument 89 f, path, (suffix, mode, kind) = info = imp.find_module(part, paths) 93 paths = [path] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
D | archive-thin-paths.test | 4 RUN: mkdir -p archive-thin-paths.dir 5 RUN: echo foo > archive-thin-paths.dir/foo.o 7 RUN: rm -f archive-thin-paths.a 8 RUN: llvm-ar rcsT archive-thin-paths.a archive-thin-paths.dir\foo.o 9 RUN: grep archive-thin-paths.dir/foo.o archive-thin-paths.a
|
/external/ImageMagick/MagickCore/ |
D | configure.c | 650 *paths; in GetConfigureOptions() local 663 paths=GetConfigurePaths(filename,exception); in GetConfigureOptions() 664 if (paths != (LinkedListInfo *) NULL) in GetConfigureOptions() 666 ResetLinkedListIterator(paths); in GetConfigureOptions() 667 element=(const char *) GetNextValueInLinkedList(paths); in GetConfigureOptions() 677 element=(const char *) GetNextValueInLinkedList(paths); in GetConfigureOptions() 679 paths=DestroyLinkedList(paths,RelinquishMagickMemory); in GetConfigureOptions() 742 *paths; in GetConfigurePaths() local 748 paths=NewLinkedList(0); in GetConfigurePaths() 773 (void) AppendValueToLinkedList(paths,ConstantString(path)); in GetConfigurePaths() [all …]
|
/external/skia/src/compute/tests/groups/ |
D | groups.c | 78 skc_path_t * paths = malloc(sizeof(*paths) * 6); in groups_paths_decode() local 86 skc_path_end(pb,paths+ii*2); in groups_paths_decode() 90 skc_path_end(pb,paths+ii*2+1); in groups_paths_decode() 93 return paths; in groups_paths_decode() 98 skc_path_t * const paths) in groups_paths_release() argument 100 skc_path_release(context,paths,6); in groups_paths_release() 102 free(paths); in groups_paths_release() 111 skc_path_t const * const paths, in groups_rasters_decode() argument 127 paths[ii], in groups_rasters_decode()
|
/external/skqp/src/compute/tests/groups/ |
D | groups.c | 78 skc_path_t * paths = malloc(sizeof(*paths) * 6); in groups_paths_decode() local 86 skc_path_end(pb,paths+ii*2); in groups_paths_decode() 90 skc_path_end(pb,paths+ii*2+1); in groups_paths_decode() 93 return paths; in groups_paths_decode() 98 skc_path_t * const paths) in groups_paths_release() argument 100 skc_path_release(context,paths,6); in groups_paths_release() 102 free(paths); in groups_paths_release() 111 skc_path_t const * const paths, in groups_rasters_decode() argument 127 paths[ii], in groups_rasters_decode()
|
/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/perfetto/include/perfetto/traced/ |
D | data_source_types.h | 39 std::set<std::string> paths) in InodeMapValue() argument 40 : entry_type_(entry_type), paths_(std::move(paths)) {} in InodeMapValue() 45 const std::set<std::string>& paths() const { return paths_; } in paths() function 49 void SetPaths(std::set<std::string> paths) { paths_ = std::move(paths); } in SetPaths() argument 53 return type() == rhs.type() && paths() == rhs.paths();
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | watch_dirs.py | 23 def __init__(self, paths): argument 24 if isinstance(paths, basestring): 25 paths = [paths] 27 self.paths = list(paths) 34 for path in self.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/python/cpython2/Tools/scripts/ |
D | win_add2path.py | 36 paths = [envpath] 39 paths.append(path) 41 envpath = os.pathsep.join(paths) 43 return paths, envpath 46 paths, envpath = modify() 47 if len(paths) > 1: 49 print '\n'.join(paths[1:])
|
/external/python/cpython3/Tools/scripts/ |
D | win_add2path.py | 37 paths = [envpath] 40 paths.append(path) 42 envpath = os.pathsep.join(paths) 44 return paths, envpath 47 paths, envpath = modify() 48 if len(paths) > 1: 50 print('\n'.join(paths[1:]))
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_namespace_pkgs.py | 62 os.path.join(self.root, path) for path in self.paths 73 paths = ['portion1'] variable in SingleNamespacePackage 89 paths = ['portion1'] variable in DynamicPathNamespacePackage 108 paths = ['both_portions'] variable in CombinedNamespacePackages 118 paths = ['portion1', 'portion2'] variable in SeparatedNamespacePackages 128 paths = ['portion1', 'both_portions'] variable in SeparatedOverlappingNamespacePackages 151 paths = ['top_level_portion1.zip'] variable in SingleZipNamespacePackage 163 paths = ['top_level_portion1.zip', 'portion2'] variable in SeparatedZipNamespacePackages 175 paths = ['nested_portion1.zip/nested_portion1'] variable in SingleNestedZipNamespacePackage 187 paths = ['nested_portion1.zip/nested_portion1', 'portion2'] variable in SeparatedNestedZipNamespacePackages [all …]
|
/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 …]
|