/external/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 71 optional<int> opt1; in main() local 73 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main() 74 assert(static_cast<bool>(opt1) == false); in main() 76 opt1.swap(opt2); in main() 77 assert(static_cast<bool>(opt1) == false); in main() 81 optional<int> opt1(1); in main() local 83 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main() 84 assert(static_cast<bool>(opt1) == true); in main() 85 assert(*opt1 == 1); in main() 87 opt1.swap(opt2); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 70 optional<int> opt1; in main() local 72 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main() 73 assert(static_cast<bool>(opt1) == false); in main() 75 opt1.swap(opt2); in main() 76 assert(static_cast<bool>(opt1) == false); in main() 80 optional<int> opt1(1); in main() local 82 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main() 83 assert(static_cast<bool>(opt1) == true); in main() 84 assert(*opt1 == 1); in main() 86 opt1.swap(opt2); in main() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 117 optional<int> opt1; in main() local 119 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main() 120 assert(static_cast<bool>(opt1) == false); in main() 122 swap(opt1, opt2); in main() 123 assert(static_cast<bool>(opt1) == false); in main() 127 optional<int> opt1(1); in main() local 129 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main() 130 assert(static_cast<bool>(opt1) == true); in main() 131 assert(*opt1 == 1); in main() 133 swap(opt1, opt2); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 116 optional<int> opt1; in main() local 118 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main() 119 assert(static_cast<bool>(opt1) == false); in main() 121 swap(opt1, opt2); in main() 122 assert(static_cast<bool>(opt1) == false); in main() 126 optional<int> opt1(1); in main() local 128 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main() 129 assert(static_cast<bool>(opt1) == true); in main() 130 assert(*opt1 == 1); in main() 132 swap(opt1, opt2); in main() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | variance_sse2.c | 431 #define DECLS(opt1, opt2) \ argument 432 DECL(4, opt1); \ 433 DECL(8, opt1); \ 434 DECL(16, opt1) 474 #define FNS(opt1, opt2) \ argument 475 FN(64, 64, 16, 6, 6, opt1, (int64_t), (int64_t)); \ 476 FN(64, 32, 16, 6, 5, opt1, (int64_t), (int64_t)); \ 477 FN(32, 64, 16, 5, 6, opt1, (int64_t), (int64_t)); \ 478 FN(32, 32, 16, 5, 5, opt1, (int64_t), (int64_t)); \ 479 FN(32, 16, 16, 5, 4, opt1, (int64_t), (int64_t)); \ [all …]
|
D | highbd_variance_sse2.c | 411 #define DECLS(opt1) \ argument 412 DECL(16, opt1) \ 413 DECL(8, opt1) 545 #define FNS(opt1) \ argument 546 FN(64, 64, 16, 6, 6, opt1, (int64_t)); \ 547 FN(64, 32, 16, 6, 5, opt1, (int64_t)); \ 548 FN(32, 64, 16, 5, 6, opt1, (int64_t)); \ 549 FN(32, 32, 16, 5, 5, opt1, (int64_t)); \ 550 FN(32, 16, 16, 5, 4, opt1, (int64_t)); \ 551 FN(16, 32, 16, 4, 5, opt1, (int64_t)); \ [all …]
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/abseil-cpp/absl/types/ |
D | optional_test.cc | 336 constexpr absl::optional<ConstexprType> opt1{absl::in_place_t(), 1}; in TEST() local 337 static_assert(opt1, ""); in TEST() 338 static_assert((*opt1).x == ConstexprType::kCtorInt, ""); in TEST() 370 constexpr absl::optional<ConstexprType> opt1 = {"abc"}; in TEST() local 371 static_assert(opt1, ""); in TEST() 372 static_assert(ConstexprType::kCtorConstChar == (*opt1).x, ""); in TEST() 498 absl::optional<ConvertFromOptional> opt1 = absl::optional<Implicit>(); in TEST() local 499 EXPECT_TRUE(opt1); in TEST() 500 EXPECT_TRUE(opt1->implicit); in TEST() 501 EXPECT_TRUE(opt1->move); in TEST() [all …]
|
/external/llvm/utils/ |
D | findoptdiff | 62 opt1="${bc1}.opt" 70 opt1="$llvm1/Debug/bin/opt" 78 $opt1 $switches_to_use "$bc1" -o - | $dis1 | $filt1 > "$opt1ll"
|
/external/llvm-project/llvm/utils/ |
D | findoptdiff | 62 opt1="${bc1}.opt" 70 opt1="$llvm1/Debug/bin/opt" 78 $opt1 $switches_to_use "$bc1" -o - | $dis1 | $filt1 > "$opt1ll"
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | optional_test.py | 184 opt1 = optional_ops.Optional.from_value((1.0, 2.0)) 188 [opt1._variant_tensor, opt2._variant_tensor]) 189 add_opt = optional_ops._OptionalImpl(add_tensor, opt1.element_spec) 193 opt_none1 = optional_ops.Optional.empty(opt1.element_spec) 207 opt1 = optional_ops.Optional.from_value([1, 2.0]) 209 opt3 = optional_ops.Optional.from_value((5.0, opt1._variant_tensor)) 218 opt1.element_spec) 248 opt1 = optional_ops.Optional.from_value(1.0) 249 opt2 = optional_ops.Optional.from_value(opt1._variant_tensor) 254 opt1.element_spec) [all …]
|
/external/libabigail/tests/ |
D | test-cxx-compat.cc | 20 optional<bool> opt1; variable 21 REQUIRE_FALSE(opt1.has_value());
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | common.h | 12 #define OPT_COLLIDING(prog, opt1, opt2) do { \ argument 15 prog, opt1, opt2); \
|
/external/rust/crates/hashlink/tests/ |
D | lru_cache.rs | 47 let opt1 = cache.remove(&1); in test_pop() localVariable 48 assert!(opt1.is_some()); in test_pop() 49 assert_eq!(opt1.unwrap(), 10); in test_pop()
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/ |
D | optional_requires_destructible_object.fail.cpp | 29 optional<int&> opt1; in main() local
|
/external/libcxx/test/std/utilities/optional/optional.object/ |
D | optional_requires_destructible_object.fail.cpp | 30 optional<int&> opt1; in main() local
|
/external/libcxx/test/std/utilities/optional/optional.syn/ |
D | optional_nullopt_t.fail.cpp | 25 optional<const nullopt_t> opt1; // expected-note 1 {{requested here}} in main() local
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.syn/ |
D | optional_nullopt_t.fail.cpp | 24 optional<const nullopt_t> opt1; // expected-note 1 {{requested here}} in main() local
|
/external/openscreen/discovery/mdns/ |
D | mdns_records_unittest.cc | 469 OptRecordRdata::Option opt1{12, 34, {0x12, 0x34}}; in TEST() local 474 rdata1 = OptRecordRdata(opt1, opt2, opt3, opt4, opt5); in TEST() 479 EXPECT_EQ(rdata1.options()[1], opt1); in TEST() 486 OptRecordRdata::Option opt1{12, 34, {0x12, 0x34}}; in TEST() local 489 OptRecordRdata rdata1(opt1); in TEST() 511 OptRecordRdata::Option opt1{12, 34, {0x12, 0x34}}; in TEST() local 512 TestCopyAndMove(OptRecordRdata(opt1)); in TEST()
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 483 let opt1 = cache.remove(&1); in test_pop() localVariable 484 assert!(opt1.is_some()); in test_pop() 485 assert_eq!(opt1.unwrap(), 10); in test_pop()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | ftrl_test.py | 299 opt1 = ftrl.FtrlOptimizer( 305 update1 = opt1.apply_gradients([(grads1, var1)]) 320 accum1 = list(opt1._slots["accum"].values())[0].eval()
|