Home
last modified time | relevance | path

Searched refs:bad_status (Results 1 – 11 of 11) sorted by relevance

/external/abseil-cpp/absl/status/
Dstatus_test.cc155 absl::Status bad_status(absl::StatusCode::kInternal, "fail"); in TEST() local
156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST()
157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST()
159 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
160 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
162 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatus_test.cc155 absl::Status bad_status(absl::StatusCode::kInternal, "fail"); in TEST() local
156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST()
157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST()
159 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
160 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
162 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatus_test.cc155 absl::Status bad_status(absl::StatusCode::kInternal, "fail"); in TEST() local
156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST()
157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST()
159 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
160 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
162 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatus_test.cc155 absl::Status bad_status(absl::StatusCode::kInternal, "fail"); in TEST() local
156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST()
157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST()
159 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
160 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
162 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatus_test.cc155 absl::Status bad_status(absl::StatusCode::kInternal, "fail"); in TEST() local
156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST()
157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST()
159 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
160 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
162 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
[all …]
/external/stressapptest/src/
Dmain.cc29 sat->bad_status(); in main()
32 sat->bad_status(); in main()
35 sat->bad_status(); in main()
40 sat->bad_status(); in main()
Dsat.cc92 bad_status(); in InitializeLogfile()
100 bad_status(); in InitializeLogfile()
121 bad_status(); in CheckEnvironment()
133 bad_status(); in CheckEnvironment()
138 bad_status(); in CheckEnvironment()
143 bad_status(); in CheckEnvironment()
181 bad_status(); in CheckEnvironment()
190 bad_status(); in CheckEnvironment()
211 bad_status(); in CheckEnvironment()
225 bad_status(); in AllocateMemory()
[all …]
Dsat.h90 void bad_status() { statuscount_++; } in bad_status() function
/external/tensorflow/tensorflow/core/common_runtime/
Dbuf_rendezvous_test.cc158 Status bad_status; in TEST_F() local
162 [&bad_status, &note](const Status& s) { in TEST_F()
163 bad_status = s; in TEST_F()
168 EXPECT_FALSE(bad_status.ok()); in TEST_F()
171 bad_status.error_message()); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dsharding_propagation.cc1564 auto bad_status = [](HloInstruction* instruction, int64 device, in CheckAndUpdateDeviceAssignmentsInWhileBody() local
1588 return bad_status(instruction, device, channel_instruction, in CheckAndUpdateDeviceAssignmentsInWhileBody()
1602 return bad_status(it->second, it->first, channel_instruction, in CheckAndUpdateDeviceAssignmentsInWhileBody()
1616 return bad_status(while_instruction, *while_device, channel_instruction, in CheckAndUpdateDeviceAssignmentsInWhileBody()
1624 return bad_status(body_root, *root_device, channel_instruction, in CheckAndUpdateDeviceAssignmentsInWhileBody()
/external/grpc-grpc/src/ruby/spec/generic/
Drpc_desc_spec.rb337 def bad_status(_req, _call) method