/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/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/angle/third_party/zlib/google/ |
D | zip_writer.cc | 186 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries() argument 187 // Pointers to directory paths in |paths|. in AddMixedEntries() 193 // First pass. We don't know which paths are files and which ones are in AddMixedEntries() 195 // path. Try to open all of the paths as files. We'll get invalid file in AddMixedEntries() 198 while (!paths.empty()) { in AddMixedEntries() 199 // Work with chunks of 50 paths at most. in AddMixedEntries() 200 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries() 201 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries() 202 paths = paths.subspan(n, paths.size() - n); in AddMixedEntries() 234 bool ZipWriter::AddFileEntries(Paths paths) { in AddFileEntries() argument [all …]
|
/external/libchrome/soong/ |
D | bindings_generator.go | 90 generatedSrcs android.Paths 123 func (m *mojomDowngradedFiles) GeneratedHeaderDirs() android.Paths { 127 func (m *mojomDowngradedFiles) GeneratedDeps() android.Paths { 128 return append(android.Paths{}, m.generatedSrcs...) 131 func (m *mojomDowngradedFiles) GeneratedSourceFiles() android.Paths { 132 return append(android.Paths{}, m.generatedSrcs...) 135 func (m *mojomDowngradedFiles) Srcs() android.Paths { 136 return append(android.Paths{}, m.generatedSrcs...) 156 generatedSrcs android.Paths 194 func (m *mojomPickles) GeneratedHeaderDirs() android.Paths { [all …]
|
/external/llvm-project/lldb/test/API/functionalities/load_using_paths/ |
D | TestLoadUsingPaths.py | 45 """Test that we can load a module by providing a set of search paths.""" 56 "Break here to do the load using paths", 60 paths = lldb.SBStringList() 61 paths.AppendString(self.wd) 62 paths.AppendString(os.path.join(self.wd, "no_such_dir")) 67 token = process.LoadImageUsingPaths(lib_spec, paths, out_spec, error) 70 # Now add the correct dir to the paths list and try again: 71 paths.AppendString(self.hidden_dir) 72 token = process.LoadImageUsingPaths(lib_spec, paths, out_spec, error) 97 paths.Clear() [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 * Note that a repeated field is only allowed in the last position of a `paths` 86 * paths: "f.b" 95 * paths: "f.b.d" 125 * In JSON, a field mask is encoded as a single string where paths are 139 * paths: "user.display_name" 140 * paths: "photo" [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/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/protobuf/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 108 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument 111 int length = paths.length(); in DecodeCompactFieldMaskPaths() 126 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths() 130 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths() 134 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() 151 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths() 159 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths() [all …]
|
/external/pigweed/pw_build/py/pw_build/ |
D | python_runner.py | 81 """The set of paths needed to resolve GN paths to filesystem paths.""" 97 """Resolves GN paths to filesystem paths in a delimited string.""" 112 def __init__(self, paths: GnPaths, label: str): 121 toolchain = paths.toolchain if paths.toolchain != label else '' 123 set_attr('toolchain', Label(paths, toolchain) if toolchain else None) 134 set_attr('dir', paths.resolve(directory)) 135 set_attr('relative_dir', self.dir.relative_to(paths.root.resolve())) 139 paths.build / self.toolchain_name() / 'obj' / self.relative_dir) 142 paths.build / self.toolchain_name() / 'gen' / self.relative_dir) 223 def _search_target_ninja(ninja_file: Path, paths: GnPaths, [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 49 /// Converts a field mask specified by paths to a string. 56 /// <param name="paths">Paths in the field mask</param> 59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument 61 var firstInvalid = paths.FirstOrDefault(p => !IsPathValid(p)); in ToJson() 66 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson() 69 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson() 78 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson() 79 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson() 103 return ToJson(Paths, true); in ToDiagnosticString() 115 /// Parses from a string to a FieldMask and validates all field paths. [all …]
|
/external/rust/crates/which/src/ |
D | lib.rs | 58 …ind all binaries with `binary_name` in the path list `paths`, using `cwd` to resolve relative path… 65 /// Find `binary_name` in the path list `paths`, using `cwd` to resolve relative paths. 66 pub fn which_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<path::PathBuf> in which_in() 72 which_in_all(binary_name, paths, cwd) in which_in() 76 …ind all binaries with `binary_name` in the path list `paths`, using `cwd` to resolve relative path… 79 paths: Option<U>, in which_in_all() 93 finder.find(binary_name, paths, cwd, binary_checker) in which_in_all() 119 /// Returns the paths of all executable binaries by a name. 126 /// Returns the path of an executable binary by name in the path list `paths` and using the 127 /// current working directory `cwd` to resolve relative paths. [all …]
|
/external/python/setuptools/setuptools/ |
D | depends.py | 43 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/tensorflow/tensorflow/python/tools/api/generator/ |
D | output_init_files_test.py | 86 """Get set of file paths from the given file. 89 path: Path to file. File at `path` is expected to contain a list of paths 97 List of string paths. 110 """Get all API __init__.py file paths for the given module. 113 module: Module to get file paths for. 116 List of paths for the given module. For e.g. module foo.bar 123 paths = [] 126 paths.append('__init__.py') 128 paths.append('%s/__init__.py' % (submodule.replace('.', '/'))) 129 return paths [all …]
|
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/ |
D | TimeZoneDataFilesTest.java | 45 String[] paths = TimeZoneDataFiles.getTimeZoneFilePaths("foo"); in getTimeZoneFilePaths() local 46 assertEquals(2, paths.length); in getTimeZoneFilePaths() 48 assertTrue(paths[0].startsWith(System.getenv(ANDROID_DATA_ENV))); in getTimeZoneFilePaths() 49 assertTrue(paths[0].contains("/misc/zoneinfo/current/")); in getTimeZoneFilePaths() 50 assertTrue(paths[0].endsWith("/foo")); in getTimeZoneFilePaths() 52 assertTrue(paths[1].startsWith(System.getenv(ANDROID_TZDATA_ROOT_ENV))); in getTimeZoneFilePaths() 53 assertTrue(paths[1].endsWith("/foo")); in getTimeZoneFilePaths() 61 String[] paths = icuDataPath.split(":"); in generateIcuDataPath_includesTimeZoneOverride() local 62 assertEquals(3, paths.length); in generateIcuDataPath_includesTimeZoneOverride() 64 String dataDirPath = paths[0]; in generateIcuDataPath_includesTimeZoneOverride() [all …]
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | presubmit.py | 17 take either no arguments or a list of the paths on which to run. Presubmit 24 for path in ctx.paths: 33 Presubmit checks that accept a list of paths may use the filter_paths decorator 34 to automatically filter the paths list for file types they care about. See the 182 paths: Tuple[Path, ...] 187 tools.relative_paths(self.paths, start if start else self.root)) 192 for path in self.paths: 215 output_directory: Path, paths: Sequence[Path], 220 self._paths = tuple(paths) 226 """Executes a series of presubmit checks on the paths.""" [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/ |
D | CompilationUnitTest.java | 28 import java.nio.file.Paths; 47 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRoot() 48 … 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() 68 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootInDefaultPackage() 69 Path testFile = sourceRoot.resolve(Paths.get("B.java")); in testGetSourceRootInDefaultPackage() 78 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryTypeName() 79 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryTypeName() 93 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryType() [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/skqp/tools/lua/ |
D | paths_agg.lua | 17 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/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | RedundentExprEliminator.java | 45 * 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/skia/gm/ |
D | pathmaskcache.cpp | 77 SkTArray<SkPath> paths; in onDraw() local 78 paths.push_back(); in onDraw() 79 paths.back().moveTo(0.f, 0.f); in onDraw() 80 paths.back().lineTo(98.f, 100.f); in onDraw() 81 paths.back().lineTo(100.f, 100.f); in onDraw() 82 paths.back().conicTo(150.f, 50.f, 100.f, 0.f, 0.6f); in onDraw() 83 paths.back().conicTo(148.f, 50.f, 100.f, 100.f, 0.6f); in onDraw() 84 paths.back().conicTo(50.f, 30.f, 0.f, 100.f, 0.9f); in onDraw() 86 paths.push_back(); in onDraw() 87 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/conscrypt/apex/ |
D | ld.config.txt | 18 namespace.default.search.paths = /apex/com.android.conscrypt/${LIB} 19 namespace.default.asan.search.paths = /apex/com.android.conscrypt/${LIB} 20 namespace.default.permitted.paths = /system/${LIB} 21 namespace.default.asan.permitted.paths = /system/${LIB} 37 namespace.platform.search.paths = /system/${LIB} 38 namespace.platform.asan.search.paths = /data/asan/system/${LIB} 42 # permitted paths because linker uses realpath(3) to check the accessibility 43 # of the lib. We could add this to search.paths instead but that makes the 45 # /apex/.../lib/bionic in search.paths. If the latter is after the former, 49 namespace.platform.permitted.paths = /apex/com.android.runtime/${LIB}/bionic [all …]
|
/external/skqp/experimental/docs/ |
D | exampleSlides.js | 57 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/skia/experimental/docs/ |
D | exampleSlides.js | 57 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 …]
|