Home
last modified time | relevance | path

Searched refs:const_thing (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc127 StatusOr<std::unique_ptr<const int>> const_thing(ReturnUniquePtr()); in TEST() local
128 EXPECT_TRUE(const_thing.ok()); in TEST()
129 EXPECT_EQ(0, *const_thing.ValueOrDie()); in TEST()
132 const int* const_previous = const_thing.ValueOrDie().get(); in TEST()
133 const_thing = ReturnUniquePtr(); in TEST()
134 EXPECT_TRUE(const_thing.ok()); in TEST()
135 EXPECT_EQ(0, *const_thing.ValueOrDie()); in TEST()
136 EXPECT_NE(const_previous, const_thing.ValueOrDie().get()); in TEST()
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatusor_test.cc267 absl::StatusOr<std::unique_ptr<const int>> const_thing(ReturnUniquePtr()); in TEST() local
268 EXPECT_TRUE(const_thing.ok()); in TEST()
269 EXPECT_EQ(0, **const_thing); in TEST()
272 const int* const_previous = const_thing->get(); in TEST()
273 const_thing = ReturnUniquePtr(); in TEST()
274 EXPECT_TRUE(const_thing.ok()); in TEST()
275 EXPECT_EQ(0, **const_thing); in TEST()
276 EXPECT_NE(const_previous, const_thing->get()); in TEST()
/external/openscreen/third_party/abseil/src/absl/status/
Dstatusor_test.cc267 absl::StatusOr<std::unique_ptr<const int>> const_thing(ReturnUniquePtr()); in TEST() local
268 EXPECT_TRUE(const_thing.ok()); in TEST()
269 EXPECT_EQ(0, **const_thing); in TEST()
272 const int* const_previous = const_thing->get(); in TEST()
273 const_thing = ReturnUniquePtr(); in TEST()
274 EXPECT_TRUE(const_thing.ok()); in TEST()
275 EXPECT_EQ(0, **const_thing); in TEST()
276 EXPECT_NE(const_previous, const_thing->get()); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc267 absl::StatusOr<std::unique_ptr<const int>> const_thing(ReturnUniquePtr()); in TEST() local
268 EXPECT_TRUE(const_thing.ok()); in TEST()
269 EXPECT_EQ(0, **const_thing); in TEST()
272 const int* const_previous = const_thing->get(); in TEST()
273 const_thing = ReturnUniquePtr(); in TEST()
274 EXPECT_TRUE(const_thing.ok()); in TEST()
275 EXPECT_EQ(0, **const_thing); in TEST()
276 EXPECT_NE(const_previous, const_thing->get()); in TEST()
/external/angle/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc267 absl::StatusOr<std::unique_ptr<const int>> const_thing(ReturnUniquePtr()); in TEST() local
268 EXPECT_TRUE(const_thing.ok()); in TEST()
269 EXPECT_EQ(0, **const_thing); in TEST()
272 const int* const_previous = const_thing->get(); in TEST()
273 const_thing = ReturnUniquePtr(); in TEST()
274 EXPECT_TRUE(const_thing.ok()); in TEST()
275 EXPECT_EQ(0, **const_thing); in TEST()
276 EXPECT_NE(const_previous, const_thing->get()); in TEST()