/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/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/chromium-trace/catapult/devil/devil/android/ |
D | md5sum.py | 32 def CalculateHostMd5Sums(paths): argument 43 if isinstance(paths, six.string_types): 44 paths = [paths] 45 paths = list(paths) 51 for i in range(0, len(paths), _MAX_PATHS_PER_INVOCATION): 55 [os.path.realpath(p) for p in paths[i:i+_MAX_PATHS_PER_INVOCATION]]) 64 return dict(zip(paths, out.splitlines())) 67 def CalculateDeviceMd5Sums(paths, device): argument 78 if not paths: 81 if isinstance(paths, six.string_types): [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/llvm-project/lldb/test/API/functionalities/load_using_paths/ |
D | TestLoadUsingPaths.py | 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) 71 paths.AppendString(self.hidden_dir) 72 token = process.LoadImageUsingPaths(lib_spec, paths, out_spec, error) 97 paths.Clear() 98 paths.AppendString(os.path.join(self.wd, "no_such_dir")) 99 paths.AppendString(self.wd) 103 token = process.LoadImageUsingPaths(relative_spec, paths, out_spec, error) [all …]
|
/external/angle/third_party/zlib/google/ |
D | zip_writer.cc | 186 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries() argument 198 while (!paths.empty()) { 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 238 while (!paths.empty()) { in AddFileEntries() 240 const size_t n = std::min<size_t>(paths.size(), 50); in AddFileEntries() 241 const Paths relative_paths = paths.subspan(0, n); in AddFileEntries() 242 paths = paths.subspan(n, paths.size() - n); in AddFileEntries() [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/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/pigweed/pw_build/py/pw_build/ |
D | python_runner.py | 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, 233 for path, variables in _parse_build_artifacts(paths.build, fd): 247 def _search_toolchain_ninja(ninja_file: Path, paths: GnPaths, [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/python/setuptools/setuptools/ |
D | depends.py | 43 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/llvm-project/llvm/test/Object/ |
D | archive-thin-paths.test | 4 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/rust/crates/protobuf/src/well_known_types/ |
D | field_mask.rs | 26 pub paths: crate::RepeatedField<::std::string::String>, field 49 &self.paths in get_paths() 52 self.paths.clear(); in clear_paths() 57 self.paths = v; in set_paths() 62 &mut self.paths in mut_paths() 67 ::std::mem::replace(&mut self.paths, crate::RepeatedField::new()) in take_paths() 81 crate::rt::read_repeated_string_into(wire_type, is, &mut self.paths)?; in merge_from() 95 for value in &self.paths { in compute_size() 104 for v in &self.paths { in write_to_with_cached_sizes() 147 |m: &FieldMask| { &m.paths }, in descriptor_static() [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/ |
D | watch_dirs.py | 24 def __init__(self, paths): argument 25 if isinstance(paths, string_types): 26 paths = [paths] 28 self.paths = list(paths) 35 for path in self.paths:
|
/external/perfetto/include/perfetto/ext/traced/ |
D | data_source_types.h | 40 InodeMapValue(InodeFileMap_Entry_Type entry_type, std::set<std::string> paths) in InodeMapValue() argument 41 : entry_type_(entry_type), paths_(std::move(paths)) {} in InodeMapValue() 46 const std::set<std::string>& paths() const { return paths_; } in paths() function 48 void SetPaths(std::set<std::string> paths) { paths_ = std::move(paths); } in SetPaths() argument 52 return type() == rhs.type() && paths() == rhs.paths();
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | watch_dirs.py | 23 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/skqp/src/compute/tests/groups/ |
D | groups.c | 78 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/python/cpython2/Tools/scripts/ |
D | win_add2path.py | 36 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/ |
D | win_add2path.py | 37 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/webrtc/tools_webrtc/ios/ |
D | merge_ios_libs.py | 54 for library, paths in libs.items(): 55 if len(paths) < len(archs): 56 orphaned_libs[library] = paths 58 valid_libs[library] = paths 59 for library, paths in orphaned_libs.items(): 66 valid_libs[parent_library].extend(paths) 75 valid_paths.extend(paths) 94 for library, paths in valid_libs.items(): 96 os.path.join(output_dir_path, library)] + paths
|
/external/rust/crates/which/src/ |
D | finder.rs | 54 paths: Option<U>, in find() 70 let p = paths.ok_or(Error::CannotFindBinaryPath)?; in find() 71 let paths: Vec<_> = env::split_paths(&p).collect(); in find() localVariable 73 Either::Right(Self::path_search_candidates(path, paths).into_iter()) in find() 90 paths: P, in path_search_candidates() 95 let new_paths = paths.into_iter().map(move |p| p.join(binary_name.clone())); in path_search_candidates() 101 fn append_extension<P>(paths: P) -> impl IntoIterator<Item = PathBuf> in append_extension() 105 paths in append_extension() 109 fn append_extension<P>(paths: P) -> impl IntoIterator<Item = PathBuf> in append_extension() 121 paths in append_extension()
|
/external/ImageMagick/MagickCore/ |
D | configure.c | 653 *paths; in GetConfigureOptions() local 666 paths=GetConfigurePaths(filename,exception); in GetConfigureOptions() 667 if (paths != (LinkedListInfo *) NULL) in GetConfigureOptions() 669 ResetLinkedListIterator(paths); in GetConfigureOptions() 670 element=(const char *) GetNextValueInLinkedList(paths); in GetConfigureOptions() 680 element=(const char *) GetNextValueInLinkedList(paths); in GetConfigureOptions() 682 paths=DestroyLinkedList(paths,RelinquishMagickMemory); in GetConfigureOptions() 745 *paths; in GetConfigurePaths() local 751 paths=NewLinkedList(0); in GetConfigurePaths() 776 (void) AppendValueToLinkedList(paths,ConstantString(path)); in GetConfigurePaths() [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/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | RedundentExprEliminator.java | 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() 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/ruy/ruy/ |
D | ctx.cc | 60 void Ctx::SetRuntimeEnabledPaths(Path paths) { in SetRuntimeEnabledPaths() argument 61 if (paths == Path::kNone) { in SetRuntimeEnabledPaths() 67 mutable_impl()->runtime_enabled_paths_ = paths | kNonArchPaths; in SetRuntimeEnabledPaths() 147 Path* paths = &mutable_impl()->runtime_enabled_paths_; in GetRuntimeEnabledPaths() local 151 if (*paths != Path::kNone) { in GetRuntimeEnabledPaths() 153 return *paths; in GetRuntimeEnabledPaths() 158 *paths = paths_bitfield; in GetRuntimeEnabledPaths() 160 return *paths; in GetRuntimeEnabledPaths() 163 *paths = DetectRuntimeSupportedPaths(kAllPaths, mutable_cpuinfo()); in GetRuntimeEnabledPaths() 165 return *paths; in GetRuntimeEnabledPaths()
|