/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/ |
D | directive.rs | 457 fn parse_directives(dirs: impl AsRef<str>) -> Vec<Directive> { in parse_directives() 458 dirs.as_ref() in parse_directives() 464 fn expect_parse(dirs: impl AsRef<str>) -> Vec<Directive> { in expect_parse() 465 dirs.as_ref() in expect_parse() 478 let mut dirs = expect_parse( in directive_ordering_by_target_len() localVariable 481 dirs.sort_unstable(); in directive_ordering_by_target_len() 489 let sorted = dirs in directive_ordering_by_target_len() 500 let mut dirs = expect_parse("bar[span]=trace,foo=debug,baz::quux=info,a[span]=warn"); in directive_ordering_by_span() localVariable 501 dirs.sort_unstable(); in directive_ordering_by_span() 504 let sorted = dirs in directive_ordering_by_span() [all …]
|
D | builder.rs | 136 pub fn parse_lossy<S: AsRef<str>>(&self, dirs: S) -> EnvFilter { in parse_lossy() 137 let directives = dirs in parse_lossy() 153 pub fn parse<S: AsRef<str>>(&self, dirs: S) -> Result<EnvFilter, directive::ParseError> { in parse() 154 let dirs = dirs.as_ref(); in parse() localVariable 155 if dirs.is_empty() { in parse() 158 let directives = dirs in parse()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | targets.rs | 604 let dirs = expect_parse(s).0.into_vec(); in expect_parse_ralith() localVariable 605 assert_eq!(dirs.len(), 2, "\nparsed: {:#?}", dirs); in expect_parse_ralith() 606 assert_eq!(dirs[0].target, Some("server".to_string())); in expect_parse_ralith() 607 assert_eq!(dirs[0].level, LevelFilter::DEBUG); in expect_parse_ralith() 608 assert_eq!(dirs[0].field_names, Vec::<String>::new()); in expect_parse_ralith() 610 assert_eq!(dirs[1].target, Some("common".to_string())); in expect_parse_ralith() 611 assert_eq!(dirs[1].level, LevelFilter::INFO); in expect_parse_ralith() 612 assert_eq!(dirs[1].field_names, Vec::<String>::new()); in expect_parse_ralith() 616 let dirs = expect_parse(s).0.into_vec(); in expect_parse_level_directives() localVariable 617 assert_eq!(dirs.len(), 6, "\nparsed: {:#?}", dirs); in expect_parse_level_directives() [all …]
|
/third_party/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 …]
|
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/ |
D | node-modules-paths.js | 8 var verifyDirs = function verifyDirs(t, start, dirs, moduleDirectories, paths) { argument 19 for (var i = 0; i < dirs.length; ++i) { 20 var parsed = parse(dirs[i]); 24 uniqueDirs[dirs[i]] = true; 29 t.equal(keys(uniqueDirs).length, dirs.length, 'all dirs provided were unique'); 41 var dirs = nodeModulesPaths(start); 43 verifyDirs(t, start, dirs); 50 var dirs = nodeModulesPaths(start, {}); 52 verifyDirs(t, start, dirs); 60 var dirs = nodeModulesPaths(start, { paths: paths }); [all …]
|
/third_party/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 …]
|
/third_party/node/deps/npm/node_modules/tar/lib/ |
D | path-reservations.js | 29 const dirs = path.split('/').slice(0, -1).reduce((set, path) => { constant 35 return dirs 50 dirs: [...res.dirs].map(path => queues.get(path)), 57 const {paths, dirs} = getQueues(fn) 59 dirs.every(q => q[0] instanceof Set && q[0].has(fn)) 75 const { paths, dirs } = reservations.get(fn) 92 dirs.forEach(dir => { 124 const dirs = new Set( constant 127 reservations.set(fn, {dirs, paths}) property 135 dirs.forEach(dir => {
|
/third_party/toybox/toys/pending/ |
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->next) { in modprobe_main() 486 xchdir(dirs->arg); in modprobe_main() 514 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() 515 xchdir(dirs->arg); in modprobe_main() 520 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() [all …]
|
/third_party/weex-loader/test/spec/ |
D | example-list.we | 21 var dirs = this.root.split('/'); 22 dirs.forEach(function(dir, index) { 23 if (!dir) dirs.splice(index, 1); 25 var root = dirs.length > 0 ? dirs[0] : ''; 26 var subRoot = dirs.length > 1 ? dirs.slice(1).join('/') + '/' : '';
|
/third_party/node/deps/npm/test/tap/ |
D | prune-with-dev-dep-duplicate.js | 62 var dirs = readdir(pkg + '/node_modules').sort() 63 t.same(dirs, [ 'test-package' ].sort()) 77 var dirs = readdir(pkg + '/node_modules').sort() 78 t.same(dirs, [ 'test-package' ]) 93 var dirs = readdir(pkg + '/node_modules').sort() 94 t.same(dirs, [ 'test-package' ])
|
D | prune-with-only-dev-deps.js | 67 var dirs = readdir(pkg + '/node_modules').sort() 68 t.same(dirs, [ 'test-package', 'test-package-with-one-dep' ].sort()) 86 var dirs = readdir(pkg + '/node_modules').sort() 87 t.same(dirs, [ 'test-package', 'test-package-with-one-dep' ]) 106 var dirs = readdir(pkg + '/node_modules').sort() 107 t.same(dirs, [])
|
D | prune.js | 74 var dirs = fs.readdirSync(pkg + '/node_modules').sort() 75 t.same(dirs, [ 'test-package', 'mkdirp', 'underscore' ].sort()) 93 var dirs = fs.readdirSync(pkg + '/node_modules').sort() 94 t.same(dirs, [ 'mkdirp', 'underscore' ])
|
/third_party/openssl/crypto/x509/ |
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, ent)) { in add_cert_dir() [all …]
|
/third_party/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()
|
/third_party/python/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]
|
/third_party/flutter/skia/third_party/externals/sdl/premake/util/ |
D | sdl_file.lua | 100 local dirs = os.matchdirs(sourcePath.."/**") 101 for k,d in pairs(dirs) do 102 dirs[k] = string.sub(d, #sourcePath + 1) .. "/" 104 table.insert(dirs, "/") 105 return dirs
|
/third_party/jerryscript/targets/mbedos5/tools/ |
D | generate_pins.py | 69 for root, dirs, files in os.walk(root_dir, topdown=True): 71 …dirs[:] = [directory for directory in dirs if directory in directories or not directory.startswith… 82 for root, dirs, _ in os.walk(root_dir, topdown=True): 84 dirs[:] = [dir_label for dir_label in dirs
|
/third_party/node/deps/npm/node_modules/global-dirs/ |
D | readme.md | 1 # global-dirs [![Build Status](https://travis-ci.org/sindresorhus/global-dirs.svg?branch=master)](h… 11 $ npm install global-dirs 18 const globalDirs = require('global-dirs');
|
/third_party/openssl/crypto/engine/ |
D | eng_dyn.c | 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_str)) { in dynamic_ctrl() 387 if (!ctx->dir_load || (num = sk_OPENSSL_STRING_num(ctx->dirs)) < 1) in int_load() 390 const char *s = sk_OPENSSL_STRING_value(ctx->dirs, loop); in int_load()
|
/third_party/node/deps/npm/node_modules/node-gyp/test/ |
D | test-configure-python.js | 49 var dirs = process.env.PYTHONPATH.split(SEPARATOR) 50 t.deepEqual(dirs, [EXPECTED_PYPATH, existingPath]) 71 var dirs = process.env.PYTHONPATH.split(SEPARATOR) 72 t.deepEqual(dirs, [EXPECTED_PYPATH, pythonDir1, pythonDir2])
|
/third_party/rust/crates/cxx/book/ |
D | build.js | 31 const dirs = ['build']; variable 32 while (dirs.length) { 33 const dir = dirs.pop(); 38 dirs.push(path);
|
/third_party/littlefs/scripts/ |
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/python/Lib/tkinter/ |
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.insert(END, name)
|
/third_party/skia/tests/ |
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()
|