/external/toybox/tests/ |
H A 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" " [all...] |
/external/ltp/testcases/lib/ |
H A D | net_cmdlib.sh | 31 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 D | has_value.pass.cpp | 25 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 D | bool.pass.cpp | 25 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 D | dereference.pass.cpp | 43 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 D | dereference_const.pass.cpp | 43 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 D | op_arrow.pass.cpp | 40 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 D | op_arrow_const.pass.cpp | 46 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 D | value.pass.cpp | 42 optional<Y> opt{Y{}}; 43 return opt.value().test(); 50 optional<X> opt; ((void)opt); local 51 ASSERT_NOT_NOEXCEPT(opt.value()); 52 ASSERT_SAME_TYPE(decltype(opt.value()), X&); 55 optional<X> opt; local 56 opt.emplace(); 57 assert(opt.value().test() == 4); 61 optional<X> opt; local [all...] |
H A D | value_rvalue.pass.cpp | 42 optional<Y> opt{Y{}}; 43 return std::move(opt).value().test(); 49 optional<X> opt; ((void)opt); local 50 ASSERT_NOT_NOEXCEPT(std::move(opt).value()); 51 ASSERT_SAME_TYPE(decltype(std::move(opt).value()), X&&); 54 optional<X> opt; local 55 opt.emplace(); 56 assert(std::move(opt).value().test() == 6); 60 optional<X> opt; local [all...] |
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/ |
H A D | emplace.pass.cpp | 61 optional<int> opt; local 62 opt.emplace(); 63 assert(static_cast<bool>(opt) == true); 64 assert(*opt == 0); 67 optional<int> opt; local 68 opt.emplace(1); 69 assert(static_cast<bool>(opt) == true); 70 assert(*opt == 1); 73 optional<int> opt(2); 74 opt 91 optional<X> opt; local 97 optional<X> opt; local 103 optional<X> opt; local [all...] |
H A D | assign_value.pass.cpp | 44 optional<int> opt; local 45 opt = 1; 46 assert(static_cast<bool>(opt) == true); 47 assert(*opt == 1); 50 optional<int> opt; local 52 opt = i; 53 assert(static_cast<bool>(opt) == true); 54 assert(*opt == i); 57 optional<int> opt(3); 59 opt 64 optional<const AllowConstAssign> opt; local 69 optional<std::unique_ptr<int>> opt; local [all...] |
H A D | nullopt_t.pass.cpp | 34 optional<int> opt; local 35 static_assert(noexcept(opt = nullopt) == true, ""); 36 opt = nullopt; 37 assert(static_cast<bool>(opt) == false); 40 optional<int> opt(3); 41 opt = nullopt; 42 assert(static_cast<bool>(opt) == false); 45 optional<X> opt; local 46 static_assert(noexcept(opt = nullopt) == true, ""); 48 opt [all...] |
H A D | copy.pass.cpp | 47 optional<int> opt; local 49 opt = opt2; 51 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); 54 optional<const AllowConstAssign> opt; local 56 opt = opt2; 59 optional<int> opt; local 61 opt = opt2; 64 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); 65 assert(*opt == *opt2); 68 optional<int> opt( 85 optional<X> opt; local [all...] |
/external/clang/test/Modules/ |
H A D | pr27890.cpp | 7 opt<ActionType> a(values(""));
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.observe/ |
H A D | bool.pass.cpp | 24 constexpr optional<int> opt; local 25 static_assert(!opt, ""); 28 constexpr optional<int> opt(0); 29 static_assert(opt, "");
|
H A D | value_or_const.pass.cpp | 42 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...] |
/external/libcxx/test/std/experimental/optional/optional.hash/ |
H A D | hash.pass.cpp | 27 optional<T> opt; local 28 assert(std::hash<optional<T>>{}(opt) == 0); 29 opt = 2; 30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 34 optional<T> opt; local 35 assert(std::hash<optional<T>>{}(opt) == 0); 36 opt = std::string("123"); 37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 41 optional<T> opt; local [all...] |
/external/syslinux/com32/lib/ |
H A D | dhcpunpack.c | 12 * 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 D | reset.pass.cpp | 33 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 D | options.c | 40 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 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<boo [all...] |
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
H A D | make_optional_explicit.pass.cpp | 27 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 D | make_optional_explicit_initializer_list.pass.cpp | 35 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/experimental/optional/optional.object/ |
H A D | optional_const_void.fail.cpp | 21 optional<const void> opt;
|