/third_party/node/deps/npm/node_modules/got/ |
D | index.js | 21 function requestAsEventEmitter(opts) { argument 22 opts = opts || {}; 25 const requestUrl = opts.href || urlLib.resolve(urlLib.format(opts), opts.path); 30 const get = opts => { argument 31 const fn = opts.protocol === 'https:' ? https : http; 33 const req = fn.request(opts, res => { 36 …if (isRedirect(statusCode) && opts.followRedirect && 'location' in res.headers && (opts.method ===… 40 ee.emit('error', new got.MaxRedirectsError(statusCode, opts), null, res); 46 redirectUrl = urlLib.resolve(urlLib.format(opts), bufferString); 47 const redirectOpts = Object.assign({}, opts, urlLib.parse(redirectUrl)); [all …]
|
/third_party/libabigail/tools/ |
D | abidiff.cc | 298 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument 307 if (opts.file1.empty()) in parse_command_line() 308 opts.file1 = argv[i]; in parse_command_line() 309 else if (opts.file2.empty()) in parse_command_line() 310 opts.file2 = argv[i]; in parse_command_line() 317 opts.display_version = true; in parse_command_line() 326 opts.missing_operand = true; in parse_command_line() 327 opts.wrong_option = argv[i]; in parse_command_line() 332 opts.di_root_paths1.push_back in parse_command_line() 342 opts.missing_operand = true; in parse_command_line() [all …]
|
D | abidw.cc | 244 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument 253 if (opts.in_file_path.empty()) in parse_command_line() 254 opts.in_file_path = argv[i]; in parse_command_line() 260 opts.display_version = true; in parse_command_line() 263 opts.display_abixml_version = true; in parse_command_line() 272 opts.di_root_paths.push_back in parse_command_line() 282 opts.headers_dirs.push_back(argv[j]); in parse_command_line() 291 opts.header_files.push_back(argv[j]); in parse_command_line() 298 || !opts.out_file_path.empty()) in parse_command_line() 301 opts.out_file_path = argv[i + 1]; in parse_command_line() [all …]
|
D | kmidiff.cc | 145 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument 154 if (opts.kernel_dist_root1.empty()) in parse_command_line() 155 opts.kernel_dist_root1 = argv[i]; in parse_command_line() 156 else if (opts.kernel_dist_root2.empty()) in parse_command_line() 157 opts.kernel_dist_root2 = argv[i]; in parse_command_line() 162 opts.verbose = true; in parse_command_line() 166 opts.display_version = true; in parse_command_line() 172 opts.display_usage = true; in parse_command_line() 181 opts.missing_operand = true; in parse_command_line() 182 opts.wrong_option = argv[i]; in parse_command_line() [all …]
|
D | abipkgdiff.cc | 271 options& opts, 655 load_elf_file_paths(options& opts) in load_elf_file_paths() argument 664 opts, elf_file_paths()); in load_elf_file_paths() 701 erase_extraction_directory(const options &opts) const in erase_extraction_directory() 709 if (opts.verbose) in erase_extraction_directory() 718 if (opts.verbose) in erase_extraction_directory() 723 if (opts.verbose) in erase_extraction_directory() 732 erase_extraction_directories(const options &opts) const in erase_extraction_directories() 734 erase_extraction_directory(opts); in erase_extraction_directories() 736 debug_info_packages().front()->erase_extraction_directory(opts); in erase_extraction_directories() [all …]
|
D | abicompat.cc | 144 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument 153 if (opts.app_path.empty()) in parse_command_line() 154 opts.app_path = argv[i]; in parse_command_line() 155 else if (opts.lib1_path.empty()) in parse_command_line() 156 opts.lib1_path = argv[i]; in parse_command_line() 157 else if (opts.lib2_path.empty()) in parse_command_line() 158 opts.lib2_path = argv[i]; in parse_command_line() 165 opts.display_version = true; in parse_command_line() 170 opts.list_undefined_symbols_only = true; in parse_command_line() 173 opts.show_base_names = true; in parse_command_line() [all …]
|
/third_party/node/deps/npm/node_modules/copy-concurrently/ |
D | copy.js | 33 function copy (from, to, opts) { argument 35 opts = extend({}, opts || {}) 37 var Promise = opts.Promise || global.Promise 38 var fs = opts.fs || nodeFs 40 if (opts.isWindows == null) opts.isWindows = isWindows 41 if (!opts.Promise) opts.Promise = Promise 42 if (!opts.fs) opts.fs = fs 43 if (!opts.recurseWith) opts.recurseWith = copyItem 44 if (!opts.lstat) opts.lstat = promisify(opts.Promise, fs.lstat) 45 if (!opts.stat) opts.stat = promisify(opts.Promise, fs.stat) [all …]
|
/third_party/node/deps/npm/node_modules/ssri/ |
D | index.js | 29 constructor (hash, opts) { argument 30 opts = SsriOpts(opts) 31 const strict = !!opts.strict 54 toString (opts) { argument 55 opts = SsriOpts(opts) 56 if (opts.strict) { 88 toString (opts) { argument 89 opts = SsriOpts(opts) 90 let sep = opts.sep || ' ' 91 if (opts.strict) { [all …]
|
/third_party/node/deps/npm/node_modules/npm-registry-fetch/ |
D | index.js | 17 function regFetch (uri, opts) { argument 18 opts = config(opts) 20 (opts.spec && pickRegistry(opts.spec, opts)) || 21 opts.registry || 33 const headers = getHeaders(registry, uri, opts) 34 let body = opts.body 44 if (opts.gzip) { 51 body = new opts.Promise((resolve, reject) => { 57 let q = opts.query 77 if (String(query.write) === 'true' && opts.method === 'GET') { [all …]
|
/third_party/node/deps/npm/node_modules/lockfile/ |
D | lockfile.js | 75 exports.check = function (path, opts, cb) { argument 76 if (typeof opts === 'function') cb = opts, opts = {} 77 debug('check', path, opts) 84 if (!opts.stale) { 97 return cb(er, age <= opts.stale) 103 exports.checkSync = function (path, opts) { argument 104 opts = opts || {} 105 debug('checkSync', path, opts) 106 if (opts.wait) { 117 if (!opts.stale) { [all …]
|
/third_party/node/deps/npm/node_modules/make-fetch-happen/ |
D | index.js | 39 function defaultedFetch (uri, opts) { argument 40 const finalOpts = Object.assign({}, _opts || {}, opts || {}) 50 function cacheDelete (uri, opts) { argument 51 opts = configureOptions(opts) 52 if (opts.cacheManager) { 54 method: opts.method, 55 headers: opts.headers 57 return opts.cacheManager.delete(req, opts) 61 function initializeCache (opts) { argument 62 if (typeof opts.cacheManager === 'string') { [all …]
|
/third_party/node/deps/npm/node_modules/libnpmteam/ |
D | index.js | 16 cmd.create = (entity, opts) => { argument 17 opts = TeamConfig(opts) 18 return pwrap(opts, () => { 20 validate('SSO', [scope, team, opts]) 21 return npmFetch.json(`/-/org/${eu(scope)}/team`, opts.concat({ 24 body: { name: team, description: opts.description } 29 cmd.destroy = (entity, opts) => { argument 30 opts = TeamConfig(opts) 31 return pwrap(opts, () => { 33 validate('SSO', [scope, team, opts]) [all …]
|
/third_party/openssl/util/perl/OpenSSL/ |
D | ParseC.pm | 86 my %opts; 88 %opts = %{$_[$#_]}; 92 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\… 93 if $opts{debug}; 99 my %opts; 101 %opts = %{$_[$#_]}; 105 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\… 106 if $opts{debug}; 112 my %opts; 114 %opts = %{$_[$#_]}; [all …]
|
/third_party/node/deps/npm/node_modules/libnpmaccess/ |
D | index.js | 25 cmd.public = (spec, opts) => setAccess(spec, 'public', opts) argument 26 cmd.restricted = (spec, opts) => setAccess(spec, 'restricted', opts) argument 27 function setAccess (spec, access, opts) { argument 28 opts = AccessConfig(opts) 29 return pwrap(opts, () => { 31 validate('OSO', [spec, access, opts]) 33 return npmFetch(uri, opts.concat({ 41 cmd.grant = (spec, entity, permissions, opts) => { argument 42 opts = AccessConfig(opts) 43 return pwrap(opts, () => { [all …]
|
/third_party/iowow/src/fs/ |
D | iwfile.c | 49 IWFS_FILE_OPTS opts; /**< File open options. */ member 58 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_write() 62 if (!rc && impl->opts.dlsnr) { in _iwfs_write() 63 rc = impl->opts.dlsnr->onwrite(impl->opts.dlsnr, off, buf, siz, 0); in _iwfs_write() 83 IWFS_FILE_OPTS *opts = &impl->opts; in _iwfs_close() local 85 if (opts->path && (opts->omode & IWFS_OUNLINK)) { in _iwfs_close() 86 unlink(opts->path); in _iwfs_close() 89 if (opts->lock_mode != IWP_NOLOCK) { in _iwfs_close() 93 if (opts->path) { in _iwfs_close() 94 free((char*) opts->path); in _iwfs_close() [all …]
|
/third_party/rust/crates/clap/clap_complete/tests/snapshots/ |
D | quoting.bash | 2 local i cur prev opts cmd 7 opts="" 64 …opts="-h -V --single-quotes --double-quotes --backticks --backslash --brackets --expansions --help… 66 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 78 opts="-h --help" 80 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 92 opts="-h --help" 94 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [all …]
|
D | sub_subcommands.bash | 2 local i cur prev opts cmd 7 opts="" 58 … opts="-C -c -h -V --conf --config --help --version [file] first second test some_cmd help" 60 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 68 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 72 opts="test some_cmd help" 74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 82 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 86 opts="" 88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [all …]
|
/third_party/node/deps/npm/lib/ |
D | team.js | 36 team.completion = function (opts, cb) { argument 37 var argv = opts.conf.argv.remain 56 otplease(npmConfig(), opts => { 57 opts = TeamConfig(opts).concat({description: null}) 60 case 'create': return teamCreate(entity, opts) 61 case 'destroy': return teamDestroy(entity, opts) 62 case 'add': return teamAdd(entity, user, opts) 63 case 'rm': return teamRm(entity, user, opts) 67 return teamListUsers(entity, opts) 69 return teamListTeams(entity, opts) [all …]
|
/third_party/mesa3d/src/imagination/rogue/tools/ |
D | offline_compiler.c | 101 static bool parse_cmdline(int argc, char *argv[], struct compiler_opts *opts) in parse_cmdline() argument 112 opts->dump_c_array = true; in parse_cmdline() 116 if (opts->entry) in parse_cmdline() 119 opts->entry = optarg; in parse_cmdline() 123 if (opts->file) in parse_cmdline() 126 opts->file = optarg; in parse_cmdline() 130 opts->dump_nir = true; in parse_cmdline() 134 if (opts->out_file) in parse_cmdline() 137 opts->out_file = optarg; in parse_cmdline() 141 opts->dump_rogue = true; in parse_cmdline() [all …]
|
/third_party/gn/src/gn/ |
D | escape_unittest.cc | 10 EscapeOptions opts; in TEST() local 11 opts.mode = ESCAPE_NINJA; in TEST() 12 std::string result = EscapeString("asdf: \"$\\bar", opts, nullptr); in TEST() 17 EscapeOptions opts; in TEST() local 18 opts.mode = ESCAPE_DEPFILE; in TEST() 19 std::string result = EscapeString("asdf:$ \\#*[|]bar", opts, nullptr); in TEST() 24 EscapeOptions opts; in TEST() local 25 opts.mode = ESCAPE_NINJA_COMMAND; in TEST() 26 opts.platform = ESCAPE_PLATFORM_WIN; in TEST() 29 EXPECT_EQ("foo\\bar", EscapeString("foo\\bar", opts, nullptr)); in TEST() [all …]
|
/third_party/libfuse/lib/ |
D | helper.c | 149 struct fuse_cmdline_opts *opts = data; in fuse_helper_opt_proc() local 153 if (!opts->mountpoint) { in fuse_helper_opt_proc() 155 return fuse_opt_add_opt(&opts->mountpoint, arg); in fuse_helper_opt_proc() 165 return fuse_opt_add_opt(&opts->mountpoint, mountpoint); in fuse_helper_opt_proc() 206 struct fuse_cmdline_opts *opts); 209 struct fuse_cmdline_opts *opts) in fuse_parse_cmdline_312() argument 211 memset(opts, 0, sizeof(struct fuse_cmdline_opts)); in fuse_parse_cmdline_312() 213 opts->max_idle_threads = UINT_MAX; /* new default in fuse version 3.12 */ in fuse_parse_cmdline_312() 214 opts->max_threads = 10; in fuse_parse_cmdline_312() 216 if (fuse_opt_parse(args, opts, fuse_helper_opts, in fuse_parse_cmdline_312() [all …]
|
/third_party/node/deps/npm/node_modules/pacote/lib/ |
D | with-tarball-stream.js | 19 function withTarballStream (spec, opts, streamHandler) { argument 20 opts = optCheck(opts) 21 spec = npa(spec, opts.where) 25 !opts.preferOnline && 26 opts.integrity && 27 opts.resolved && 28 opts.resolved.startsWith('file:') 35 opts.log.silly('pacote', `trying ${spec} by local file: ${opts.resolved}`) 36 const file = path.resolve(opts.where || '.', opts.resolved.substr(5)) 39 const verifier = ssri.integrityStream({ integrity: opts.integrity }) [all …]
|
/third_party/node/deps/npm/node_modules/cacache/ |
D | get.js | 20 module.exports = function get (cache, key, opts) { argument 21 return getData(false, cache, key, opts) 23 module.exports.byDigest = function getByDigest (cache, digest, opts) { argument 24 return getData(true, cache, digest, opts) 26 function getData (byDigest, cache, key, opts) { argument 27 opts = GetOpts(opts) 30 ? memo.get.byDigest(cache, key, opts) 31 : memo.get(cache, key, opts) 33 if (memoized && opts.memoize !== false) { 42 byDigest ? BB.resolve(null) : index.find(cache, key, opts) [all …]
|
/third_party/node/deps/npm/node_modules/execa/ |
D | index.js | 16 function handleArgs(cmd, args, opts) { argument 19 if (opts && opts.env && opts.extendEnv !== false) { 20 opts.env = Object.assign({}, process.env, opts.env); 23 if (opts && opts.__winShell === true) { 24 delete opts.__winShell; 28 options: opts, 33 parsed = crossSpawn._parse(cmd, args, opts); 36 opts = Object.assign({ 46 opts.stdio = stdio(opts); 48 if (opts.preferLocal) { [all …]
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfscluster.c | 56 static struct options opts; variable 138 opts.action = act_none; in parse_options() 139 opts.range_begin = -1; in parse_options() 140 opts.range_end = -1; in parse_options() 145 if (!opts.device) { in parse_options() 146 opts.device = argv[optind-1]; in parse_options() 148 opts.device = NULL; in parse_options() 154 if ((opts.action == act_none) && in parse_options() 155 (utils_parse_range(optarg, &opts.range_begin, &opts.range_end, FALSE))) in parse_options() 156 opts.action = act_cluster; in parse_options() [all …]
|