/third_party/rust/crates/env_logger/src/filter/ |
H A D | mod.rs | 293 let mut dirs = Vec::new(); in parse_spec() variables 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[ in parse_spec_valid() [all...] |
/third_party/toybox/toys/pending/ |
H A D | modprobe.c | 33 struct arg_list *dirs; 466 struct arg_list *dirs; in modprobe_main() local 475 if (!TT.dirs) { in modprobe_main() 479 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main() 480 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main() 485 for (dirs = TT.dirs; dirs; dirs = dirs in modprobe_main() [all...] |
/third_party/astc-encoder/Test/ |
H A D | astc_test_image_dl.py | 84 dirs = os.path.dirname(dstPath) 85 if not os.path.exists(dirs): 86 os.makedirs(dirs) 116 dirs = os.path.dirname(dstPath) 117 if not os.path.exists(dirs): 118 os.makedirs(dirs)
|
/third_party/elfutils/tests/ |
H A 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() 89 puts (" 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()
|
H A 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() 71 puts (" 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()
|
/third_party/python/Mac/ |
H A D | Extras.install.py | 23 for cursrc, dirs, files in os.walk(src): 40 for i in range(len(dirs)-1, -1, -1): 41 if not isclean(dirs[i]): 43 print("skipdir", os.path.join(cursrc, dirs[i])) 44 del dirs[i]
|
/third_party/jerryscript/targets/mbedos5/tools/ |
H A D | generate_pins.py | 69 for root, dirs, files in os.walk(root_dir, topdown=True): 70 # modify dirs in place 71 dirs[:] = [directory for directory in dirs if directory in directories or not directory.startswith('TARGET_')] 82 for root, dirs, _ in os.walk(root_dir, topdown=True): 83 # modify dirs in place 84 dirs[:] = [dir_label for dir_label in dirs
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | by_dir.c | 47 STACK_OF(BY_DIR_ENTRY) *dirs; 121 a->dirs = NULL; in new_dir() 162 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 190 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 191 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 195 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) in add_cert_dir() 197 if (ctx->dirs == NULL) { in add_cert_dir() 198 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 199 if (!ctx->dirs) { in add_cert_dir() 216 if (!sk_BY_DIR_ENTRY_push(ctx->dirs, en in add_cert_dir() [all...] |
/third_party/openssl/crypto/x509/ |
H A D | by_dir.c | 47 STACK_OF(BY_DIR_ENTRY) *dirs; 121 a->dirs = NULL; in new_dir() 162 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 190 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 191 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 195 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) in add_cert_dir() 197 if (ctx->dirs == NULL) { in add_cert_dir() 198 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 199 if (!ctx->dirs) { in add_cert_dir() 216 if (!sk_BY_DIR_ENTRY_push(ctx->dirs, en in add_cert_dir() [all...] |
/third_party/eudev/src/shared/ |
H A D | conf-files.c | 109 static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) { in conf_files_list_strv_internal() argument 117 /* This alters the dirs string array */ in conf_files_list_strv_internal() 118 if (!path_strv_resolve_uniq(dirs, root)) in conf_files_list_strv_internal() 125 STRV_FOREACH(p, dirs) { in conf_files_list_strv_internal() 145 int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char* const* dirs) { in conf_files_list_strv() argument 151 copy = strv_copy((char**) dirs); in conf_files_list_strv()
|
/third_party/node/deps/openssl/openssl/crypto/engine/ |
H A D | eng_dyn.c | 109 * Whether to never use 'dirs', use 'dirs' as a fallback, or only use 110 * 'dirs' for loading. Default is to use 'dirs' as a fallback. 114 STACK_OF(OPENSSL_STRING) *dirs; 146 sk_OPENSSL_STRING_pop_free(ctx->dirs, int_free_str); in dynamic_data_ctx_free_func() 166 c->dirs = sk_OPENSSL_STRING_new_null(); in dynamic_set_data_ctx() 167 if (c->dirs == NULL) { in dynamic_set_data_ctx() 194 sk_OPENSSL_STRING_free(c->dirs); in dynamic_set_data_ctx() 364 if (!sk_OPENSSL_STRING_push(ctx->dirs, tmp_st in dynamic_ctrl() [all...] |
/third_party/openssl/crypto/engine/ |
H A D | eng_dyn.c | 109 * Whether to never use 'dirs', use 'dirs' as a fallback, or only use 110 * 'dirs' for loading. Default is to use 'dirs' as a fallback. 114 STACK_OF(OPENSSL_STRING) *dirs; 146 sk_OPENSSL_STRING_pop_free(ctx->dirs, int_free_str); in dynamic_data_ctx_free_func() 166 c->dirs = sk_OPENSSL_STRING_new_null(); in dynamic_set_data_ctx() 167 if (c->dirs == NULL) { in dynamic_set_data_ctx() 194 sk_OPENSSL_STRING_free(c->dirs); in dynamic_set_data_ctx() 364 if (!sk_OPENSSL_STRING_push(ctx->dirs, tmp_st in dynamic_ctrl() [all...] |
/third_party/littlefs/scripts/ |
H A D | readtree.py | 13 dirs = [] 21 for m in it.chain((m for d in dirs for m in d), mdirs): 71 dirs.append(mdirs) 82 for dir in dirs: 85 pending = [("/", dirs[0])] 122 for i, dir in enumerate(dirs):
|
/third_party/skia/tests/ |
H A D | PathOpsInverseTest.cpp | 10 const SkPathDirection dirs[] = {SkPathDirection::kCW, SkPathDirection::kCCW}; in DEF_TEST() local 19 for (auto oneDir : dirs) { in DEF_TEST() 24 for (auto twoDir : dirs) { in DEF_TEST()
|
/third_party/python/Lib/tkinter/ |
H A D | filedialog.py | 95 self.dirs = Listbox(self.midframe, exportselection=0, 97 self.dirs.pack(side=LEFT, expand=YES, fill=BOTH) 98 self.dirsbar.config(command=(self.dirs, 'yview')) 99 btags = self.dirs.bindtags() 100 self.dirs.bindtags(btags[1:] + btags[:1]) 101 self.dirs.bind('<ButtonRelease-1>', self.dirs_select_event) 102 self.dirs.bind('<Double-ButtonRelease-1>', self.dirs_double_event) 156 subdir = self.dirs.get('active') 191 self.dirs.delete(0, END) 193 self.dirs [all...] |
/third_party/rust/crates/cxx/book/ |
H A D | build.js | 31 const dirs = ['build']; 32 while (dirs.length) { 33 const dir = dirs.pop(); 38 dirs.push(path);
|
/third_party/python/PC/layout/support/ |
H A D | filesets.py | 71 dirs = [root] 76 while dirs: 77 d = dirs.pop(0) 79 dirs.extend(
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_clean.py | 18 dirs = [(d, os.path.join(pkg_dir, d)) 22 for name, path in dirs: 36 for name, path in dirs:
|
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/ |
H A D | index.js | 1102 shouldWalk(dirs, walkFilter) { 1105 !dirs.has(this) && 1622 const dirs = new Set(); 1624 dirs.add(dir); 1646 .then(r => r?.shouldWalk(dirs, walkFilter) ? walk(r, next) : next()); 1649 if (e.shouldWalk(dirs, walkFilter)) { 1683 const dirs = new Set([entry]); 1684 for (const dir of dirs) { 1697 if (r.shouldWalk(dirs, walkFilter)) { 1698 dirs [all...] |
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/ |
H A D | index.js | 1074 shouldWalk(dirs, walkFilter) { 1077 !dirs.has(this) && 1591 const dirs = new Set(); 1593 dirs.add(dir); 1615 .then(r => r?.shouldWalk(dirs, walkFilter) ? walk(r, next) : next()); 1618 if (e.shouldWalk(dirs, walkFilter)) { 1652 const dirs = new Set([entry]); 1653 for (const dir of dirs) { 1666 if (r.shouldWalk(dirs, walkFilter)) { 1667 dirs [all...] |
/third_party/node/deps/npm/test/fixtures/ |
H A D | mock-npm.js | 132 // test dirs 196 const dirs = { 207 const withDirs = (v) => typeof v === 'function' ? v(dirs) : v 215 cache: dirs.cache, 233 'process.env.HOME': dirs.home, 238 'process.env.PREFIX': dirs.globalPrefix, 300 ...dirs,
|
/third_party/node/deps/v8/tools/ |
H A D | v8_presubmit.py | 242 dirs = lambda f: dirname(f).split(os.sep) 253 all(not self.IgnoreDir(d) for d in dirs(f.LocalPath())) and 269 for (root, dirs, files) in os.walk(path): 270 for ignored in [x for x in dirs if self.IgnoreDir(x)]: 271 dirs.remove(ignored) 384 dirs = ['include', 'samples', 'src'] 386 return dirs + [join('test', dir) for dir in test_dirs] 413 dirs = ['third_party', 'src'] 415 return dirs + [join('test', dir) for dir in test_dirs] 739 for root, dirs, file [all...] |
/third_party/python/Lib/urllib/ |
H A D | request.py | 1559 dirs = path.split('/') 1560 dirs = list(map(unquote, dirs)) 1561 dirs, file = dirs[:-1], dirs[-1] 1562 if dirs and not dirs[0]: 1563 dirs = dirs[ [all...] |
/third_party/icu/icu4c/source/python/icutools/databuilder/ |
H A D | utils.py | 133 dirs = set() 136 dirs.add(path[:path.rfind("/")]) 137 return list(sorted(dirs))
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | build_tree.py | 83 dirs = set({}) 89 if d in dirs: 91 dirs.add(d)
|