Home
last modified time | relevance | path

Searched refs:opt_int (Results 1 – 6 of 6) sorted by relevance

/external/python/pybind11/tests/
Dtest_stl.cpp189 using opt_int = std::optional<int>; in TEST_SUBMODULE() typedef
191 m.def("double_or_zero", [](const opt_int& x) -> int { in TEST_SUBMODULE()
194 m.def("half_or_none", [](int x) -> opt_int { in TEST_SUBMODULE()
195 return x ? opt_int(x / 2) : opt_int(); in TEST_SUBMODULE()
197 m.def("test_nullopt", [](opt_int x) { in TEST_SUBMODULE()
/external/openscreen/third_party/abseil/src/absl/types/
Doptional_test.cc1125 auto opt_int = absl::make_optional(42); in TEST() local
1126 EXPECT_TRUE((std::is_same<decltype(opt_int), absl::optional<int>>::value)); in TEST()
1127 EXPECT_EQ(42, opt_int); in TEST()
/external/libtextclassifier/abseil-cpp/absl/types/
Doptional_test.cc1125 auto opt_int = absl::make_optional(42); in TEST() local
1126 EXPECT_TRUE((std::is_same<decltype(opt_int), absl::optional<int>>::value)); in TEST()
1127 EXPECT_EQ(42, opt_int); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Doptional_test.cc1125 auto opt_int = absl::make_optional(42); in TEST() local
1126 EXPECT_TRUE((std::is_same<decltype(opt_int), absl::optional<int>>::value)); in TEST()
1127 EXPECT_EQ(42, opt_int); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/types/
Doptional_test.cc1127 auto opt_int = absl::make_optional(42); in TEST() local
1128 EXPECT_TRUE((std::is_same<decltype(opt_int), absl::optional<int>>::value)); in TEST()
1129 EXPECT_EQ(42, opt_int); in TEST()
/external/abseil-cpp/absl/types/
Doptional_test.cc1127 auto opt_int = absl::make_optional(42); in TEST() local
1128 EXPECT_TRUE((std::is_same<decltype(opt_int), absl::optional<int>>::value)); in TEST()
1129 EXPECT_EQ(42, opt_int); in TEST()