Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/external/swiftshader/third_party/LLVM/unittests/Support/
DPath.cpp46 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/
Dfield_mask_utility.cc113 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/
Dgc.py90 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 …]
Dgc_test.py35 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/
Dmd5sum.py19 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/
Dgc.py95 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 …]
Dgc_test.py54 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/
Dscoped_temp_path_test.cc101 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/
Dpathmaskcache.cpp70 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/
Dpathmaskcache.cpp70 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/
Dtest_egg_info.py52 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/
Dperf_data_handler_test.cc17 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/
Ddepends.py43 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/
Darchive-thin-paths.test4 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/
Dconfigure.c650 *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/
Dgroups.c78 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/
Dgroups.c78 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/
DRedundentExprEliminator.java121 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/
Ddata_source_types.h39 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/
Dwatch_dirs.py23 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/
Dmerge_ios_libs67 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/
Dwin_add2path.py36 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/
Dwin_add2path.py37 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/
Dtest_namespace_pkgs.py62 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/
Dunsquashfs.c1278 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 …]

12345678910>>...58