Searched refs:opt (Results 26 - 50 of 985) sorted by relevance

1234567891011>>

/external/libcxx/test/utilities/optional/optional.object/optional.object.observe/
H A Dop_arrow.pass.cpp38 optional<X> opt(X{});
39 assert(opt->test() == 3);
43 optional<X> opt; local
44 assert(opt->test() == 3);
H A Dvalue_or.pass.cpp49 optional<X> opt(in_place, 2);
51 assert(std::move(opt).value_or(y) == 2);
52 assert(*opt == 0);
55 optional<X> opt(in_place, 2);
56 assert(std::move(opt).value_or(Y(3)) == 2);
57 assert(*opt == 0);
60 optional<X> opt; local
62 assert(std::move(opt).value_or(y) == 3);
63 assert(!opt);
66 optional<X> opt; local
[all...]
/external/libcxx/test/utilities/optional/optional.object/
H A Doptional_const_void.fail.cpp21 optional<const void> opt;
H A Doptional_void.fail.cpp21 optional<void> opt;
H A Doptional_not_destructible.fail.cpp31 optional<X> opt; local
/external/libcxx/test/utilities/optional/optional.syn/
H A Doptional_const_lvalue_ref.fail.cpp22 optional<const int&> opt;
H A Doptional_lvalue_ref.fail.cpp22 optional<int&> opt;
H A Doptional_rvalue_ref.fail.cpp22 optional<int&&> opt;
/external/iproute2/tc/
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_fifo.c34 struct tc_fifo_qopt opt; local
35 memset(&opt, 0, sizeof(opt));
40 if (get_size(&opt.limit, *argv)) {
57 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
61 static int fifo_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
65 if (opt == NULL)
68 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
70 qopt = RTA_DATA(opt);
[all...]
H A Dq_multiq.c47 struct tc_multiq_qopt opt; local
60 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
64 int multiq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
68 if (opt == NULL)
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
73 qopt = RTA_DATA(opt);
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...]
H A Dq_tbf.c42 struct tc_tbf_qopt opt; local
51 memset(&opt, 0, sizeof(opt));
56 if (opt.limit || latency) {
60 if (get_size(&opt.limit, *argv)) {
67 if (opt.limit || latency) {
114 if (opt.rate.rate) {
118 if (get_rate(&opt.rate.rate, *argv)) {
125 if (opt.peakrate.rate) {
129 if (get_rate(&opt
218 tbf_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_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...]
/external/ppp/pppd/
H A Doptions.c354 option_t *opt; local
363 opt = find_option(arg);
364 if (opt == NULL) {
369 n = n_arguments(opt);
374 if (!process_option(opt, arg, argv))
395 option_t *opt; local
427 opt = find_option(cmd);
428 if (opt == NULL) {
433 n = n_arguments(opt);
443 if (!process_option(opt, cm
526 option_t *opt; local
591 option_t *opt; local
810 option_t *opt; local
[all...]
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/
H A Dsetup_test_links.sh9 ln -f -s /opt/google/chrome/chrome $(dirname $0)/chrome
10 [ -L $(dirname $0)/locales ] || ln -f -s /opt/google/chrome/locales \
12 [ -L $(dirname $0)/resources ] || ln -f -s /opt/google/chrome/resources \
14 ln -f -s /opt/google/chrome/*.pak $(dirname $0)/
15 ln -f -s /opt/google/chrome/libffmpegsumo.so $(dirname $0)/libffmpegsumo.so
/external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
H A Dconst_T.pass.cpp57 constexpr optional<T> opt(t);
58 static_assert(static_cast<bool>(opt) == true, "");
59 static_assert(*opt == 5, "");
71 constexpr optional<T> opt(t);
72 static_assert(static_cast<bool>(opt) == true, "");
73 static_assert(*opt == 3, "");
85 optional<T> opt(t);
86 assert(static_cast<bool>(opt) == true);
87 assert(*opt == 3);
92 constexpr optional<T> opt(
[all...]
H A Drvalue_T.pass.cpp57 constexpr optional<T> opt(T(5));
58 static_assert(static_cast<bool>(opt) == true, "");
59 static_assert(*opt == 5, "");
69 constexpr optional<T> opt(T(3));
70 static_assert(static_cast<bool>(opt) == true, "");
71 static_assert(*opt == 3, "");
81 optional<T> opt(T(3));
82 assert(static_cast<bool>(opt) == true);
83 assert(*opt == 3);
87 constexpr optional<T> opt(
[all...]
H A Ddefault.pass.cpp27 constexpr Opt opt; local
28 static_assert(static_cast<bool>(opt) == false, "");
43 Opt opt; local
44 assert(static_cast<bool>(opt) == false);
H A Dnullopt_t.pass.cpp29 constexpr Opt opt(nullopt);
30 static_assert(static_cast<bool>(opt) == false, "");
44 Opt opt(nullopt);
45 assert(static_cast<bool>(opt) == false);
/external/iproute2/ip/
H A Dip.c159 char *opt = argv[1]; local
160 if (strcmp(opt,"--") == 0) {
164 if (opt[0] != '-')
166 if (opt[1] == '-')
167 opt++;
168 if (matches(opt, "-loops") == 0) {
174 } else if (matches(opt, "-family") == 0) {
193 } else if (strcmp(opt, "-4") == 0) {
195 } else if (strcmp(opt, "-6") == 0) {
197 } else if (strcmp(opt, "
[all...]
/external/tcpdump/
H A Dprint-mptcp.c52 static int dummy_print(const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_)
57 static int mp_capable_print(const u_char *opt, u_int opt_len, u_char flags) argument
59 struct mp_capable *mpc = (struct mp_capable *) opt;
79 static int mp_join_print(const u_char *opt, u_int opt_len, u_char flags) argument
81 struct mp_join *mpj = (struct mp_join *) opt;
145 static int mp_dss_print(const u_char *opt, u_int opt_len, u_char flags) argument
147 struct mp_dss *mdss = (struct mp_dss *) opt;
156 opt += 4;
160 printf("%" PRIu64, EXTRACT_64BITS(opt));
161 opt
188 add_addr_print(const u_char *opt, u_int opt_len, u_char flags _U_) argument
218 remove_addr_print(const u_char *opt, u_int opt_len, u_char flags _U_) argument
233 mp_prio_print(const u_char *opt, u_int opt_len, u_char flags _U_) argument
250 mp_fail_print(const u_char *opt, u_int opt_len, u_char flags _U_) argument
259 mp_fast_close_print(const u_char *opt, u_int opt_len, u_char flags _U_) argument
285 struct mptcp_option *opt; local
[all...]
/external/libcxx/test/utilities/optional/optional.object/optional.object.assign/
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/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dplgetopt.h69 PR_EXTERN(void) PL_DestroyOptState(PLOptState *opt); variable
71 PR_EXTERN(PLOptStatus) PL_GetNextOpt(PLOptState *opt); variable

Completed in 1489 milliseconds

1234567891011>>