/external/syslinux/com32/chain/ |
D | options.c | 40 struct options opt; variable 172 memset(&opt, 0, sizeof opt); in opt_set_defs() 173 opt.sect = true; /* by def. load sector */ in opt_set_defs() 174 opt.maps = true; /* by def. map sector */ in opt_set_defs() 175 opt.hand = true; /* by def. prepare handover */ in opt_set_defs() 176 opt.brkchain = false; /* by def. do chainload */ in opt_set_defs() 177 opt.piflags = PIF_STRICT; /* by def. be strict, but ignore disk sizes */ in opt_set_defs() 178 opt.foff = opt.soff = opt.fip = opt.sip = 0x7C00; in opt_set_defs() 179 opt.drivename = "boot"; in opt_set_defs() 181 opt.warn = true; in opt_set_defs() [all …]
|
D | mangle.c | 58 if (!(opt.file && opt.isolinux)) in manglef_isolinux() 87 file_lba = get_file_lba(opt.file); in manglef_isolinux() 161 if (!(opt.file && opt.grub)) in manglef_grub() 213 if (opt.grubcfg) { in manglef_grub() 214 if (strlen(opt.grubcfg) >= sizeof stage2->config_file) { in manglef_grub() 219 strcpy((char *)stage2->config_file, opt.grubcfg); in manglef_grub() 238 if (!(opt.file && opt.drmk)) 258 opt.regs.ss = opt.regs.fs = opt.regs.gs = 0; /* Used before initialized */ 266 opt.regs.ds = (tsize >> 4) + (opt.fseg - 2); 313 *(uint8_t *)((char *)data->data + off) = (opt.swap ? iter->di.disk & 0x80 : iter->di.disk); in mangle_bpb() [all …]
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/ |
D | emplace.pass.cpp | 61 optional<int> opt; in main() local 62 opt.emplace(); in main() 63 assert(static_cast<bool>(opt) == true); in main() 64 assert(*opt == 0); in main() 67 optional<int> opt; in main() local 68 opt.emplace(1); in main() 69 assert(static_cast<bool>(opt) == true); in main() 70 assert(*opt == 1); in main() 73 optional<int> opt(2); in main() local 74 opt.emplace(); in main() [all …]
|
D | assign_value.pass.cpp | 44 optional<int> opt; in main() local 45 opt = 1; in main() 46 assert(static_cast<bool>(opt) == true); in main() 47 assert(*opt == 1); in main() 50 optional<int> opt; in main() local 52 opt = i; in main() 53 assert(static_cast<bool>(opt) == true); in main() 54 assert(*opt == i); in main() 57 optional<int> opt(3); in main() local 59 opt = i; in main() [all …]
|
/external/toybox/tests/ |
D | dd.test | 9 opt="2>/dev/null" 14 testing "count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" "" 15 testing "count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" "" 16 SKIP_HOST=1 testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \ 20 testing "if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" "" 21 testing "of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n" 22 testing "if=file of=file" "dd if=input of=foo $opt && cat foo && rm -f foo" \ 24 testing "if=file | dd of=file" "dd if=input $opt | dd of=foo $opt && 26 testing "(stdout)" "dd $opt" "I WANT\n" "" "I WANT\n" 28 "dd if=input of=outFile seek=8860 bs=1M conv=sync,noerror $opt && [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | emplace.pass.cpp | 53 Opt opt; in test_one_arg() local 54 opt.emplace(); in test_one_arg() 55 assert(static_cast<bool>(opt) == true); in test_one_arg() 56 assert(*opt == T(0)); in test_one_arg() 59 Opt opt; in test_one_arg() local 60 opt.emplace(1); in test_one_arg() 61 assert(static_cast<bool>(opt) == true); in test_one_arg() 62 assert(*opt == T(1)); in test_one_arg() 65 Opt opt(2); in test_one_arg() local 66 opt.emplace(); in test_one_arg() [all …]
|
D | assign_value.pass.cpp | 90 optional<T> opt; in test_with_test_type() local 91 opt = 3; in test_with_test_type() 97 assert(static_cast<bool>(opt) == true); in test_with_test_type() 98 assert(*opt == T(3)); in test_with_test_type() 101 optional<T> opt(42); in test_with_test_type() local 103 opt = 3; in test_with_test_type() 109 assert(static_cast<bool>(opt) == true); in test_with_test_type() 110 assert(*opt == T(3)); in test_with_test_type() 113 optional<T> opt; in test_with_test_type() local 115 opt = {1, 2}; in test_with_test_type() [all …]
|
/external/syslinux/com32/lib/ |
D | dhcpunpack.c | 16 struct dhcp_option opt[256]) in dhcp_unpack_field() 34 if (opt[op].len < 0) in dhcp_unpack_field() 35 opt[op].len = 0; in dhcp_unpack_field() 37 opt[op].data = realloc(opt[op].data, in dhcp_unpack_field() 38 opt[op].len + xlen + 1); in dhcp_unpack_field() 39 if (!opt[op].data) { in dhcp_unpack_field() 43 memcpy((char *)opt[op].data + opt[op].len, p, xlen); in dhcp_unpack_field() 44 opt[op].len += xlen; in dhcp_unpack_field() 46 *((char *)opt[op].data + opt[op].len) = 0; in dhcp_unpack_field() 60 struct dhcp_option opt[256]) in dhcp_unpack_packet() [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.h | 19 extern llvm::cl::opt<bool> Compilands; 20 extern llvm::cl::opt<bool> Symbols; 21 extern llvm::cl::opt<bool> Globals; 22 extern llvm::cl::opt<bool> Types; 23 extern llvm::cl::opt<bool> All; 24 extern llvm::cl::opt<bool> ExcludeCompilerGenerated; 26 extern llvm::cl::opt<bool> NoClassDefs; 27 extern llvm::cl::opt<bool> NoEnumDefs; 37 extern llvm::cl::opt<bool> DumpHeaders; 38 extern llvm::cl::opt<bool> DumpStreamBlocks; [all …]
|
/external/ppp/pppd/ |
D | options.c | 376 option_t *opt; local 385 opt = find_option(arg); 386 if (opt == NULL) { 391 n = n_arguments(opt); 396 if (!process_option(opt, arg, argv)) 417 option_t *opt; local 453 opt = find_option(cmd); 454 if (opt == NULL) { 459 n = n_arguments(opt); 469 if (!process_option(opt, cmd, argv)) [all …]
|
/external/python/cpython2/Lib/ |
D | getopt.py | 39 opt = '' variable in GetoptError 41 def __init__(self, msg, opt=''): argument 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): argument 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1:] 152 has_arg, opt = long_has_args(opt, longopts) 156 raise GetoptError('option --%s requires argument' % opt, opt) 159 raise GetoptError('option --%s must not have an argument' % opt, opt) [all …]
|
/external/syslinux/libinstaller/ |
D | syslxopt.c | 32 struct sys_options opt = { variable 144 opt.force = 1; in parse_options() 147 opt.heads = 64; in parse_options() 148 opt.sectors = 32; in parse_options() 151 opt.sectors = strtoul(optarg, NULL, 0); in parse_options() 152 if (opt.sectors < 1 || opt.sectors > 63) { in parse_options() 155 program, opt.sectors); in parse_options() 160 opt.heads = strtoul(optarg, NULL, 0); in parse_options() 161 if (opt.heads < 1 || opt.heads > 256) { in parse_options() 164 program, opt.heads); in parse_options() [all …]
|
/external/clang/lib/Driver/ |
D | ToolChains.h | 106 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args, 147 const llvm::opt::ArgList &Args, 153 const llvm::opt::ArgList &Args, 181 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args); 216 const llvm::opt::ArgList &Args); 245 const llvm::opt::ArgList &DriverArgs, 246 llvm::opt::ArgStringList &CC1Args) const; 268 const llvm::opt::ArgList &Args); 276 StringRef getMachOArchName(const llvm::opt::ArgList &Args) const; 279 virtual void AddLinkARCArgs(const llvm::opt::ArgList &Args, in AddLinkARCArgs() [all …]
|
/external/iproute2/tc/ |
D | q_sfq.c | 41 struct tc_sfq_qopt_v1 opt; in sfq_parse_opt() local 47 memset(&opt, 0, sizeof(opt)); in sfq_parse_opt() 52 if (get_size(&opt.v0.quantum, *argv)) { in sfq_parse_opt() 59 if (get_integer(&opt.v0.perturb_period, *argv, 0)) { in sfq_parse_opt() 66 if (get_u32(&opt.v0.limit, *argv, 0)) { in sfq_parse_opt() 70 if (opt.v0.limit < 2) { in sfq_parse_opt() 77 if (get_u32(&opt.v0.divisor, *argv, 0)) { in sfq_parse_opt() 84 if (get_u32(&opt.v0.flows, *argv, 0)) { in sfq_parse_opt() 91 if (get_u32(&opt.depth, *argv, 0)) { in sfq_parse_opt() 97 opt.headdrop = 1; in sfq_parse_opt() [all …]
|
D | q_sfb.c | 54 struct tc_sfb_qopt opt; in sfb_parse_opt() local 57 memset(&opt, 0, sizeof(opt)); in sfb_parse_opt() 58 opt.rehash_interval = 600*1000; in sfb_parse_opt() 59 opt.warmup_time = 60*1000; in sfb_parse_opt() 60 opt.penalty_rate = 10; in sfb_parse_opt() 61 opt.penalty_burst = 20; in sfb_parse_opt() 62 opt.increment = (SFB_MAX_PROB + 1000) / 2000; in sfb_parse_opt() 63 opt.decrement = (SFB_MAX_PROB + 10000) / 20000; in sfb_parse_opt() 68 if (get_u32(&opt.rehash_interval, *argv, 0)) { in sfb_parse_opt() 74 if (get_u32(&opt.warmup_time, *argv, 0)) { in sfb_parse_opt() [all …]
|
D | q_choke.c | 37 struct tc_red_qopt opt; in choke_parse_opt() local 48 memset(&opt, 0, sizeof(opt)); in choke_parse_opt() 53 if (get_unsigned(&opt.limit, *argv, 0)) { in choke_parse_opt() 67 if (get_unsigned(&opt.qth_min, *argv, 0)) { in choke_parse_opt() 73 if (get_unsigned(&opt.qth_max, *argv, 0)) { in choke_parse_opt() 106 if (!rate || !opt.limit) { in choke_parse_opt() 115 if (!opt.qth_max) in choke_parse_opt() 116 opt.qth_max = opt.limit / 4; in choke_parse_opt() 117 if (!opt.qth_min) in choke_parse_opt() 118 opt.qth_min = opt.qth_max / 3; in choke_parse_opt() [all …]
|
/external/iproute2/ip/ |
D | ip.c | 183 char *opt = argv[1]; in main() local 185 if (strcmp(opt, "--") == 0) { in main() 189 if (opt[0] != '-') in main() 191 if (opt[1] == '-') in main() 192 opt++; in main() 193 if (matches(opt, "-loops") == 0) { in main() 199 } else if (matches(opt, "-family") == 0) { in main() 210 } else if (strcmp(opt, "-4") == 0) { in main() 212 } else if (strcmp(opt, "-6") == 0) { in main() 214 } else if (strcmp(opt, "-0") == 0) { in main() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 29 extern cl::opt<std::string> TripleName; 30 extern cl::opt<std::string> ArchName; 31 extern cl::opt<std::string> MCPU; 34 extern cl::opt<bool> Disassemble; 35 extern cl::opt<bool> DisassembleAll; 36 extern cl::opt<bool> NoShowRawInsn; 37 extern cl::opt<bool> PrivateHeaders; 38 extern cl::opt<bool> FirstPrivateHeader; 39 extern cl::opt<bool> ExportsTrie; 40 extern cl::opt<bool> Rebase; [all …]
|
/external/libxml2/win32/ |
D | configure.js | 85 function boolToStr(opt) argument 87 if (opt == false) 89 else if (opt == true) 97 function strToBool(opt) argument 99 if (opt == 0 || opt == "no") 101 else if (opt == 1 || opt == "yes") 459 var arg, opt; variable 461 opt = arg.substring(0, arg.indexOf("=")); 462 if (opt.length == 0) 463 opt = arg.substring(0, arg.indexOf(":")); [all …]
|
/external/elfutils/libdwfl/ |
D | argp-std.c | 127 struct parse_opt *opt = calloc (1, sizeof (*opt)); in parse_opt() local 128 if (opt == NULL) in parse_opt() 130 state->hook = opt; in parse_opt() 140 struct parse_opt *opt = state->hook; in parse_opt() local 141 Dwfl *dwfl = opt->dwfl; in parse_opt() 147 opt->dwfl = dwfl; in parse_opt() 160 opt->e = arg; in parse_opt() 166 struct parse_opt *opt = state->hook; in parse_opt() local 167 if (opt->dwfl == NULL) in parse_opt() 177 opt->dwfl = dwfl; in parse_opt() [all …]
|
/external/dhcpcd-6.8.2/ |
D | dhcp-common.c | 47 dhcp_print_option_encoding(const struct dhcp_opt *opt, int cols) in dhcp_print_option_encoding() argument 55 if (opt->type & EMBED) in dhcp_print_option_encoding() 57 if (opt->type & ENCAP) in dhcp_print_option_encoding() 59 if (opt->type & INDEX) in dhcp_print_option_encoding() 61 if (opt->type & ARRAY) in dhcp_print_option_encoding() 63 if (opt->type & UINT8) in dhcp_print_option_encoding() 65 else if (opt->type & UINT16) in dhcp_print_option_encoding() 67 else if (opt->type & SINT16) in dhcp_print_option_encoding() 69 else if (opt->type & UINT32) in dhcp_print_option_encoding() 71 else if (opt->type & SINT32) in dhcp_print_option_encoding() [all …]
|
/external/libchrome/base/ |
D | optional_unittest.cc | 784 Optional<int> opt; in TEST() local 785 EXPECT_TRUE(opt == base::nullopt); in TEST() 788 Optional<int> opt(1); in TEST() local 789 EXPECT_FALSE(opt == base::nullopt); in TEST() 795 Optional<int> opt; in TEST() local 796 EXPECT_TRUE(base::nullopt == opt); in TEST() 799 Optional<int> opt(1); in TEST() local 800 EXPECT_FALSE(base::nullopt == opt); in TEST() 806 Optional<int> opt; in TEST() local 807 EXPECT_FALSE(opt != base::nullopt); in TEST() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | rvalue_T.pass.cpp | 39 constexpr optional<T> opt(T(5)); in main() local 40 static_assert(static_cast<bool>(opt) == true, ""); in main() 41 static_assert(*opt == 5, ""); in main() 51 constexpr optional<T> opt(T(3)); in main() local 52 static_assert(static_cast<bool>(opt) == true, ""); in main() 53 static_assert(*opt == 3, ""); in main() 69 optional<T> opt = T{3}; in main() 72 assert(static_cast<bool>(opt) == true); in main() 73 assert(opt.value().value == 3); in main() 79 optional<T> opt(T{3}); in main() local [all …]
|
D | in_place_t.pass.cpp | 65 constexpr optional<int> opt(in_place, 5); in main() local 66 static_assert(static_cast<bool>(opt) == true, ""); in main() 67 static_assert(*opt == 5, ""); in main() 78 optional<const int> opt(in_place, 5); in main() local 79 assert(*opt == 5); in main() 82 const optional<X> opt(in_place); in main() local 83 assert(static_cast<bool>(opt) == true); in main() 84 assert(*opt == X()); in main() 87 const optional<X> opt(in_place, 5); in main() local 88 assert(static_cast<bool>(opt) == true); in main() [all …]
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 27 namespace opt { 72 const llvm::opt::ArgList &Args; 74 const llvm::opt::Arg *const CachedRTTIArg; 100 const llvm::opt::ArgList &Args); 108 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs, 109 llvm::opt::ArgStringList &CC1Args, 111 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs, 112 llvm::opt::ArgStringList &CC1Args, 115 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs, 116 llvm::opt::ArgStringList &CC1Args, [all …]
|