HomeSort by relevance Sort by last modified time
    Searched defs:opt (Results 1 - 25 of 1062) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
nullopt_t.pass.cpp 29 optional<int> opt; local
30 static_assert(noexcept(opt = nullopt) == true, "");
31 opt = nullopt;
32 assert(static_cast<bool>(opt) == false);
35 optional<int> opt(3);
36 opt = nullopt;
37 assert(static_cast<bool>(opt) == false);
42 optional<TT> opt; local
43 static_assert(noexcept(opt = nullopt) == true, "");
45 opt = nullopt
    [all...]
  /external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
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, "");
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(), "");
value_const.fail.cpp 30 constexpr optional<X> opt; local
31 static_assert(opt.value().test() == 3, "");
value_const.pass.cpp 47 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.value()
    [all...]
value_const_rvalue.pass.cpp 47 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).value()
    [all...]
  /external/libcxx/test/std/utilities/optional/optional.specalg/
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");
make_optional.pass.cpp 32 constexpr auto opt = make_optional(2); local
33 ASSERT_SAME_TYPE(decltype(opt), const optional<int>);
34 static_assert(opt.value() == 2);
37 optional<int> opt = make_optional(2); local
38 assert(*opt == 2);
42 optional<std::string> opt = make_optional(s); local
43 assert(*opt == s);
47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); local
48 assert(**opt == 3);
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
opt.go 8 func opt(f *Func) { func
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
opt.go 8 func opt(f *Func) { func
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/optional/optional.object/optional.object.observe/
bool.pass.cpp 24 constexpr optional<int> opt; local
25 static_assert(!opt, "");
28 constexpr optional<int> opt(0);
29 static_assert(opt, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/optional/optional.specalg/
make_optional.pass.cpp 31 optional<int> opt = make_optional(2); local
32 assert(*opt == 2);
36 optional<std::string> opt = make_optional(s); local
37 assert(*opt == s);
41 optional<std::string> opt = make_optional(std::move(s)); local
42 assert(*opt == "123");
47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); local
48 assert(**opt == 3);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.assign/
nullopt_t.pass.cpp 29 optional<int> opt; local
30 static_assert(noexcept(opt = nullopt) == true, "");
31 opt = nullopt;
32 assert(static_cast<bool>(opt) == false);
35 optional<int> opt(3);
36 opt = nullopt;
37 assert(static_cast<bool>(opt) == false);
42 optional<TT> opt; local
43 static_assert(noexcept(opt = nullopt) == true, "");
45 opt = nullopt
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.observe/
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, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.specalg/
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");
  /art/test/431-optimizing-arith-shifts/src/
Main.java 41 expectEquals(48, $opt$ShlIntConst2(12));
42 expectEquals(12, $opt$ShlIntConst0(12));
43 expectEquals(-48, $opt$ShlInt(-12, 2));
44 expectEquals(1024, $opt$ShlInt(32, 5));
46 expectEquals(7, $opt$ShlInt(7, 0));
47 expectEquals(14, $opt$ShlInt(7, 1));
48 expectEquals(0, $opt$ShlInt(0, 30));
50 expectEquals(1073741824L, $opt$ShlInt(1, 30));
51 expectEquals(Integer.MIN_VALUE, $opt$ShlInt(1, 31)); // overflow
52 expectEquals(Integer.MIN_VALUE, $opt$ShlInt(1073741824, 1)); // overflo
    [all...]
  /art/test/403-optimizing-long/src/
Main.java 17 // Note that $opt$ is a marker for the optimizing compiler to test
28 long l = $opt$ReturnLong();
32 l = $opt$TakeOneLong1(42);
35 l = $opt$TakeOneLong2(0, 42);
38 l = $opt$TakeOneLong3(0, 1, 42);
41 l = $opt$TakeOneLong4(0, 1, 2, 42);
44 l = $opt$AddTwoLongs(42, 41);
47 l = $opt$SubTwoLongs(42, 41);
50 l = $opt$MakeCallsWithLongs1();
53 l = $opt$MakeCallsWithLongs2()
    [all...]
  /external/clang/test/Modules/Inputs/PR27890/
a.h 4 class opt { class
7 opt(Mods) {} function in class:opt
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/lld/Core/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/lld/Core/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/lld/Common/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/lld/Common/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/lld/Common/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/lld/Common/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);
  /prebuilts/clang/host/linux-x86/clang-4393122/include/lld/Core/
Reproduce.h 18 namespace opt { class Arg; } namespace in namespace:llvm
36 std::string toString(llvm::opt::Arg *Arg);

Completed in 364 milliseconds

1 2 3 4 5 6 7 8 91011>>