Searched refs:opt (Results 1 - 25 of 1635) sorted by relevance

1234567891011>>

/external/toybox/tests/
H A Ddd.test9 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" "
[all...]
/external/ltp/testcases/lib/
H A Dnet_cmdlib.sh31 while getopts "6" opt; do
32 case "$opt" in
36 echo "Setup 0 : FAIL Unknown option: $opt"
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
H A Dhas_value.pass.cpp25 const optional<int> opt; ((void)opt); local
26 ASSERT_NOEXCEPT(opt.has_value());
27 ASSERT_SAME_TYPE(decltype(opt.has_value()), bool);
30 constexpr optional<int> opt; local
31 static_assert(!opt.has_value(), "");
34 constexpr optional<int> opt(0);
35 static_assert(opt.has_value(), "");
H A Dbool.pass.cpp25 const optional<int> opt; ((void)opt); local
26 ASSERT_NOEXCEPT(bool(opt));
30 constexpr optional<int> opt; local
31 static_assert(!opt, "");
34 constexpr optional<int> opt(0);
35 static_assert(opt, "");
H A Ddereference.pass.cpp43 optional<Y> opt{Y{}};
44 return (*opt).test();
50 optional<X> opt; ((void)opt); local
51 ASSERT_SAME_TYPE(decltype(*opt), X&);
52 // ASSERT_NOT_NOEXCEPT(*opt);
62 optional<X> opt(X{});
63 assert((*opt).test() == 4);
68 optional<X> opt; local
69 assert((*opt)
[all...]
H A Ddereference_const.pass.cpp43 const optional<X> opt; ((void)opt); local
44 ASSERT_SAME_TYPE(decltype(*opt), X const&);
45 // ASSERT_NOT_NOEXCEPT(*opt);
55 constexpr optional<X> opt(X{});
56 static_assert((*opt).test() == 3, "");
59 constexpr optional<Y> opt(Y{});
60 assert((*opt).test() == 2);
64 const optional<X> opt; local
65 assert((*opt)
[all...]
H A Dop_arrow.pass.cpp40 optional<Y> opt{Y{}};
41 return opt->test();
47 std::optional<X> opt; ((void)opt); local
48 ASSERT_SAME_TYPE(decltype(opt.operator->()), X*);
49 // ASSERT_NOT_NOEXCEPT(opt.operator->());
59 optional<X> opt(X{});
60 assert(opt->test() == 3);
67 optional<X> opt; local
68 assert(opt
[all...]
H A Dop_arrow_const.pass.cpp46 const std::optional<X> opt; ((void)opt); local
47 ASSERT_SAME_TYPE(decltype(opt.operator->()), X const*);
48 // ASSERT_NOT_NOEXCEPT(opt.operator->());
58 constexpr optional<X> opt(X{});
59 static_assert(opt->test() == 3, "");
62 constexpr optional<Y> opt(Y{});
63 assert(opt->test() == 2);
66 constexpr optional<Z> opt(Z{});
67 static_assert(opt
71 const optional<X> opt; local
[all...]
H A Dvalue.pass.cpp50 optional<Y> opt{Y{}};
51 return opt.value().test();
58 optional<X> opt; ((void)opt); local
59 ASSERT_NOT_NOEXCEPT(opt.value());
60 ASSERT_SAME_TYPE(decltype(opt.value()), X&);
63 optional<X> opt; local
64 opt.emplace();
65 assert(opt.value().test() == 4);
69 optional<X> opt; local
[all...]
H A Dvalue_rvalue.pass.cpp49 optional<Y> opt{Y{}};
50 return std::move(opt).value().test();
56 optional<X> opt; ((void)opt); local
57 ASSERT_NOT_NOEXCEPT(std::move(opt).value());
58 ASSERT_SAME_TYPE(decltype(std::move(opt).value()), X&&);
61 optional<X> opt; local
62 opt.emplace();
63 assert(std::move(opt).value().test() == 6);
67 optional<X> opt; local
[all...]
H A Dvalue_or_const.pass.cpp42 constexpr optional<X> opt(2);
44 static_assert(opt.value_or(y) == 2, "");
47 constexpr optional<X> opt(2);
48 static_assert(opt.value_or(Y(3)) == 2, "");
51 constexpr optional<X> opt; local
53 static_assert(opt.value_or(y) == 3, "");
56 constexpr optional<X> opt; local
57 static_assert(opt.value_or(Y(3)) == 4, "");
60 const optional<X> opt(2);
62 assert(opt
69 const optional<X> opt; local
74 const optional<X> opt; local
[all...]
H A Dvalue_const.pass.cpp47 const optional<X> opt; ((void)opt); local
48 ASSERT_NOT_NOEXCEPT(opt.value());
49 ASSERT_SAME_TYPE(decltype(opt.value()), X const&);
52 constexpr optional<X> opt(in_place);
53 static_assert(opt.value().test() == 3, "");
56 const optional<X> opt(in_place);
57 assert(opt.value().test() == 3);
61 const optional<X> opt; local
64 (void)opt
[all...]
H A Dvalue_const_rvalue.pass.cpp47 const optional<X> opt; ((void)opt); local
48 ASSERT_NOT_NOEXCEPT(std::move(opt).value());
49 ASSERT_SAME_TYPE(decltype(std::move(opt).value()), X const&&);
52 constexpr optional<X> opt(in_place);
53 static_assert(std::move(opt).value().test() == 5, "");
56 const optional<X> opt(in_place);
57 assert(std::move(opt).value().test() == 5);
61 const optional<X> opt; local
64 (void)std::move(opt)
[all...]
/external/clang/test/Modules/
H A Dpr27890.cpp7 opt<ActionType> a(values(""));
/external/syslinux/com32/lib/
H A Ddhcpunpack.c12 * Unpack DHCP options from a field. Assumes opt is pre-initalized
16 struct dhcp_option opt[256])
34 if (opt[op].len < 0)
35 opt[op].len = 0;
37 opt[op].data = realloc(opt[op].data,
38 opt[op].len + xlen + 1);
39 if (!opt[op].data) {
43 memcpy((char *)opt[op].data + opt[o
15 dhcp_unpack_field(const void *field, size_t len, struct dhcp_option opt[256]) argument
59 dhcp_unpack_packet(const void *packet, size_t len, struct dhcp_option opt[256]) argument
[all...]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/
H A Dreset.pass.cpp33 optional<int> opt; local
34 static_assert(noexcept(opt.reset()) == true, "");
35 opt.reset();
36 assert(static_cast<bool>(opt) == false);
39 optional<int> opt(3);
40 opt.reset();
41 assert(static_cast<bool>(opt) == false);
44 optional<X> opt; local
45 static_assert(noexcept(opt.reset()) == true, "");
47 opt
[all...]
/external/syslinux/com32/chain/
H A Doptions.c40 struct options opt; variable in typeref:struct:options
172 memset(&opt, 0, sizeof opt);
173 opt.sect = true; /* by def. load sector */
174 opt.maps = true; /* by def. map sector */
175 opt.hand = true; /* by def. prepare handover */
176 opt.brkchain = false; /* by def. do chainload */
177 opt.piflags = PIF_STRICT; /* by def. be strict, but ignore disk sizes */
178 opt.foff = opt
[all...]
/external/llvm/tools/llvm-pdbdump/
H A Dllvm-pdbdump.h19 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<boo
[all...]
/external/libcxx/test/std/utilities/optional/optional.specalg/
H A Dmake_optional_explicit.pass.cpp27 constexpr auto opt = make_optional<int>('a'); local
28 static_assert(*opt == int('a'), "");
32 auto opt = make_optional<std::string>(s); local
33 assert(*opt == s);
37 auto opt = make_optional<std::unique_ptr<int>>(std::move(s)); local
38 assert(**opt == 3);
42 auto opt = make_optional<std::string>(4, 'X'); local
43 assert(*opt == "XXXX");
H A Dmake_optional_explicit_initializer_list.pass.cpp35 constexpr auto opt = make_optional<TestT>({42, 2, 3}); local
36 ASSERT_SAME_TYPE(decltype(opt), const std::optional<TestT>);
37 static_assert(opt->x == 42, "");
38 static_assert(opt->size == 3, "");
41 constexpr auto opt = make_optional<TestT>({42, 2, 3}, nullptr); local
42 static_assert(opt->x == 42, "");
43 static_assert(opt->size == 3, "");
46 auto opt = make_optional<std::string>({'1', '2', '3'}); local
47 assert(*opt == "123");
50 auto opt local
[all...]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Demplace.pass.cpp53 Opt opt; local
54 auto & v = opt.emplace();
56 assert(static_cast<bool>(opt) == true);
57 assert(*opt == T(0));
58 assert(&v == &*opt);
61 Opt opt; local
62 auto & v = opt.emplace(1);
64 assert(static_cast<bool>(opt) == true);
65 assert(*opt == T(1));
66 assert(&v == &*opt);
93 Opt opt; local
101 Opt opt; local
109 Opt opt; local
122 optional<T> opt; local
240 optional<const int> opt; local
[all...]
H A Dassign_value.pass.cpp90 optional<T> opt; local
91 opt = 3;
97 assert(static_cast<bool>(opt) == true);
98 assert(*opt == T(3));
101 optional<T> opt(42);
103 opt = 3;
109 assert(static_cast<bool>(opt) == true);
110 assert(*opt == T(3));
113 optional<T> opt; local
115 opt
139 optional<T> opt; local
166 optional<T> opt; local
185 optional<T> opt; local
201 optional<T> opt; local
219 optional<T> opt; local
260 optional<std::unique_ptr<int>> opt; local
[all...]
/external/tensorflow/tensorflow/contrib/opt/
H A D__init__.py22 from tensorflow.contrib.opt.python.training.addsign import *
23 from tensorflow.contrib.opt.python.training.drop_stale_gradient_optimizer import *
24 from tensorflow.contrib.opt.python.training.external_optimizer import *
25 from tensorflow.contrib.opt.python.training.lazy_adam_optimizer import *
26 from tensorflow.contrib.opt.python.training.moving_average_optimizer import *
27 from tensorflow.contrib.opt.python.training.multitask_optimizer_wrapper import *
28 from tensorflow.contrib.opt.python.training.nadam_optimizer import *
29 from tensorflow.contrib.opt.python.training.powersign import *
30 from tensorflow.contrib.opt.python.training.variable_clipping_optimizer import *
31 from tensorflow.contrib.opt
[all...]
/external/libcups/cups/
H A Dppd-custom.c61 ppdFindCustomParam(ppd_coption_t *opt, /* I - Custom option */ argument
67 if (!opt)
70 for (param = (ppd_cparam_t *)cupsArrayFirst(opt->params);
72 param = (ppd_cparam_t *)cupsArrayNext(opt->params))
87 ppdFirstCustomParam(ppd_coption_t *opt) /* I - Custom option */ argument
89 if (!opt)
92 return ((ppd_cparam_t *)cupsArrayFirst(opt->params));
103 ppdNextCustomParam(ppd_coption_t *opt) /* I - Custom option */ argument
105 if (!opt)
108 return ((ppd_cparam_t *)cupsArrayNext(opt
[all...]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Drvalue_T.pass.cpp46 constexpr optional<T> opt(T(5));
47 static_assert(static_cast<bool>(opt) == true, "");
48 static_assert(*opt == 5, "");
58 constexpr optional<T> opt(T(3));
59 static_assert(static_cast<bool>(opt) == true, "");
60 static_assert(*opt == 3, "");
76 optional<T> opt = T{3}; local
79 assert(static_cast<bool>(opt) == true);
80 assert(opt.value().value == 3);
86 optional<T> opt(
95 optional<T> opt = {3}; local
105 constexpr optional<T> opt = {T(3)}; local
117 constexpr optional<T> opt = {3}; local
[all...]

Completed in 502 milliseconds

1234567891011>>