Home
last modified time | relevance | path

Searched refs:GetPayload (Results 1 – 25 of 35) sorted by relevance

12

/external/openscreen/third_party/abseil/src/absl/status/
Dstatus_test.cc152 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
153 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); 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()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
181 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
183 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
293 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h504 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
Dstatus.cc116 absl::optional<absl::Cord> Status::GetPayload( in GetPayload() function in absl::Status
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatus_test.cc152 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
153 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); 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()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
181 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
183 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
293 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h504 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
Dstatus.cc116 absl::optional<absl::Cord> Status::GetPayload( in GetPayload() function in absl::Status
/external/abseil-cpp/absl/status/
Dstatus_test.cc152 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
153 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); 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()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
181 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
183 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
293 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h161 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
Dstatus.cc118 absl::optional<absl::Cord> Status::GetPayload( in GetPayload() function in absl::Status
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatus_test.cc152 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
153 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); 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()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
181 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
183 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
293 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h504 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
Dstatus.cc116 absl::optional<absl::Cord> Status::GetPayload( in GetPayload() function in absl::Status
/external/angle/third_party/abseil-cpp/absl/status/
Dstatus_test.cc156 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
157 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); in TEST()
163 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload1))); in TEST()
164 EXPECT_THAT(bad_status.GetPayload(kUrl2), Optional(Eq(kPayload2))); in TEST()
166 EXPECT_FALSE(bad_status.GetPayload(kUrl3)); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
173 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
185 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
187 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
318 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h565 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatus_test.cc152 EXPECT_FALSE(ok_status.GetPayload(kUrl1)); in TEST()
153 EXPECT_FALSE(ok_status.GetPayload(kUrl2)); 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()
165 EXPECT_THAT(bad_status.GetPayload(kUrl1), Optional(Eq(kPayload3))); in TEST()
169 EXPECT_THAT(bad_status.GetPayload(absl::StrCat(kUrl1, ".1")), in TEST()
181 EXPECT_TRUE(bad_status.GetPayload(kUrl2)); in TEST()
183 EXPECT_FALSE(bad_status.GetPayload(kUrl2)); in TEST()
293 EXPECT_TRUE(base.GetPayload(kUrl1).has_value()); in TEST()
[all …]
Dstatus.h161 absl::optional<absl::Cord> GetPayload(absl::string_view type_url) const;
Dstatus.cc118 absl::optional<absl::Cord> Status::GetPayload( in GetPayload() function in absl::Status
/external/tensorflow/tensorflow/core/lib/core/
Dstatus_test.cc181 ASSERT_EQ(s.GetPayload("Invalid"), tensorflow::StringPiece()); in TEST()
189 ASSERT_EQ(s.GetPayload("Error key"), tensorflow::StringPiece("Original")); in TEST()
191 ASSERT_EQ(s.GetPayload("Error key"), tensorflow::StringPiece("Updated")); in TEST()
202 ASSERT_EQ(s.GetPayload("Error key"), tensorflow::StringPiece()); in TEST()
/external/tflite-support/tensorflow_lite_support/cc/task/core/
Dbase_task_api.h104 return status.GetPayload(tflite::support::kTfLiteSupportPayload) in Infer()
131 return status.GetPayload(tflite::support::kTfLiteSupportPayload) in InferWithFallback()
Dtflite_engine.cc289 !status.GetPayload(tflite::support::kTfLiteSupportPayload).has_value()) { in InitInterpreter()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCClassDescriptorV2.h307 *payload = GetPayload();
324 virtual uint64_t GetPayload() { return (IsValid() ? m_payload : 0); } in GetPayload() function
/external/tensorflow/tensorflow/core/platform/
Dstatus.h111 tensorflow::StringPiece GetPayload(tensorflow::StringPiece type_url) const;
Dstatus.cc209 tensorflow::StringPiece Status::GetPayload( in GetPayload() function in tensorflow::Status
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
DObjCLanguageRuntime.cpp132 if (TypePayloadClang(type_sp->GetPayload()).IsCompleteObjCClass()) { in LookupInCompleteClassCache()
/external/llvm-project/lldb/include/lldb/Symbol/
DType.h210 Payload GetPayload() { return m_payload; } in GetPayload() function

12