/external/abseil-cpp/absl/status/ |
D | status_test.cc | 155 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/ |
D | status_test.cc | 155 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/ |
D | status_test.cc | 155 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/ |
D | status_test.cc | 155 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/ |
D | status_test.cc | 155 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/ |
D | main.cc | 29 sat->bad_status(); in main() 32 sat->bad_status(); in main() 35 sat->bad_status(); in main() 40 sat->bad_status(); in main()
|
D | sat.cc | 92 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 …]
|
D | sat.h | 90 void bad_status() { statuscount_++; } in bad_status() function
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | buf_rendezvous_test.cc | 158 Status bad_status; in TEST_F() local 162 [&bad_status, ¬e](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/ |
D | sharding_propagation.cc | 1564 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/ |
D | rpc_desc_spec.rb | 337 def bad_status(_req, _call) method
|