/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 | 95 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) in auth_parse_options() argument 103 if (!opts) in auth_parse_options() 106 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options() 108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 110 opts += strlen(cp); in auth_parse_options() 114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 117 opts += strlen(cp); in auth_parse_options() 121 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 124 opts += strlen(cp); in auth_parse_options() 128 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 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/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/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/skia/ |
D | public.bzl | 87 "src/opts/**/*", 98 # TODO(mtklein): Move to opts? 130 "src/opts/**/*.cpp", 131 "src/opts/**/*.h", 136 "src/opts/opts_check_x86.cpp", 137 "src/opts/*arm*", 138 "src/opts/*mips*", 139 "src/opts/*NEON*", 140 "src/opts/*neon*", 142 "src/opts/*SSE2*", [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/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/mesa3d/ |
D | common.py | 77 def AddOptions(opts): argument 86 opts.Add(EnumOption('build', 'build type', 'debug', 88 opts.Add(BoolOption('verbose', 'verbose output', 'no')) 89 opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine, 91 opts.Add(EnumOption('platform', 'target platform', host_platform, 93 opts.Add(BoolOption('embedded', 'embedded build', 'no')) 94 opts.Add('toolchain', 'compiler toolchain', default_toolchain) 95 opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no')) 96 opts.Add(BoolOption('llvm', 'use LLVM', default_llvm)) 97 opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)', 'no')) [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/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/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/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 …]
|
/external/webrtc/talk/session/media/ |
D | mediasession_unittest.cc | 435 MediaSessionOptions opts; in TestMediaDirectionInAnswer() local 436 opts.recv_video = true; in TestMediaDirectionInAnswer() 438 f1_.CreateOffer(opts, NULL)); in TestMediaDirectionInAnswer() 452 f2_.CreateAnswer(offer.get(), opts, NULL)); in TestMediaDirectionInAnswer() 505 MediaSessionOptions opts; in TEST_F() local 506 opts.recv_video = true; in TEST_F() 509 offer(f1_.CreateOffer(opts, NULL)); in TEST_F() 547 MediaSessionOptions opts; in TEST_F() local 548 opts.recv_audio = true; in TEST_F() 549 opts.recv_video = true; in TEST_F() [all …]
|
/external/autotest/server/site_tests/platform_InstallFW/ |
D | control | 36 opts = dict([[k, v] for (k, _, v) in [x.partition('=') for x in args]]) 40 if 'fw_type' not in opts: 43 if not (opts['fw_type'] == 'bios' or opts['fw_type'] == 'ec'): 47 if 'fw_path' not in opts: 50 if 'fw_name' not in opts: 51 if opts['fw_path'] == 'local': 52 opts['fw_name'] = None 53 elif os.path.isfile(opts['fw_path']): 54 opts['fw_name'] = os.path.basename(opts['fw_path']) 55 opts['fw_path'] = os.path.dirname(opts['fw_path']) [all …]
|
/external/swiftshader/third_party/LLVM/utils/Misc/ |
D | zkill | 92 if opts.debug: 112 if opts.debug: 138 global opts 202 (opts, args) = parser.parse_args() 204 if opts.listSignals: 213 signal = kSignals[opts.signalName] 215 if opts.verbose: 237 if opts.execName is not None: 239 if re_full_match(opts.execName, 241 if opts.execPath is not None: [all …]
|