Home
last modified time | relevance | path

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

12345678910>>...275

/external/bazel-skylib/tests/
Dpaths_tests.bzl15 """Unit tests for paths.bzl."""
17 load("//lib:paths.bzl", "paths")
21 """Unit tests for paths.basename."""
25 asserts.equals(env, "", paths.basename(""))
26 asserts.equals(env, "", paths.basename("/"))
27 asserts.equals(env, "bar", paths.basename("foo///bar"))
30 asserts.equals(env, "foo", paths.basename("foo"))
31 asserts.equals(env, "foo", paths.basename("/foo"))
32 asserts.equals(env, "foo", paths.basename("bar/foo"))
33 asserts.equals(env, "foo", paths.basename("/bar/foo"))
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs47 RepeatedField<string> paths = tree.ToFieldMask().Paths; in AddFieldPath()
48 Assert.AreEqual(0, paths.Count); in AddFieldPath()
51 paths = tree.ToFieldMask().Paths; in AddFieldPath()
52 Assert.AreEqual(1, paths.Count); in AddFieldPath()
53 Assert.Contains("", paths); in AddFieldPath()
57 paths = tree.ToFieldMask().Paths; in AddFieldPath()
58 Assert.AreEqual(2, paths.Count); in AddFieldPath()
59 Assert.Contains("foo", paths); in AddFieldPath()
63 paths = tree.ToFieldMask().Paths; in AddFieldPath()
64 Assert.AreEqual(2, paths.Count); in AddFieldPath()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs47 RepeatedField<string> paths = tree.ToFieldMask().Paths; in AddFieldPath()
48 Assert.AreEqual(0, paths.Count); in AddFieldPath()
51 paths = tree.ToFieldMask().Paths; in AddFieldPath()
52 Assert.AreEqual(1, paths.Count); in AddFieldPath()
53 Assert.Contains("", paths); in AddFieldPath()
57 paths = tree.ToFieldMask().Paths; in AddFieldPath()
58 Assert.AreEqual(2, paths.Count); in AddFieldPath()
59 Assert.Contains("foo", paths); in AddFieldPath()
63 paths = tree.ToFieldMask().Paths; in AddFieldPath()
64 Assert.AreEqual(2, paths.Count); in AddFieldPath()
[all …]
/external/bazel-skylib/docs/
Dpaths_doc.md5 NOTE: The functions in this module currently only support paths with Unix-style
6 path separators (forward slash, "/"); they do not handle Windows-style paths
10 <a id="#paths.basename"></a>
12 ## paths.basename
15 paths.basename(<a href="#paths.basename-p">p</a>)
31 | <a id="paths.basename-p"></a>p | The path whose basename should be returned. | none |
38 <a id="#paths.dirname"></a>
40 ## paths.dirname
43 paths.dirname(<a href="#paths.dirname-p">p</a>)
58 | <a id="paths.dirname-p"></a>p | The path whose dirname should be returned. | none |
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum.py22 # We need to cap how many paths we send to the md5_sum binaries at once because
24 # However, the more paths we use per invocation, the lower the overhead of
26 # it exactly as we don't know how well our paths will compress.
32 def CalculateHostMd5Sums(paths): argument
33 """Calculates the MD5 sum value for all items in |paths|.
39 paths: A list of host paths to md5sum.
41 A dict mapping file paths to their respective md5sum checksums.
43 if isinstance(paths, six.string_types):
44 paths = [paths]
45 paths = list(paths)
[all …]
/external/cronet/net/cert/pki/
Dpath_builder_unittest.cc283 // supplemental certificate. Conceptually the following paths could be built:
311 ASSERT_EQ(1U, result.paths.size()); in TEST_F()
313 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F()
314 const auto& path0 = *result.paths[0]; in TEST_F()
423 // Test that PathBuilder does not generate longer paths than necessary if one of
483 ASSERT_EQ(2U, result.paths.size()); in TEST_F()
484 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F()
485 ASSERT_EQ(3U, result.paths[0]->certs.size()); in TEST_F()
486 EXPECT_EQ(a_by_b_, result.paths[0]->certs[0]); in TEST_F()
487 EXPECT_EQ(b_by_f_, result.paths[0]->certs[1]); in TEST_F()
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/graphicsfuzz/
Dindex.txt21 …dot", "Covers instruction combine casting, combine shifting and DAG code paths" },
23 …mbers-from-fragcoord", "A fragment shader that covers specific NIR code paths" },
37 …t-div-by-zero-no-effect", "A fragment shader that covers specific LLVM code paths" },
38 …-loops-with-limiters", "A fragment shader that covers specific NIR code paths" },
39 …dition-negative-modulus", "A fragment shader that covers specific LLVM code paths" },
41 …-atan-trunc-vec4", "A fragment shader that covers specific NIR code paths" },
43 … "Covers specific inst combine add sub and inst combine simplify demanded code paths"},
46 …-shift-findmsb", "Covers specific DAG combiner and legalize vector ops code paths" },
47 …-loop-limit-underflow", "A fragment shader that covers specific NIR code paths" },
48 …iable-and-its-negation", "A fragment shader that covers specific LLVM code paths" },
[all …]
/external/libchrome/soong/
Dbindings_generator.go90 generatedSrcs android.Paths
119 func (m *mojomDowngradedFiles) GeneratedHeaderDirs() android.Paths {
123 func (m *mojomDowngradedFiles) GeneratedDeps() android.Paths {
124 return append(android.Paths{}, m.generatedSrcs...)
127 func (m *mojomDowngradedFiles) GeneratedSourceFiles() android.Paths {
128 return append(android.Paths{}, m.generatedSrcs...)
131 func (m *mojomDowngradedFiles) Srcs() android.Paths {
132 return append(android.Paths{}, m.generatedSrcs...)
152 generatedSrcs android.Paths
186 func (m *mojomPickles) GeneratedHeaderDirs() android.Paths {
[all …]
/external/zlib/google/
Dzip_writer.cc181 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries() argument
182 // Pointers to directory paths in |paths|. in AddMixedEntries()
188 // First pass. We don't know which paths are files and which ones are in AddMixedEntries()
190 // path. Try to open all of the paths as files. We'll get invalid file in AddMixedEntries()
193 while (!paths.empty()) { in AddMixedEntries()
194 // Work with chunks of 50 paths at most. in AddMixedEntries()
195 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries()
196 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries()
197 paths = paths.subspan(n, paths.size() - n); in AddMixedEntries()
229 bool ZipWriter::AddFileEntries(Paths paths) { in AddFileEntries() argument
[all …]
/external/golang-protobuf/types/known/fieldmaskpb/
Dfield_mask.pb.go36 // The FieldMask message represents a set of symbolic field paths.
37 // The paths are specific to some target message type,
51 // The "field.name" and "field.number" paths are valid paths according to the
56 // the Append method can be used to insert additional paths to the path set:
74 // FieldMask message itself does not store the message type that the set of paths
88 // `FieldMask` represents a set of symbolic field paths, for example:
90 // paths: "f.a"
91 // paths: "f.b.d"
130 // paths string.
157 // a repeated field is only allowed in the last position of a `paths` string.
[all …]
/external/python/python-api-core/tests/unit/
Dtest_protobuf_helpers.py273 assert protobuf_helpers.field_mask(None, None).paths == []
277 assert protobuf_helpers.field_mask(original, modified).paths == []
281 assert protobuf_helpers.field_mask(original, modified).paths == []
285 assert protobuf_helpers.field_mask(original, modified).paths == []
289 assert protobuf_helpers.field_mask(original, modified).paths == []
296 assert protobuf_helpers.field_mask(original, modified).paths == []
300 assert protobuf_helpers.field_mask(original, modified).paths == []
305 assert protobuf_helpers.field_mask(original, modified).paths == []
309 assert protobuf_helpers.field_mask(original, modified).paths == []
314 assert protobuf_helpers.field_mask(original, modified).paths == []
[all …]
/external/pigweed/pw_build/py/pw_build/
Dgn_resolver.py44 """The set of paths needed to resolve GN paths to filesystem paths."""
61 """Resolves GN paths to filesystem paths in a delimited string."""
76 def __init__(self, paths: GnPaths, label: str):
85 toolchain = paths.toolchain if paths.toolchain != label else ''
87 set_attr('toolchain', Label(paths, toolchain) if toolchain else None)
98 set_attr('dir', paths.resolve(directory))
99 set_attr('relative_dir', self.dir.relative_to(abspath(paths.root)))
103 paths.build / self.toolchain_name() / 'obj' / self.relative_dir,
107 paths.build / self.toolchain_name() / 'gen' / self.relative_dir,
218 ninja_file: Path, paths: GnPaths, target: Label
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs47 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
57 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
59 … "{ \"@warning\": \"Invalid FieldMask\", \"paths\": [ \"x\", \"foo__bar\", \"x\\\\y\" ] }", in ToString_Invalid_Precise()
86 // Repeated fields cannot have sub-paths. in IsValid()
89 // Non-message fields cannot have sub-paths. in IsValid()
101 mask.Paths.AddRange(input); in ToString()
113 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromString()
116 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromString()
123 // Check whether the field paths are valid if a class parameter is provided. in FromString_Validated()
135 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromFieldNumbers()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs47 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
57 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
59 … "{ \"@warning\": \"Invalid FieldMask\", \"paths\": [ \"x\", \"foo__bar\", \"x\\\\y\" ] }", in ToString_Invalid_Precise()
86 // Repeated fields cannot have sub-paths. in IsValid()
89 // Non-message fields cannot have sub-paths. in IsValid()
101 mask.Paths.AddRange(input); in ToString()
113 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromString()
116 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromString()
123 // Check whether the field paths are valid if a class parameter is provided. in FromString_Validated()
135 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromFieldNumbers()
[all …]
/external/protobuf/php/src/Google/Protobuf/
DFieldMask.php12 * `FieldMask` represents a set of symbolic field paths, for example:
13 * paths: "f.a"
14 * paths: "f.b.d"
45 * paths string.
67 * a repeated field is only allowed in the last position of a `paths` string.
87 * paths: ["f.b", "f.c"]
119 * In JSON, a field mask is encoded as a single string where paths are
133 * paths: "user.display_name"
134 * paths: "photo"
151 * paths: "name"
[all …]
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/
DFieldMask.php12 * `FieldMask` represents a set of symbolic field paths, for example:
13 * paths: "f.a"
14 * paths: "f.b.d"
45 * paths string.
67 * a repeated field is only allowed in the last position of a `paths` string.
87 * paths: ["f.b", "f.c"]
119 * In JSON, a field mask is encoded as a single string where paths are
133 * paths: "user.display_name"
134 * paths: "photo"
151 * paths: "name"
[all …]
/external/ruy/ruy/
Dpath.h36 // Path enum values are bits and may be OR-ed to form "sets of Paths".
37 // Ruy entry points such as ruy::Mul either implicitly use such a set of Paths,
40 // these paths; which path is used will be determined at runtime". This is why
42 // reasonable selection of paths for the target CPU architecture's various
48 // multiple such paths to coexist without violating the C++ One Definition Rule
61 // the SIMD ISA extensions required by other paths are unavailable at runtime.
119 // We define three disjoint sets of paths.
121 // kNonArchPaths is the set of paths that are defined regardless of
122 // the CPU architecture (excluding some internal test-only paths).
123 // These paths are slow, but portable. At the moment,
[all …]
/external/pigweed/pw_presubmit/py/
Dgit_repo_test.py54 paths = git_repo.discover_submodules(superproject_dir=self.GIT_ROOT)
55 self.assertIn(self.GIT_ROOT, paths)
58 paths = git_repo.discover_submodules(superproject_dir=self.GIT_ROOT)
59 self.assertIn(self.SUBMODULES[2], paths)
62 paths = git_repo.discover_submodules(
66 self.assertNotIn(self.GIT_ROOT, paths)
69 paths = git_repo.discover_submodules(
73 self.assertNotIn(self.SUBMODULES[0], paths)
76 paths = git_repo.discover_submodules(
80 self.assertIn(self.SUBMODULES[-1], paths)
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Dfield_mask_utility.cc110 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument
113 int length = paths.length(); in DecodeCompactFieldMaskPaths()
128 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths()
132 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths()
136 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths()
138 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
146 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths()
147 paths[i + 1] != ')' && paths[i + 1] != '(') { in DecodeCompactFieldMaskPaths()
149 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
157 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths()
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/
Dfield_mask_utility.cc110 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument
113 int length = paths.length(); in DecodeCompactFieldMaskPaths()
128 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths()
132 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths()
136 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths()
138 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
146 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths()
147 paths[i + 1] != ')' && paths[i + 1] != '(') { in DecodeCompactFieldMaskPaths()
149 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
157 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMaskPartial.cs50 /// Converts a field mask specified by paths to a string.
57 /// <param name="paths">Paths in the field mask</param>
60 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument
62 var firstInvalid = paths.FirstOrDefault(p => !IsPathValid(p)); in ToJson()
67 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson()
70 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson()
79 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson()
80 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson()
104 return ToJson(Paths, true); in ToDiagnosticString()
116 /// Parses from a string to a FieldMask and validates all field paths.
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMaskPartial.cs50 /// Converts a field mask specified by paths to a string.
57 /// <param name="paths">Paths in the field mask</param>
60 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument
62 var firstInvalid = paths.FirstOrDefault(p => !IsPathValid(p)); in ToJson()
67 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson()
70 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson()
79 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson()
80 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson()
104 return ToJson(Paths, true); in ToDiagnosticString()
116 /// Parses from a string to a FieldMask and validates all field paths.
[all …]
/external/angle/build/lacros/
Dlacros_resource_sizes.py81 paths: A list of files or directories to be tracked together.
87 def __init__(self, paths, title, track_stripped=False, argument
89 self.paths = paths
97 return (self.paths == other.paths) & (self.title == other.title) & (
108 _Group(paths=['chrome'],
112 _Group(paths=['chrome_crashpad_handler'],
114 _Group(paths=['icudtl.dat'], title='File: icudtl.dat'),
115 _Group(paths=['icudtl.dat.hash'], title='File: icudtl.dat.hash'),
116 _Group(paths=['libEGL.so'], title='File: libEGL.so'),
117 _Group(paths=['libGLESv2.so'], title='File: libGLESv2.so'),
[all …]
/external/tensorflow/tensorflow/python/tools/api/generator/
Doutput_init_files_test.py87 """Get set of file paths from the given file.
90 path: Path to file. File at `path` is expected to contain a list of paths
98 List of string paths.
111 """Get all API __init__.py file paths for the given module.
114 module: Module to get file paths for.
117 List of paths for the given module. For e.g. module foo.bar
124 paths = []
127 paths.append('__init__.py')
129 paths.append('%s/__init__.py' % (submodule.replace('.', '/')))
130 return paths
[all …]
/external/wayland-protocols/
Dlocations.go31 Paths(cmd *android.RuleBuilderCommand) []string methodSpec
37 paths android.Paths member
41 return strings.Join(l.paths.Strings(), " ")
44 func (l inputLocation) Paths(cmd *android.RuleBuilderCommand) []string { func
45 return cmd.PathsForInputs(l.paths)
59 func (l outputLocation) Paths(cmd *android.RuleBuilderCommand) []string { func
68 paths android.Paths member
72 return strings.Join(l.paths.Strings(), " ")
75 func (l toolLocation) Paths(cmd *android.RuleBuilderCommand) []string { func
76 return cmd.PathsForTools(l.paths)
[all …]

12345678910>>...275