Home
last modified time | relevance | path

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

/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DDefaultSerializationContextTest.cs70 var nativePayload = context.GetPayload().ToByteArray(); in ByteArrayPayload()
92 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment()
114 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment_GetMemory()
146 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_MultipleSegments()
158 Assert.Throws(typeof(NullReferenceException), () => context.GetPayload()); in ContextIsReusable()
162 CollectionAssert.AreEqual(origPayload1, context.GetPayload().ToByteArray()); in ContextIsReusable()
172 CollectionAssert.AreEqual(origPayload2, context.GetPayload().ToByteArray()); in ContextIsReusable()
176 Assert.Throws(typeof(NullReferenceException), () => context.GetPayload()); in ContextIsReusable()
/third_party/skia/third_party/externals/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.h566 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
/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
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DDefaultSerializationContext.cs74 internal SliceBufferSafeHandle GetPayload() in GetPayload() method in Grpc.Core.Internal.DefaultSerializationContext
DAsyncCallBase.cs222 return context.GetPayload(); in UnsafeSerialize()
/third_party/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc1478 state_change.status.GetPayload(kKeepaliveThrottlingKey); in ApplyUpdateInControlPlaneWorkSerializer()
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_arm64_rel.def453 ?GetPayload@Status@absl@@QEBA?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_x64_rel.def457 ?GetPayload@Status@absl@@QEBA?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_x86_rel.def454 ?GetPayload@Status@absl@@QBE?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_x64_rel_asan.def469 ?GetPayload@Status@absl@@QEBA?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_arm64_dbg.def2000 ?GetPayload@Status@absl@@QEBA?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_x86_dbg.def1997 ?GetPayload@Status@absl@@QBE?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z
Dsymbols_x64_dbg.def2003 ?GetPayload@Status@absl@@QEBA?AV?$optional@VCord@absl@@@2@Vstring_view@2@@Z