Home
last modified time | relevance | path

Searched full:paths (Results 1 – 25 of 3828) sorted by relevance

12345678910>>...154

/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/chromium-trace/catapult/devil/devil/android/
Dmd5sum.py19 def CalculateHostMd5Sums(paths): argument
20 """Calculates the MD5 sum value for all items in |paths|.
26 paths: A list of host paths to md5sum.
28 A dict mapping file paths to their respective md5sum checksums.
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
43 """Calculates the MD5 sum value for all items in |paths|.
49 paths: A list of device paths to md5sum.
[all …]
/external/libchrome/soong/
Dbindings_generator.go78 generatedSrcs android.Paths
116 func (m *mojomPickles) GeneratedHeaderDirs() android.Paths {
120 func (m *mojomPickles) GeneratedDeps() android.Paths {
121 return append(android.Paths{}, m.generatedSrcs...)
124 func (m *mojomPickles) GeneratedSourceFiles() android.Paths {
125 return append(android.Paths{}, m.generatedSrcs...)
128 func (m *mojomPickles) Srcs() android.Paths {
129 return append(android.Paths{}, m.generatedSrcs...)
157 // list of include paths
208 func (p *mojomGenerationProperties) implicitDeps(ctx android.ModuleContext) android.Paths {
[all …]
/external/tensorflow/tensorflow/contrib/session_bundle/
Dgc.py46 path_list = gc.get_paths("/tmp", parser) # contains all ten Paths
88 A filter function that keeps the n largest paths.
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:
141 A filter function that keeps paths where export_version % n == 0.
143 def keep(paths): argument
145 for p in 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/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dgc.py51 path_list = gc.get_paths("/tmp", parser) # contains all ten Paths
93 A filter function that keeps the n largest paths.
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
119 """A filter function that keeps exactly one out of every n paths."""
122 for p in paths:
146 A filter function that keeps paths where export_version % n == 0.
148 def keep(paths): argument
[all …]
Dgc_test.py36 # Modify the path object for RegEx match for Windows Paths
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), [
[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/python/tools/api/generator/
Doutput_init_files_test.py78 """Get set of file paths from the given file.
81 path: Path to file. File at `path` is expected to contain a list of paths
89 List of string paths.
102 """Get all API __init__.py file paths for the given module.
105 module: Module to get file paths for.
108 List of paths for the given module. For e.g. module foo.bar
115 paths = []
118 paths.append('__init__.py')
120 paths.append('%s/__init__.py' % (submodule.replace('.', '/')))
121 return paths
[all …]
/external/perf_data_converter/src/quipper/
Dscoped_temp_path_test.cc18 // For testing the creation of multiple temp paths.
28 // Temporary paths use this prefix by default. Copied from scoped_temp_path.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()
[all …]
/external/protobuf/src/google/protobuf/
Dfield_mask.pb.cc84 "le.protobuf\"\032\n\tFieldMask\022\r\n\005paths\030\001 \003(\tB" in protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
192 // repeated string paths = 1; in MergePartialFromCodedStream()
199 this->paths(this->paths_size() - 1).data(), in MergePartialFromCodedStream()
200 this->paths(this->paths_size() - 1).length(), in MergePartialFromCodedStream()
202 "google.protobuf.FieldMask.paths")); in MergePartialFromCodedStream()
235 // repeated string paths = 1; in SerializeWithCachedSizes()
238 this->paths(i).data(), this->paths(i).length(), in SerializeWithCachedSizes()
240 "google.protobuf.FieldMask.paths"); in SerializeWithCachedSizes()
242 1, this->paths(i), output); in SerializeWithCachedSizes()
251 // repeated string paths = 1; in SerializeWithCachedSizesToArray()
[all …]
Dfield_mask.pb.h100 // repeated string paths = 1;
104 const ::std::string& paths(int index) const;
113 const ::google::protobuf::RepeatedPtrField< ::std::string>& paths() const;
138 // repeated string paths = 1;
145 inline const ::std::string& FieldMask::paths(int index) const { in paths() function
146 // @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths) in paths()
150 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths) in mutable_paths()
154 // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths) in set_paths()
159 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths) in set_paths()
164 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths) in set_paths()
[all …]
/external/python/setuptools/setuptools/
Ddepends.py43 def get_version(self, paths=None, default="unknown"): argument
46 Search 'paths' for module. If not found, return 'None'. If found,
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
71 """Return true if dependency is present on 'paths'"""
72 return self.get_version(paths) is not None
74 def is_current(self, paths=None): argument
75 """Return true if dependency is present and up-to-date on 'paths'"""
76 version = self.get_version(paths)
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
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) 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()
145 * Eliminate the shared partial paths in the expression list.
[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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/
DCompilationUnitTest.java29 import java.nio.file.Paths;
48 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRoot()
49 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java")); in testGetSourceRoot()
58 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootWithBadPackageDeclaration()
59 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "A.java")); in testGetSourceRootWithBadPackageDeclaration()
67 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootInDefaultPackage()
68 Path testFile = sourceRoot.resolve(Paths.get("B.java")); in testGetSourceRootInDefaultPackage()
77 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryTypeName()
78 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryTypeName()
92 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryType()
[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/skia/experimental/docs/
DexampleSlides.js57 var paths = { variable
331 { "draw":"paths.wedgeXY8", "paint":"paints.gradient1" }
335 { "draw":"paths.wedgeXY6", "paint":"paints.gradient2" }
339 { "draw":"paths.wedgeXY3", "paint":"paints.gradient3" }
346 { "draw":"paths.span4", "paint":"paints.stroke" },
347 { "draw":"paths.wedge4", "paint":"paints.gradient4" },
348 { "draw":"paths.span5", "paint":"paints.stroke" },
349 { "draw":"paths.wedge5", "paint":"paints.gradient5" },
350 { "draw":"paths.span6", "paint":"paints.stroke" },
351 { "draw":"paths.wedge6", "paint":"paints.gradient6" }
[all …]
/external/skqp/experimental/docs/
DexampleSlides.js57 var paths = { variable
331 { "draw":"paths.wedgeXY8", "paint":"paints.gradient1" }
335 { "draw":"paths.wedgeXY6", "paint":"paints.gradient2" }
339 { "draw":"paths.wedgeXY3", "paint":"paints.gradient3" }
346 { "draw":"paths.span4", "paint":"paints.stroke" },
347 { "draw":"paths.wedge4", "paint":"paints.gradient4" },
348 { "draw":"paths.span5", "paint":"paints.stroke" },
349 { "draw":"paths.wedge5", "paint":"paints.gradient5" },
350 { "draw":"paths.span6", "paint":"paints.stroke" },
351 { "draw":"paths.wedge6", "paint":"paints.gradient6" }
[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/skia/tools/lua/
Dpaths_agg.lua17 io.write("Number of clipped paths: ", clipPaths, "\n");
18 io.write("Number of drawn paths: ", drawPaths, "\n");
19 io.write("Number of clipped software paths: ", swClipPaths, "\n");
20 io.write("Number of drawn software paths: ", swDrawPaths, "\n");
25 io.write("Number of SKPs that draw paths: ", skpsWithPath, "\n")
26 io.write("Number of SKPs that draw SW paths: ", skpsWithSWPath, "\n")
34 io.write("Percentage of paths needing software: ", (100*(totalSWPaths / totalPaths)), "\n")
40 io.write("Percentage of SKPs that draw paths: ", (100*(skpsWithPath / skpsTotal)), "\n")
41 io.write("Percentage of SKPs that draw SW paths: ", (100*(skpsWithSWPath / skpsTotal)), "\n")
/external/skqp/tools/lua/
Dpaths_agg.lua17 io.write("Number of clipped paths: ", clipPaths, "\n");
18 io.write("Number of drawn paths: ", drawPaths, "\n");
19 io.write("Number of clipped software paths: ", swClipPaths, "\n");
20 io.write("Number of drawn software paths: ", swDrawPaths, "\n");
25 io.write("Number of SKPs that draw paths: ", skpsWithPath, "\n")
26 io.write("Number of SKPs that draw SW paths: ", skpsWithSWPath, "\n")
34 io.write("Percentage of paths needing software: ", (100*(totalSWPaths / totalPaths)), "\n")
40 io.write("Percentage of SKPs that draw paths: ", (100*(skpsWithPath / skpsTotal)), "\n")
41 io.write("Percentage of SKPs that draw SW paths: ", (100*(skpsWithSWPath / skpsTotal)), "\n")
/external/python/cpython3/Lib/test/test_importlib/
Dtest_namespace_pkgs.py55 Subclasses should define self.root and self.paths (under that root)
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
[all …]
/external/llvm/unittests/Support/
DPath.cpp59 SmallVector<StringRef, 40> paths; in TEST() local
60 paths.push_back(""); in TEST()
61 paths.push_back("."); in TEST()
62 paths.push_back(".."); in TEST()
63 paths.push_back("foo"); in TEST()
64 paths.push_back("/"); in TEST()
65 paths.push_back("/foo"); in TEST()
66 paths.push_back("foo/"); in TEST()
67 paths.push_back("/foo/"); in TEST()
68 paths.push_back("foo/bar"); in TEST()
[all …]
/external/clang/include/clang/AST/
DCXXInheritance.h74 /// calculated when recording paths. AS_none is a special value
88 /// BasePaths - Represents the set of paths from a derived class to
99 /// There are two potential BasePaths to represent paths from D to a
101 /// and another is (D,0)->(C,0)->(A,1). These two paths actually
121 /// Paths - The actual set of paths that can be taken from the
123 std::list<CXXBasePath> Paths; variable
134 /// ambiguous paths while it is looking for a path from a derived
138 /// RecordPaths - Whether Sema::IsDerivedFrom should record paths
139 /// while it is determining whether there are paths from a derived
149 /// to help build the set of paths.
[all …]

12345678910>>...154