/external/bazel-skylib/tests/ |
D | paths_tests.bzl | 15 """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/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldMaskTreeTest.cs | 47 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/ |
D | FieldMaskTreeTest.cs | 47 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/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldMaskTreeTest.cs | 47 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/ |
D | paths_doc.md | 5 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 9 <a id="paths.basename"></a> 11 ## paths.basename 14 paths.basename(<a href="#paths.basename-p">p</a>) 30 | <a id="paths.basename-p"></a>p | The path whose basename should be returned. | none | 37 <a id="paths.dirname"></a> 39 ## paths.dirname 42 paths.dirname(<a href="#paths.dirname-p">p</a>) 57 | <a id="paths.dirname-p"></a>p | The path whose dirname should be returned. | none | [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum.py | 22 # 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/deqp/external/vulkancts/data/vulkan/amber/graphicsfuzz/ |
D | index.txt | 21 …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/ |
D | bindings_generator.go | 90 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/ |
D | zip_writer.cc | 181 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/cronet/tot/third_party/boringssl/src/pki/ |
D | path_builder_unittest.cc | 264 // supplemental certificate. Conceptually the following paths could be built: 292 ASSERT_EQ(1U, result.paths.size()); in TEST_F() 294 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F() 295 const auto &path0 = *result.paths[0]; in TEST_F() 424 // Test that PathBuilder does not generate longer paths than necessary if one of 488 ASSERT_EQ(2U, result.paths.size()); in TEST_F() 489 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F() 490 ASSERT_EQ(3U, result.paths[0]->certs.size()); in TEST_F() 491 EXPECT_EQ(a_by_b_, result.paths[0]->certs[0]); in TEST_F() 492 EXPECT_EQ(b_by_f_, result.paths[0]->certs[1]); in TEST_F() [all …]
|
/external/cronet/stable/third_party/boringssl/src/pki/ |
D | path_builder_unittest.cc | 264 // supplemental certificate. Conceptually the following paths could be built: 292 ASSERT_EQ(1U, result.paths.size()); in TEST_F() 294 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F() 295 const auto &path0 = *result.paths[0]; in TEST_F() 424 // Test that PathBuilder does not generate longer paths than necessary if one of 488 ASSERT_EQ(2U, result.paths.size()); in TEST_F() 489 EXPECT_FALSE(result.paths[0]->IsValid()); in TEST_F() 490 ASSERT_EQ(3U, result.paths[0]->certs.size()); in TEST_F() 491 EXPECT_EQ(a_by_b_, result.paths[0]->certs[0]); in TEST_F() 492 EXPECT_EQ(b_by_f_, result.paths[0]->certs[1]); in TEST_F() [all …]
|
/external/bazelbuild-rules_testing/lib/private/ |
D | runfiles_subject.bzl | 83 keywords. Note that paths are runfiles-root relative (i.e. 90 def _runfiles_subject_contains_at_least(self, paths): 91 """Assert that the runfiles contains at least all of the provided paths. 95 All the paths must exist, but extra paths are allowed. Order is not checked. 100 paths: ((collection of [`str`]) | [`runfiles`]) the paths that must 106 if is_runfiles(paths): 107 paths = runfiles_paths(self.meta.ctx.workspace_name, paths) 109 paths = [self.meta.format_str(p) for p in to_list(paths)] 116 element_plural_name = "paths", 118 ).contains_at_least(paths) [all …]
|
/external/golang-protobuf/types/known/fieldmaskpb/ |
D | field_mask.pb.go | 36 // 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/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 47 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/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 47 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/ |
D | FieldMaskTest.cs | 47 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/python/python-api-core/tests/unit/ |
D | test_protobuf_helpers.py | 277 assert protobuf_helpers.field_mask(None, None).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 == [] 293 assert protobuf_helpers.field_mask(original, modified).paths == [] 300 assert protobuf_helpers.field_mask(original, modified).paths == [] 304 assert protobuf_helpers.field_mask(original, modified).paths == [] 309 assert protobuf_helpers.field_mask(original, modified).paths == [] 313 assert protobuf_helpers.field_mask(original, modified).paths == [] 318 assert protobuf_helpers.field_mask(original, modified).paths == [] [all …]
|
/external/protobuf/php/src/Google/Protobuf/ |
D | FieldMask.php | 12 * `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/stable/third_party/protobuf/php/src/Google/Protobuf/ |
D | FieldMask.php | 12 * `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/tot/third_party/protobuf/php/src/Google/Protobuf/ |
D | FieldMask.php | 12 * `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/pigweed/pw_build/py/pw_build/ |
D | gn_resolver.py | 42 """The set of paths needed to resolve GN paths to filesystem paths.""" 59 """Resolves GN paths to filesystem paths in a delimited string.""" 74 def __init__(self, paths: GnPaths, label: str): 84 toolchain = paths.toolchain if paths.toolchain != label else '' 86 set_attr('toolchain', Label(paths, toolchain) if toolchain else None) 97 set_attr('dir', paths.resolve(directory)) 98 set_attr('relative_dir', self.dir.relative_to(abspath(paths.root))) 102 paths.build / self.toolchain_name() / 'obj' / self.relative_dir, 106 paths.build / self.toolchain_name() / 'gen' / self.relative_dir, 217 ninja_file: Path, paths: GnPaths, target: Label [all …]
|
/external/ruy/ruy/ |
D | path.h | 36 // 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/cronet/tot/third_party/protobuf/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 110 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/stable/third_party/protobuf/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 110 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/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 110 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 …]
|