/external/clang/tools/scan-build-py/libscanbuild/ |
D | runner.py | 77 def run(opts): argument 91 command = opts.pop('command') 94 opts.update(classify_parameters(command)) 96 return arch_check(opts) 104 def report_failure(opts): argument 111 def extension(opts): argument 115 return mapping.get(opts['language'], '.i') 117 def destination(opts): argument 120 name = os.path.join(opts['output_dir'], 'failures') 125 error = opts['error_type'] [all …]
|
/external/openssh/ |
D | auth-options.c | 99 char *opts = *optsp; in match_flag() local 102 if (allow_negate && strncasecmp(opts, "no-", 3) == 0) { in match_flag() 103 opts += 3; in match_flag() 106 if (strncasecmp(opts, opt, opt_len) == 0) { in match_flag() 107 *optsp = opts + opt_len; in match_flag() 122 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) in auth_parse_options() argument 131 if (!opts) in auth_parse_options() 134 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options() 135 if ((r = match_flag("cert-authority", 0, &opts, NULL)) != -1) { in auth_parse_options() 139 if ((r = match_flag("restrict", 0, &opts, NULL)) != -1) { in auth_parse_options() [all …]
|
/external/selinux/policycoreutils/secon/ |
D | secon.c | 72 } opts[1] = { { variable 132 num += opts->disp_user; in disp_num() 133 num += opts->disp_role; in disp_num() 134 num += opts->disp_type; in disp_num() 135 num += opts->disp_sen; in disp_num() 136 num += opts->disp_clr; in disp_num() 137 num += opts->disp_mlsr; in disp_num() 215 opts->disp_user = !opts->disp_user; in cmd_line() 219 opts->disp_role = !opts->disp_role; in cmd_line() 223 opts->disp_type = !opts->disp_type; in cmd_line() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderNormal.java | 23 private final Optimum[] opts = new Optimum[OPTS]; field in LZMAEncoderNormal 53 opts[i] = new Optimum(); in LZMAEncoderNormal() 70 int optPrev = opts[optCur].optPrev; in convertOpts() 73 Optimum opt = opts[optCur]; in convertOpts() 76 opts[optPrev].optPrev = optCur; in convertOpts() 77 opts[optPrev].backPrev = -1; in convertOpts() 81 opts[optPrev].optPrev = optPrev + 1; in convertOpts() 82 opts[optPrev].backPrev = opt.backPrev2; in convertOpts() 88 int temp = opts[optPrev].optPrev; in convertOpts() 89 opts[optPrev].optPrev = optCur; in convertOpts() [all …]
|
/external/skia/gn/ |
D | opts.gni | 10 "$_src/opts/SkBitmapProcState_opts_none.cpp", 11 "$_src/opts/SkBlitMask_opts_none.cpp", 12 "$_src/opts/SkBlitRow_opts_none.cpp", 16 "$_src/opts/SkBitmapProcState_opts_none.cpp", 17 "$_src/opts/SkBlitMask_opts_arm.cpp", 18 "$_src/opts/SkBlitRow_opts_arm.cpp", 22 "$_src/opts/SkBitmapProcState_arm_neon.cpp", 23 "$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp", 24 "$_src/opts/SkBlitMask_opts_arm_neon.cpp", 25 "$_src/opts/SkBlitRow_opts_arm_neon.cpp", [all …]
|
/external/flatbuffers/src/ |
D | idl_gen_text.cpp | 26 int indent, const IDLOptions &opts, 31 const char *NewLine(const IDLOptions &opts) { in NewLine() argument 32 return opts.indent_step >= 0 ? "\n" : ""; in NewLine() 35 int Indent(const IDLOptions &opts) { in Indent() argument 36 return std::max(opts.indent_step, 0); in Indent() 40 void OutputIdentifier(const std::string &name, const IDLOptions &opts, in OutputIdentifier() argument 43 if (opts.strict_json) text += "\""; in OutputIdentifier() 45 if (opts.strict_json) text += "\""; in OutputIdentifier() 53 const IDLOptions &opts, in Print() argument 56 if (type.enum_def && opts.output_enum_identifiers) { in Print() [all …]
|
D | flatc.cpp | 116 flatbuffers::IDLOptions opts; in Compile() local 150 opts.include_prefix = argv[argi]; in Compile() 151 if (opts.include_prefix.back() != '/' && in Compile() 152 opts.include_prefix.back() != '\\') opts.include_prefix += "/"; in Compile() 154 opts.strict_json = true; in Compile() 156 opts.allow_non_utf8 = true; in Compile() 158 opts.skip_js_exports = true; in Compile() 160 opts.use_goog_js_export_format = true; in Compile() 162 opts.output_default_scalars_in_json = true; in Compile() 164 opts.skip_unexpected_fields_in_json = true; in Compile() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_getopt.py | 47 opts, args = getopt.do_shorts([], 'a', 'a', []) 48 self.assertEqual(opts, [('-a', '')]) 51 opts, args = getopt.do_shorts([], 'a1', 'a:', []) 52 self.assertEqual(opts, [('-a', '1')]) 59 opts, args = getopt.do_shorts([], 'a', 'a:', ['1']) 60 self.assertEqual(opts, [('-a', '1')]) 63 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2']) 64 self.assertEqual(opts, [('-a', '1')]) 71 opts, args = getopt.do_longs([], 'abc', ['abc'], []) 72 self.assertEqual(opts, [('--abc', '')]) [all …]
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | DefaultValueTest.java | 37 MyOptsWithEmptyDefaults opts = new MyOptsWithEmptyDefaults(); in emptyDefaultValueForListParameterStaysEmptyIfNotAssignedOrIsSetOtherwise() local 38 JCommander cmd = new JCommander(opts); in emptyDefaultValueForListParameterStaysEmptyIfNotAssignedOrIsSetOtherwise() 40 Assert.assertEquals(opts.list.size(), 1); in emptyDefaultValueForListParameterStaysEmptyIfNotAssignedOrIsSetOtherwise() 41 Assert.assertEquals(opts.list.get(0), "anotherValue"); in emptyDefaultValueForListParameterStaysEmptyIfNotAssignedOrIsSetOtherwise() 42 Assert.assertEquals(opts.set.size(), 0); in emptyDefaultValueForListParameterStaysEmptyIfNotAssignedOrIsSetOtherwise() 47 MyOptsWithDefaultValues opts = new MyOptsWithDefaultValues(); in defaultValueForListParametersGetsOverwrittenWithSpecifiedValueOrStaysAsDefaultOtherwise() local 48 JCommander cmd = new JCommander(opts); in defaultValueForListParametersGetsOverwrittenWithSpecifiedValueOrStaysAsDefaultOtherwise() 50 Assert.assertEquals(opts.list.size(), 1); in defaultValueForListParametersGetsOverwrittenWithSpecifiedValueOrStaysAsDefaultOtherwise() 51 Assert.assertEquals(opts.list.get(0), "anotherValue"); in defaultValueForListParametersGetsOverwrittenWithSpecifiedValueOrStaysAsDefaultOtherwise() 52 Assert.assertEquals(opts.set.size(), 1); in defaultValueForListParametersGetsOverwrittenWithSpecifiedValueOrStaysAsDefaultOtherwise() [all …]
|
/external/llvm/utils/lit/lit/ |
D | main.py | 20 def __init__(self, opts, numTests, progressBar=None): argument 21 self.opts = opts 30 elif self.opts.quiet: 32 elif self.opts.succinct: 38 if self.opts.incremental: 46 self.opts.showAllOutput or \ 47 (not self.opts.quiet and not self.opts.succinct) 60 if (test.result.code.isFailure and self.opts.showOutput) or \ 61 self.opts.showAllOutput: 252 (opts, args) = parser.parse_args() [all …]
|
/external/mesa3d/ |
D | common.py | 78 def AddOptions(opts): argument 87 opts.Add(EnumOption('build', 'build type', 'debug', 90 opts.Add(BoolOption('verbose', 'verbose output', 'no')) 91 opts.Add(EnumOption('machine', 'use machine-specific assembly code', 94 opts.Add(EnumOption('platform', 'target platform', host_platform, 97 opts.Add(BoolOption('embedded', 'embedded build', 'no')) 98 opts.Add(BoolOption('analyze', 100 opts.Add(BoolOption('asan', 'enable Address Sanitizer', 'no')) 101 opts.Add('toolchain', 'compiler toolchain', default_toolchain) 102 opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', [all …]
|
/external/ppp/pppd/ |
D | mppe.h | 68 #define MPPE_OPTS_TO_CI(opts, ci) \ argument 73 if (opts & MPPE_OPT_STATEFUL) \ 82 if (opts & MPPE_OPT_128) \ 84 if (opts & MPPE_OPT_40) \ 90 #define MPPE_CI_TO_OPTS(ci, opts) \ argument 94 opts = 0; \ 98 opts |= MPPE_OPT_STATEFUL; \ 102 opts |= MPPE_OPT_128; \ 104 opts |= MPPE_OPT_40; \ 108 opts |= MPPE_OPT_56; \ [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | signalbar.cpp | 30 QStyleOptionProgressBar opts; in paint() local 43 opts.minimum = -95; in paint() 44 opts.maximum = -35; in paint() 45 if (signal < opts.minimum) in paint() 46 opts.progress = opts.minimum; in paint() 47 else if (signal > opts.maximum) in paint() 48 opts.progress = opts.maximum; in paint() 50 opts.progress = signal; in paint() 52 opts.text = QString::number(signal) + " dBm"; in paint() 53 opts.textVisible = true; in paint() [all …]
|
/external/ltp/ |
D | execltp.in | 293 opts, args = parser.parse_args() 297 opts.runltp_opts) 299 if not opts.log_dir: 300 opts.log_dir = os.path.join(opts.ltp_dir, 'output') 302 if not opts.summary_mode and not opts.verbose: 305 elif opts.summary_mode not in range(3): 316 if opts.output_file: 318 output_dir = os.path.dirname(opts.output_file) 326 os.makedirs(os.path.dirname(opts.output_file)) 334 opts.output_file = os.path.join(os.getcwd(), opts.output_file) [all …]
|
/external/skia/ |
D | public.bzl | 86 "src/opts/**/*", 97 # TODO(mtklein): Move to opts? 131 "src/opts/**/*.cpp", 132 "src/opts/**/*.h", 137 "src/opts/opts_check_x86.cpp", 138 "src/opts/*arm*", 139 "src/opts/*mips*", 140 "src/opts/*NEON*", 141 "src/opts/*neon*", 143 "src/opts/*SSE2*", [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 48 namespace opts { namespace 347 if (opts::Output == opts::LLVM) { in dumpObject() 357 if (opts::FileHeaders) in dumpObject() 359 if (opts::Sections) in dumpObject() 361 if (opts::Relocations) in dumpObject() 363 if (opts::DynRelocs) in dumpObject() 365 if (opts::Symbols) in dumpObject() 367 if (opts::DynamicSymbols) in dumpObject() 369 if (opts::UnwindInfo) in dumpObject() 371 if (opts::DynamicTable) in dumpObject() [all …]
|
/external/libnl/lib/route/qdisc/ |
D | htb.c | 60 struct tc_htb_glob opts; in htb_qdisc_msg_parser() local 62 nla_memcpy(&opts, tb[TCA_HTB_INIT], sizeof(opts)); in htb_qdisc_msg_parser() 63 htb->qh_rate2quantum = opts.rate2quantum; in htb_qdisc_msg_parser() 64 htb->qh_defcls = opts.defcls; in htb_qdisc_msg_parser() 65 htb->qh_direct_pkts = opts.direct_pkts; in htb_qdisc_msg_parser() 83 struct tc_htb_opt opts; in htb_class_msg_parser() local 85 nla_memcpy(&opts, tb[TCA_HTB_PARMS], sizeof(opts)); in htb_class_msg_parser() 86 htb->ch_prio = opts.prio; in htb_class_msg_parser() 87 rtnl_copy_ratespec(&htb->ch_rate, &opts.rate); in htb_class_msg_parser() 88 rtnl_copy_ratespec(&htb->ch_ceil, &opts.ceil); in htb_class_msg_parser() [all …]
|
D | red.c | 45 struct tc_red_qopt *opts; in red_msg_parser() local 58 opts = nla_data(tb[TCA_RED_PARMS]); in red_msg_parser() 60 red->qr_limit = opts->limit; in red_msg_parser() 61 red->qr_qth_min = opts->qth_min; in red_msg_parser() 62 red->qr_qth_max = opts->qth_max; in red_msg_parser() 63 red->qr_flags = opts->flags; in red_msg_parser() 64 red->qr_wlog = opts->Wlog; in red_msg_parser() 65 red->qr_plog = opts->Plog; in red_msg_parser() 66 red->qr_scell_log = opts->Scell_log; in red_msg_parser() 113 memset(&opts, 0, sizeof(opts)); in red_msg_fill() [all …]
|
/external/python/cpython2/Lib/ |
D | getopt.py | 78 opts = [] 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 92 return opts, args 109 opts = [] 131 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 133 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 142 return opts, prog_args 144 def do_longs(opts, opt, longopts, args): argument 160 opts.append(('--' + opt, optarg or '')) [all …]
|
/external/syslinux/gpxe/src/util/ |
D | makerom.pl | 24 use vars qw(%opts); 44 return (0) unless (my $s = $opts{'i'}); 71 $pci_hdr_offset, $pnp_hdr_offset if $opts{'v'}; 76 if (!defined($opts{'p'})) { 84 ($pci_vendor_id, $pci_device_id) = split(/,/, $opts{'p'}); 115 printf "UNDI header at %#x\n", $undi_hdr_offset if $opts{'v'}; 143 } elsif ($opts{'v'}) { 151 getopts('3xni:p:s:v', \%opts); 158 print "$filesize bytes read\n" if $opts{'v'}; 160 if ($opts{'x'}) { [all …]
|
/external/libvpx/libvpx/build/make/ |
D | rtcd.pl | 13 my %opts = (); 27 \%opts, 34 if (!defined($opts{$opt})) { 47 open CONFIG_FILE, $opts{config} or 48 die "Error opening config file '$opts{config}': $!\n"; 201 my $include_guard = uc($opts{sym})."_H_"; 225 void $opts{sym}(void); 393 if ($opts{arch} eq 'x86') { 396 } elsif ($opts{arch} eq 'x86_64') { 401 } elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') { [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.cpp | 91 namespace opts { namespace 318 opts::yaml2pdb::YamlPdbOutputFile, YamlObj.Headers->FileSize); in yamlToPdb() 321 opts::yaml2pdb::YamlPdbOutputFile)); in yamlToPdb() 397 if (opts::pretty::LoadAddress) in dumpPretty() 398 Session->setLoadAddress(opts::pretty::LoadAddress); in dumpPretty() 435 if (opts::pretty::Compilands) { in dumpPretty() 443 if (opts::pretty::Lines) in dumpPretty() 450 if (opts::pretty::Types) { in dumpPretty() 459 if (opts::pretty::Symbols) { in dumpPretty() 470 if (opts::pretty::Globals) { in dumpPretty() [all …]
|
/external/skia/bench/ |
D | EncoderBench.cpp | 50 SkJpegEncoder::Options opts; in encode_jpeg() local 51 opts.fQuality = 90; in encode_jpeg() 52 return SkJpegEncoder::Encode(dst, src, opts); in encode_jpeg() 56 SkWebpEncoder::Options opts; in encode_webp_lossy() local 57 opts.fCompression = SkWebpEncoder::Compression::kLossy; in encode_webp_lossy() 58 opts.fQuality = 90; in encode_webp_lossy() 59 opts.fUnpremulBehavior = SkTransferFunctionBehavior::kIgnore; in encode_webp_lossy() 60 return SkWebpEncoder::Encode(dst, src, opts); in encode_webp_lossy() 64 SkWebpEncoder::Options opts; in encode_webp_lossless() local 65 opts.fCompression = SkWebpEncoder::Compression::kLossless; in encode_webp_lossless() [all …]
|
/external/clang/utils/ |
D | FuzzTest | 127 if opts.verbose: 132 if opts.log_dir: 133 stdout_log_path = os.path.join(opts.log_dir, '%s.out' % index) 134 stderr_log_path = os.path.join(opts.log_dir, '%s.err' % index) 143 test_result = (exit_code == opts.expected_exit_code or 144 exit_code in opts.extra_exit_codes) 151 if not opts.log_all and test_result: 157 elif not opts.succinct: 162 global opts 268 (opts, args) = parser.parse_args() [all …]
|
/external/clang/utils/ABITest/ |
D | ABITestGen.py | 480 (opts, args) = parser.parse_args() 482 if not opts.useRandomSeed: 483 random.seed(opts.seed) 487 if opts.useBuiltins: 489 if opts.useChar: ints.append(('char',1)) 490 if opts.useShort: ints.append(('short',2)) 491 if opts.useInt: ints.append(('int',4)) 493 if opts.useLong: ints.append(('long',4)) 494 if opts.useLongLong: ints.append(('long long',8)) 495 if opts.useUnsigned: [all …]
|