Searched defs:opt (Results 51 - 75 of 353) sorted by relevance

1234567891011>>

/external/iproute2/tc/
H A Dq_prio.c35 struct tc_prio_qopt opt={3,{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }}; local
44 if (get_integer(&opt.bands, *argv, 10)) {
70 if (band > opt.bands) {
78 opt.priomap[idx++] = band;
86 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
89 nest = addattr_nest_compat(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
96 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
102 if (opt
[all...]
H A Dq_qfq.c94 static int qfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
98 if (opt == NULL)
101 parse_rtattr_nested(tb, TCA_QFQ_MAX, opt);
H A Dq_rr.c36 struct tc_prio_qopt opt={3,{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }}; local
45 if (get_integer(&opt.bands, *argv, 10)) {
71 if (band > opt.bands) {
79 opt.priomap[idx++] = band;
84 nest = addattr_nest_compat(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
91 int rr_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
97 if (opt == NULL)
100 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
H A Df_fw.c119 static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument
123 if (opt == NULL)
126 parse_rtattr_nested(tb, TCA_FW_MAX, opt);
H A Dq_choke.c37 struct tc_red_qopt opt; local
48 memset(&opt, 0, sizeof(opt));
53 if (get_unsigned(&opt.limit, *argv, 0)) {
67 if (get_unsigned(&opt.qth_min, *argv, 0)) {
73 if (get_unsigned(&opt.qth_max, *argv, 0)) {
106 if (!rate || !opt.limit) {
115 if (!opt.qth_max)
116 opt.qth_max = opt
167 choke_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_gred.c55 struct tc_gred_sopt opt = { 0 }; local
83 opt.DPs);
87 opt.grio = 1;
104 opt.DPs = dps;
105 opt.def_DP = def_dp;
107 DPRINTF("TC_GRED: sending DPs=%d default=%d\n",opt.DPs,opt.def_DP);
111 addattr_l(n, 1024, TCA_GRED_DPS, &opt, sizeof(struct tc_gred_sopt));
121 struct tc_gred_qopt opt; local
131 memset(&opt,
262 gred_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_red.c38 struct tc_red_qopt opt; local
48 memset(&opt, 0, sizeof(opt));
53 if (get_size(&opt.limit, *argv)) {
59 if (get_size(&opt.qth_min, *argv)) {
65 if (get_size(&opt.qth_max, *argv)) {
94 opt.flags |= TC_RED_ECN;
96 opt.flags |= TC_RED_HARDDROP;
98 opt.flags |= TC_RED_ADAPTATIVE;
100 opt
157 red_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_sfb.c54 struct tc_sfb_qopt opt; local
57 memset(&opt, 0, sizeof(opt));
58 opt.rehash_interval = 600*1000;
59 opt.warmup_time = 60*1000;
60 opt.penalty_rate = 10;
61 opt.penalty_burst = 20;
62 opt.increment = (SFB_MAX_PROB + 1000) / 2000;
63 opt.decrement = (SFB_MAX_PROB + 10000) / 20000;
68 if (get_u32(&opt
144 sfb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_sfq.c41 struct tc_sfq_qopt_v1 opt; local
47 memset(&opt, 0, sizeof(opt));
52 if (get_size(&opt.v0.quantum, *argv)) {
59 if (get_integer(&opt.v0.perturb_period, *argv, 0)) {
66 if (get_u32(&opt.v0.limit, *argv, 0)) {
70 if (opt.v0.limit < 2) {
77 if (get_u32(&opt.v0.divisor, *argv, 0)) {
84 if (get_u32(&opt.v0.flows, *argv, 0)) {
91 if (get_u32(&opt
206 sfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
/external/libcxx/test/utilities/optional/optional.object/optional.object.assign/
H A Demplace.pass.cpp63 optional<int> opt; local
64 opt.emplace();
65 assert(static_cast<bool>(opt) == true);
66 assert(*opt == 0);
69 optional<int> opt; local
70 opt.emplace(1);
71 assert(static_cast<bool>(opt) == true);
72 assert(*opt == 1);
75 optional<int> opt(2);
76 opt
87 optional<X> opt; local
93 optional<X> opt; local
99 optional<X> opt; local
[all...]
H A Demplace_initializer_list.pass.cpp80 optional<X> opt(x);
82 opt.emplace({1, 2});
84 assert(*opt == X({1, 2}));
88 optional<std::vector<int>> opt; local
89 opt.emplace({1, 2, 3}, std::allocator<int>());
90 assert(static_cast<bool>(opt) == true);
91 assert(*opt == std::vector<int>({1, 2, 3}));
94 optional<Y> opt; local
95 opt.emplace({1, 2});
96 assert(static_cast<bool>(opt)
[all...]
/external/libmtp/examples/
H A Dalbumart.c42 int opt; local
59 while ( (opt = getopt(argc, argv, "hn:i:")) != -1 ) {
60 switch (opt) {
H A Dhotplug.c53 int opt; local
61 while ( (opt = getopt(argc, argv, "uUiHa:")) != -1 ) {
62 switch (opt) {
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr3xx_fragprog.c84 int opt = !c->Base.disable_optimizations; local
124 {"deadcode", 1, opt, rc_dataflow_deadcode, dataflow_outputs_mark_use},
126 {"register rename", 1, !is_r500 || opt, rc_rename_regs, NULL},
127 {"dataflow optimize", 1, opt, rc_optimize, NULL},
128 {"inline literals", 1, is_r500 && opt, rc_inline_literals, NULL},
132 {"pair scheduling", 1, 1, rc_pair_schedule, &opt},
134 {"register allocation", 1, 1, rc_pair_regalloc, &opt},
/external/ppp/pppd/plugins/rp-pppoe/
H A Dpppoe-discovery.c30 int opt; local
39 while ((opt = getopt(argc, argv, "I:D:VUAS:C:h")) > 0) {
40 switch(opt) {
/external/qemu/distrib/ext4_utils/src/
H A Dmake_ext4fs_main.c62 int opt; local
79 while ((opt = getopt(argc, argv, "l:j:b:g:i:I:L:a:S:fwzJsctv")) != -1) {
80 switch (opt) {
/external/chromium_org/third_party/icu/source/tools/gennorm2/
H A Dn2builder.h57 void setOptimization(Optimization opt) { optimization=opt; } argument
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtransportdescriptionfactory_unittest.cc49 const std::string& opt, const std::string& ice_ufrag,
53 EXPECT_EQ(!opt.empty(), desc->HasOption(opt));
48 CheckDesc(const TransportDescription* desc, const std::string& type, const std::string& opt, const std::string& ice_ufrag, const std::string& ice_pwd, const std::string& dtls_alg) argument
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator_unittest.cc56 PartitionTreeNode* opt = root->GetOptimalNode(kMaxSize, kPenalty); local
57 ASSERT_TRUE(opt != NULL);
58 EXPECT_EQ(4, opt->NumPackets());
62 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()->
64 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->parent()->
66 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()->
68 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->packet_start());
69 EXPECT_TRUE(opt->parent()->parent()->parent()->packet_start());
70 EXPECT_FALSE(opt->parent()->parent()->packet_start());
71 EXPECT_TRUE(opt
85 PartitionTreeNode* opt = root->GetOptimalNode(kMaxSize, kPenalty); local
[all...]
/external/e2fsprogs/contrib/
H A Dfallocate.c91 int opt; local
98 while ((opt = getopt(argc, argv, "npl:o:t")) != -1) {
99 switch(opt) {
/external/fio/lib/
H A Dgetopt_long.c47 int opt; local
116 /* Someone frobbed optind, change to new opt. */
120 opt = *pvt.optptr++;
122 if (opt != ':' && (osptr = strchr(optstring, opt))) {
140 return opt;
151 return opt;
158 return opt;
162 optopt = opt;
/external/icu/icu4c/source/tools/gennorm2/
H A Dn2builder.h57 void setOptimization(Optimization opt) { optimization=opt; } argument
/external/libnl/lib/route/sch/
H A Dfifo.c60 struct tc_fifo_qopt *opt; local
69 opt = (struct tc_fifo_qopt *) qdisc->q_opts->d_data;
70 fifo->qf_limit = opt->limit;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Drun-command.c200 int opt)
204 cmd->no_stdin = opt & RUN_COMMAND_NO_STDIN ? 1 : 0;
205 cmd->perf_cmd = opt & RUN_PERF_CMD ? 1 : 0;
206 cmd->stdout_to_stderr = opt & RUN_COMMAND_STDOUT_TO_STDERR ? 1 : 0;
209 int run_command_v_opt(const char **argv, int opt) argument
212 prepare_run_command_v_opt(&cmd, argv, opt);
198 prepare_run_command_v_opt(struct child_process *cmd, const char **argv, int opt) argument
/external/llvm/include/llvm/Option/
H A DArg.h24 namespace opt { namespace in namespace:llvm
126 } // end namespace opt

Completed in 372 milliseconds

1234567891011>>