/external/rust/crates/env_logger/src/filter/ |
D | mod.rs | 293 let mut dirs = Vec::new(); in parse_spec() localVariable 304 return (dirs, None); in parse_spec() 343 dirs.push(Directive { in parse_spec() 358 (dirs, filter) in parse_spec() 379 fn make_logger_filter(dirs: Vec<Directive>) -> Filter { in make_logger_filter() 381 logger.directives = dirs; in make_logger_filter() 692 let (dirs, filter) = parse_spec("crate1::mod1=error,crate1::mod2,crate2=debug"); in parse_spec_valid() 693 assert_eq!(dirs.len(), 3); in parse_spec_valid() 694 assert_eq!(dirs[0].name, Some("crate1::mod1".to_string())); in parse_spec_valid() 695 assert_eq!(dirs[0].level, LevelFilter::Error); in parse_spec_valid() [all …]
|
/external/mesa3d/src/gallium/targets/opencl/ |
D | meson.build | 38 polly_dep = cpp.find_library('Polly', dirs : llvm_libdir, required : false) 39 polly_isl_dep = cpp.find_library('PollyISL', dirs : llvm_libdir, required : false) 42 dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false) 44 # meson will return clang-cpp from system dirs if it's not found in llvm_libdir 63 cpp.find_library('clangCodeGen', dirs : llvm_libdir), 64 cpp.find_library('clangFrontendTool', dirs : llvm_libdir), 65 cpp.find_library('clangFrontend', dirs : llvm_libdir), 66 cpp.find_library('clangDriver', dirs : llvm_libdir), 67 cpp.find_library('clangSerialization', dirs : llvm_libdir), 68 cpp.find_library('clangParse', dirs : llvm_libdir), [all …]
|
/external/tensorflow/tensorflow/core/platform/ |
D | file_system_helper.cc | 80 std::vector<std::string> dirs; in AllDirectoryPrefixes() local 96 dirs.emplace_back(dir); in AllDirectoryPrefixes() 106 std::reverse(dirs.begin(), dirs.end()); in AllDirectoryPrefixes() 108 return dirs; in AllDirectoryPrefixes() 111 static inline int GetFirstGlobbingEntry(const std::vector<std::string>& dirs) { in GetFirstGlobbingEntry() argument 113 for (const auto& d : dirs) { in GetFirstGlobbingEntry() 145 std::vector<std::string> dirs = AllDirectoryPrefixes(pattern); in GetMatchingPaths() local 150 int matching_index = GetFirstGlobbingEntry(dirs); in GetMatchingPaths() 154 if (matching_index == dirs.size()) { in GetMatchingPaths() 185 expand_queue.emplace_back(dirs[matching_index - 1], matching_index - 1); in GetMatchingPaths() [all …]
|
/external/e2fsprogs/lib/ss/ |
D | help.c | 136 register char **dirs; in ss_add_info_dir() local 148 dirs = info->info_dirs; in ss_add_info_dir() 149 for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++) in ss_add_info_dir() 151 dirs = (char **)realloc((char *)dirs, in ss_add_info_dir() 153 if (dirs == (char **)NULL) { in ss_add_info_dir() 157 info->info_dirs = dirs; in ss_add_info_dir() 158 dirs[n_dirs + 1] = (char *)NULL; in ss_add_info_dir() 159 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1); in ss_add_info_dir() 160 if (dirs[n_dirs] == (char *)NULL) { in ss_add_info_dir() 164 strcpy(dirs[n_dirs], info_dir); in ss_add_info_dir()
|
/external/grpc-grpc/templates/ |
D | config.w32.template | 35 dirs = {} 45 dirs[prev + '\\\\' + tmp[:idx]] = 1 49 dirs['\\\\src'] = 1; 50 dirs['\\\\src\\\\php'] = 1; 51 dirs['\\\\src\\\\php\\\\ext'] = 1; 52 dirs['\\\\src\\\\php\\\\ext\\\\grpc'] = 1; 53 dirs = dirs.keys() 54 dirs.sort() 59 % for dir in dirs:
|
D | config.m4.template | 52 dirs = {} 56 dirs[source[:source.rfind('/')]] = 1 57 dirs = dirs.keys() 58 dirs.sort() 60 % for dir in dirs:
|
/external/toybox/toys/pending/ |
D | modprobe.c | 32 struct arg_list *dirs; 465 struct arg_list *dirs; in modprobe_main() local 474 if (!TT.dirs) { in modprobe_main() 478 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main() 479 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main() 484 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() 485 xchdir(dirs->arg); in modprobe_main() 513 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() 514 xchdir(dirs->arg); in modprobe_main() 519 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/common/platform/api/ |
D | quiche_file_utils_test.cc | 37 std::vector<std::string> dirs; in TEST() local 39 bool success = EnumerateDirectory(path, dirs, files); in TEST() 42 EXPECT_THAT(dirs, UnorderedElementsAre("a")); in TEST() 48 std::vector<std::string> dirs; in TEST() local 50 bool success = EnumerateDirectory(path, dirs, files); in TEST() 57 std::vector<std::string> dirs; in TEST() local 59 bool success = EnumerateDirectory(path, dirs, files); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | by_dir.c | 86 STACK_OF(BY_DIR_ENTRY) *dirs; 155 a->dirs = NULL; in new_dir() 188 if (a->dirs != NULL) in free_dir() 189 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 215 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 216 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 221 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) in add_cert_dir() 223 if (ctx->dirs == NULL) { in add_cert_dir() 224 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 225 if (!ctx->dirs) { in add_cert_dir() [all …]
|
/external/cronet/third_party/boringssl/src/crypto/x509/ |
D | by_dir.c | 85 STACK_OF(BY_DIR_ENTRY) *dirs; 148 a->dirs = NULL; in new_dir() 177 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 203 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 204 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 209 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) { in add_cert_dir() 212 if (ctx->dirs == NULL) { in add_cert_dir() 213 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 214 if (!ctx->dirs) { in add_cert_dir() 230 if (!sk_BY_DIR_ENTRY_push(ctx->dirs, ent)) { in add_cert_dir() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | by_dir.c | 85 STACK_OF(BY_DIR_ENTRY) *dirs; 148 a->dirs = NULL; in new_dir() 177 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 203 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 204 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 209 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) { in add_cert_dir() 212 if (ctx->dirs == NULL) { in add_cert_dir() 213 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 214 if (!ctx->dirs) { in add_cert_dir() 230 if (!sk_BY_DIR_ENTRY_push(ctx->dirs, ent)) { in add_cert_dir() [all …]
|
/external/musl/android/ |
D | generate_bp.py | 95 def __init__(self, *, dirs=[], files=[]): argument 96 self.srcs = self._srcs(dirs, files) 97 self.arch_srcs, self.arch_exclude_srcs = self._arch_srcs(dirs, files) 99 def _srcs(self, dirs, files): argument 100 return glob_dirs(dirs, '*.c') + force_exists(files) 102 def _arch_srcs(self, dirs, files): argument 106 arch_srcs = glob_dirs(dirs, musl_arch, '*.[csS]') 191 libc = SourceSet(dirs=SRC_DIRS) 192 compat32 = SourceSet(dirs=COMPAT32_SRC_DIRS) 193 opt = SourceSet(dirs=OPT_DIRS) [all …]
|
/external/openthread/third_party/nlbuild-autotools/repo/automake/pre/macros/ |
D | subdirs.am | 25 # nl-make-subdirs-with-dirs-and-goals <subdirectories> <goals> 36 define nl-make-subdirs-with-dirs-and-goals 42 endef # nl-make-subdirs-with-dirs-and-goals 45 # nl-make-subdirs-with-dirs <subdirectories> 53 define nl-make-subdirs-with-dirs 54 $(call nl-make-subdirs-with-dirs-and-goals,$(1),$(MAKECMDGOALS)) 55 endef # nl-make-subdirs-with-dirs 67 $(call nl-make-subdirs-with-dirs-and-goals,$(SUBDIRS),$(1)) 77 $(call nl-make-subdirs-with-dirs-and-goals,$(SUBDIRS),$(MAKECMDGOALS))
|
/external/elfutils/tests/ |
D | next-files.c | 61 const char *const *dirs; in main() local 63 if (dwarf_getsrcdirs (files, &dirs, &ndirs) != 0) in main() 70 if (dirs[0] == NULL) in main() 73 printf (" dirs[0] = \"%s\"\n", dirs[0]); in main() 75 printf (" dirs[%zu] = \"%s\"\n", i, dirs[i]); in main()
|
D | get-files.c | 79 const char *const *dirs; in main() local 81 if (dwarf_getsrcdirs (files, &dirs, &ndirs) != 0) in main() 88 if (dirs[0] == NULL) in main() 91 printf (" dirs[0] = \"%s\"\n", dirs[0]); in main() 93 printf (" dirs[%zu] = \"%s\"\n", i, dirs[i]); in main()
|
/external/cronet/base/android/ |
D | path_utils.cc | 52 std::vector<std::string> dirs; in GetAllPrivateDownloadsDirectories() local 55 base::android::AppendJavaStringArrayToStringVector(env, jarray, &dirs); in GetAllPrivateDownloadsDirectories() 58 for (const auto& dir : dirs) in GetAllPrivateDownloadsDirectories() 64 std::vector<std::string> dirs; in GetSecondaryStorageDownloadDirectories() local 67 base::android::AppendJavaStringArrayToStringVector(env, jarray, &dirs); in GetSecondaryStorageDownloadDirectories() 70 for (const auto& dir : dirs) in GetSecondaryStorageDownloadDirectories()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | AndroidFileEnvironment.java | 41 public static List<File> getMountedExternalDirs(List<File> dirs) { in getMountedExternalDirs() argument 43 for (File dir : dirs) { in getMountedExternalDirs() 147 File[] dirs = context.getExternalCacheDirs(); in getNonEmulatedExternalCacheDirsKK() local 148 if (!Environment.isExternalStorageEmulated() && dirs[0] != null) { in getNonEmulatedExternalCacheDirsKK() 149 result.add(dirs[0]); in getNonEmulatedExternalCacheDirsKK() 156 for (int i = 1; i < dirs.length; i++) { in getNonEmulatedExternalCacheDirsKK() 157 if (dirs[i] != null) { in getNonEmulatedExternalCacheDirsKK() 158 result.add(dirs[i]); in getNonEmulatedExternalCacheDirsKK()
|
/external/python/cpython3/Mac/ |
D | Extras.install.py | 24 for cursrc, dirs, files in os.walk(src): 41 for i in range(len(dirs)-1, -1, -1): 42 if not isclean(dirs[i]): 44 print("skipdir", os.path.join(cursrc, dirs[i])) 45 del dirs[i]
|
/external/python/cpython2/Mac/ |
D | Extras.install.py | 24 for cursrc, dirs, files in os.walk(src): 41 for i in range(len(dirs)-1, -1, -1): 42 if not isclean(dirs[i]): 44 print "skipdir", os.path.join(cursrc, dirs[i]) 45 del dirs[i]
|
/external/curl/docs/cmdline-opts/ |
D | create-dirs.d | 3 Long: create-dirs 6 Example: --create-dirs --output local/dir/file $URL 8 See-also: ftp-create-dirs output-dir 17 Created dirs are made with mode 0750 on unix style file systems. 19 To create remote directories when using FTP or SFTP, try --ftp-create-dirs.
|
D | ftp-create-dirs.d | 3 Long: ftp-create-dirs 5 Help: Create the remote dirs if not present 6 See-also: create-dirs 8 Example: --ftp-create-dirs -T file ftp://example.com/remote/path/file
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ScatterSample.java | 29 …ScatterZipOutputStream dirs = ScatterZipOutputStream.fileBased(File.createTempFile("scatter-dirs",… field in ScatterSample 36 …dirs.addArchiveEntry(ZipArchiveEntryRequest.createZipArchiveEntryRequest(zipArchiveEntry, streamSu… in addEntry() 44 dirs.writeTo(zipArchiveOutputStream); in writeTo() 45 dirs.close(); in writeTo()
|
/external/autotest/client/site_tests/power_CPUIdle/ |
D | power_CPUIdle.py | 64 dirs = glob.glob(self.__base_path) 65 if not dirs: 68 for dir in dirs: 89 dirs = glob.glob(os.path.join(self.__base_path, 'state*')) 90 if not dirs: 93 for dir in dirs:
|
/external/bc/scripts/ |
D | afl.py | 121 dirs = [] 127 dirs.append(entry.name) 128 dirs.sort() 129 return dirs 212 dirs = get_children(resultsdir, False) variable 219 for d in dirs:
|
/external/python/setuptools/setuptools/command/ |
D | bdist_egg.py | 38 for base, dirs, files in os.walk(dir): 39 dirs.sort() 41 yield base, dirs, files 237 for base, dirs, files in walk_egg(self.bdist_dir): 290 for base, dirs, files in sorted_walk(self.bdist_dir): 294 for filename in dirs: 318 base, dirs, files = next(walker) 319 if 'EGG-INFO' in dirs: 320 dirs.remove('EGG-INFO') 321 yield base, dirs, files [all …]
|