Home
last modified time | relevance | path

Searched refs:GetExtension (Results 1 – 25 of 68) sorted by relevance

123

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc1026 message.GetExtension(unittest::optionalgroup_extension_lite).has_a()); in ExpectAllExtensionsSet()
1028 message.GetExtension(unittest::optional_nested_message_extension_lite) in ExpectAllExtensionsSet()
1031 message.GetExtension(unittest::optional_foreign_message_extension_lite) in ExpectAllExtensionsSet()
1034 message.GetExtension(unittest::optional_import_message_extension_lite) in ExpectAllExtensionsSet()
1038 .GetExtension(unittest::optional_public_import_message_extension_lite) in ExpectAllExtensionsSet()
1041 message.GetExtension(unittest::optional_lazy_message_extension_lite) in ExpectAllExtensionsSet()
1052 EXPECT_EQ(101, message.GetExtension(unittest::optional_int32_extension_lite)); in ExpectAllExtensionsSet()
1053 EXPECT_EQ(102, message.GetExtension(unittest::optional_int64_extension_lite)); in ExpectAllExtensionsSet()
1055 message.GetExtension(unittest::optional_uint32_extension_lite)); in ExpectAllExtensionsSet()
1057 message.GetExtension(unittest::optional_uint64_extension_lite)); in ExpectAllExtensionsSet()
[all …]
Dtest_util.inc1187 EXPECT_TRUE(message.GetExtension(UNITTEST::optionalgroup_extension).has_a());
1188 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_nested_message_extension)
1190 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_foreign_message_extension)
1192 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_import_message_extension)
1195 message.GetExtension(UNITTEST::optional_public_import_message_extension)
1198 message.GetExtension(UNITTEST::optional_lazy_message_extension).has_bb());
1207 EXPECT_EQ(101, message.GetExtension(UNITTEST::optional_int32_extension));
1208 EXPECT_EQ(102, message.GetExtension(UNITTEST::optional_int64_extension));
1209 EXPECT_EQ(103, message.GetExtension(UNITTEST::optional_uint32_extension));
1210 EXPECT_EQ(104, message.GetExtension(UNITTEST::optional_uint64_extension));
[all …]
Dreflection_ops_unittest.cc133 message.GetExtension(unittest::optional_int32_extension)); in TEST()
139 message.GetExtension(unittest::optional_string_extension)); in TEST()
145 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST()
146 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST()
236 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
238 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
241 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
243 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
317 EXPECT_EQ(1, message.GetExtension(unittest::optional_nested_message_extension) in TEST()
321 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST()
[all …]
Ddescriptor_unittest.cc2990 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST()
2992 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST()
2994 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST()
2996 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST()
2997 EXPECT_EQ(-99, oneof->options().GetExtension(protobuf_unittest::oneof_opt1)); in TEST()
2998 EXPECT_EQ(-789, enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST()
2999 EXPECT_EQ(123, enm->value(1)->options().GetExtension( in TEST()
3002 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST()
3004 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST()
3016 EXPECT_EQ(false, options->GetExtension(protobuf_unittest::bool_opt)); in TEST()
[all …]
Dextension_set_unittest.cc78 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
80 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
83 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
85 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
114 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
116 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
119 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
121 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
136 message.GetExtension(unittest::optional_int64_extension); in TEST()
141 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST()
[all …]
/external/webrtc/test/fuzzers/
Drtp_packet_fuzzer.cc71 packet.GetExtension<TransmissionOffset>(&offset); in FuzzOneInput()
76 packet.GetExtension<AudioLevel>(&voice_activity, &audio_level); in FuzzOneInput()
80 packet.GetExtension<AbsoluteSendTime>(&sendtime); in FuzzOneInput()
84 packet.GetExtension<AbsoluteCaptureTimeExtension>(&extension); in FuzzOneInput()
89 packet.GetExtension<VideoOrientation>(&rotation); in FuzzOneInput()
93 packet.GetExtension<TransportSequenceNumber>(&seqnum); in FuzzOneInput()
98 packet.GetExtension<TransportSequenceNumberV2>(&seqnum, in FuzzOneInput()
104 packet.GetExtension<PlayoutDelayLimits>(&playout); in FuzzOneInput()
109 packet.GetExtension<VideoContentTypeExtension>(&content_type); in FuzzOneInput()
113 packet.GetExtension<VideoTimingExtension>(&timing); in FuzzOneInput()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_received.cc51 GetExtension<TransmissionOffset>( in GetHeader()
54 GetExtension<AbsoluteSendTime>(&header->extension.absoluteSendTime); in GetHeader()
56 GetExtension<AbsoluteCaptureTimeExtension>(); in GetHeader()
58 GetExtension<TransportSequenceNumberV2>( in GetHeader()
61 GetExtension<TransportSequenceNumber>( in GetHeader()
63 header->extension.hasAudioLevel = GetExtension<AudioLevel>( in GetHeader()
66 GetExtension<VideoOrientation>(&header->extension.videoRotation); in GetHeader()
68 GetExtension<VideoContentTypeExtension>( in GetHeader()
71 GetExtension<VideoTimingExtension>(&header->extension.video_timing); in GetHeader()
72 GetExtension<RtpStreamId>(&header->extension.stream_id); in GetHeader()
[all …]
Drtp_packet_unittest.cc201 EXPECT_TRUE(parsed.GetExtension<ColorSpaceExtension>(&parsed_color_space)); in TestCreateAndParseColorSpaceExtension()
353 EXPECT_TRUE(parsed.GetExtension<RtpMid>(&read)); in TEST()
472 EXPECT_TRUE(packet.GetExtension<TransmissionOffset>(&time_offset)); in TEST()
486 auto time_offset = packet.GetExtension<TransmissionOffset>(); in TEST()
492 EXPECT_FALSE(packet.GetExtension<RtpStreamId>().has_value()); in TEST()
537 EXPECT_FALSE(packet.GetExtension<TransmissionOffset>(&time_offset)); in TEST()
563 EXPECT_FALSE(packet.GetExtension<TransmissionOffset>(&time_offset)); in TEST()
573 EXPECT_TRUE(packet.GetExtension<TransmissionOffset>(&time_offset)); in TEST()
577 EXPECT_TRUE(packet.GetExtension<AudioLevel>(&voice_active, &audio_level)); in TEST()
605 EXPECT_TRUE(packet.GetExtension<TransmissionOffset>(&time_offset)); in TEST()
[all …]
Drtp_sender_video_unittest.cc212 transport_.last_sent_packet().GetExtension<VideoOrientation>(&rotation)); in TEST_P()
237 EXPECT_TRUE(transport_.last_sent_packet().GetExtension<VideoTimingExtension>( in TEST_P()
264 transport_.last_sent_packet().GetExtension<VideoOrientation>(&rotation)); in TEST_P()
287 transport_.last_sent_packet().GetExtension<VideoOrientation>(&rotation)); in TEST_P()
523 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
550 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
589 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
624 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
662 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
690 .GetExtension<RtpDependencyDescriptorExtension>( in TEST_P()
[all …]
Drtp_packet.h116 bool GetExtension(FirstValue, Values...) const;
119 absl::optional<typename Extension::value_type> GetExtension() const;
207 bool RtpPacket::GetExtension(FirstValue first, Values... values) const { in GetExtension() function
215 absl::optional<typename Extension::value_type> RtpPacket::GetExtension() const { in GetExtension() function
Drtp_sender_unittest.cc676 ASSERT_TRUE(packet.GetExtension<TransportSequenceNumber>(&transport_seq_no)); in TEST_P()
872 transport_.last_sent_packet().GetExtension<TransportSequenceNumber>( in TEST_P()
907 EXPECT_TRUE(transport_.last_sent_packet().GetExtension<VideoTimingExtension>( in TEST_P()
945 EXPECT_TRUE(transport_.last_sent_packet().GetExtension<VideoTimingExtension>( in TEST_P()
971 transport_.last_sent_packet().GetExtension<VideoTimingExtension>(); in TEST_P()
1495 ASSERT_TRUE(packet.GetExtension<RtpMid>(&mid)); in TEST_P()
1510 ASSERT_TRUE(packet.GetExtension<RtpStreamId>(&rid)); in TEST_P()
1524 ASSERT_TRUE(packet.GetExtension<RtpStreamId>(&rid)); in TEST_P()
1533 ASSERT_TRUE(rtx_packet.GetExtension<RepairedRtpStreamId>(&rid)); in TEST_P()
1557 ASSERT_TRUE(first_packet.GetExtension<RtpMid>(&mid)); in TEST_P()
[all …]
Drtp_sender_audio_unittest.cc127 EXPECT_TRUE(transport_.last_sent_packet().GetExtension<AudioLevel>( in TEST_F()
165 .GetExtension<AbsoluteCaptureTimeExtension>(); in TEST_F()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.cpp27 ASSERT(m_pDocument->GetExtension()); in CPDFXFA_Page()
58 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetXFAPageView()
64 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in LoadPage()
90 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageWidth()
112 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageHeight()
160 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetDisplayMatrix()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs147 object GetExtension(IMessage message); in GetExtension() method
210 public object GetExtension(IMessage message) in GetExtension() method in Google.Protobuf.Reflection.ReflectionUtil.ExtensionReflectionHelper
221 return extensionMessage.GetExtension(extension as Extension<T1, T3>); in GetExtension()
225 return extensionMessage.GetExtension(extension as RepeatedExtension<T1, T3>); in GetExtension()
294 extensionMessage.GetExtension(extension as RepeatedExtension<T1, T3>).Clear(); in ClearExtension()
DExtensionAccessor.cs61 return helper.GetExtension(message); in GetValue()
/external/golang-protobuf/proto/
Dextensions_test.go74 _, err := proto.GetExtension(msg, pb.E_Ext_More)
132 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc1.Field}); err != nil {
146 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc2.Field}); err != nil {
162 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc3.Field}); err != nil {
223 ext1, err := proto.GetExtension(m, pb.E_Ext_More)
227 ext2, err := proto.GetExtension(m, pb.E_Ext_More)
311 val, err := proto.GetExtension(msg, test.ext)
394 if got, err := proto.GetExtension(nil, pb.E_Ext_More); err == nil {
448 e, err := proto.GetExtension(msg, pb.E_Ext_More)
459 if _, err = proto.GetExtension(msg, pb.E_Ext_More); err != proto.ErrMissingExtension {
[all …]
Dclone_test.go96 x1, err := proto.GetExtension(m, pb.E_Ext_More)
100 x2, err := proto.GetExtension(m, pb.E_Ext_Text)
104 x3, err := proto.GetExtension(m, pb.E_Greeting)
/external/golang-protobuf/protoc-gen-go/testdata/
Dextension_test.go68 vol_out, err := proto.GetExtension(bm_new, user.E_LoudMessage_Volume)
106 um_out, err := proto.GetExtension(bm_new, user.E_LoginMessage_UserMessage)
143 width_out, err := proto.GetExtension(bm_new, user.E_Width)
187 osp_out, err := proto.GetExtension(osm, user.E_OldStyleParcel_MessageSetExtension)
/external/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs45 TValue GetExtension<TValue>(Extension<T, TValue> extension); in GetExtension() method
51 RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetExtension() method
/external/webrtc/call/
Drtp_demuxer.cc80 if (packet.GetExtension<RtpMid>(&mid)) { in DescribePacket()
84 if (packet.GetExtension<RtpStreamId>(&rsid)) { in DescribePacket()
88 if (packet.GetExtension<RepairedRtpStreamId>(&rrsid)) { in DescribePacket()
262 bool has_mid = use_mid_ && packet.GetExtension<RtpMid>(&packet_mid); in ResolveSink()
263 bool has_rsid = packet.GetExtension<RepairedRtpStreamId>(&packet_rsid); in ResolveSink()
265 has_rsid = packet.GetExtension<RtpStreamId>(&packet_rsid); in ResolveSink()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc99 EXPECT_EQ(123, message.GetExtension(ExtensionMessage::repeated_int32_ext, 0)); in TEST()
127 EXPECT_EQ(123, message.GetExtension(protobuf_unittest::void_)); in TEST()
/external/webrtc/video/
Drtp_video_stream_receiver2.cc365 if (!rtp_packet.GetExtension<RtpDependencyDescriptorExtension>( in ParseGenericDependenciesExtension()
431 if (!rtp_packet.GetExtension<RtpGenericFrameDescriptorExtension00>( in ParseGenericDependenciesExtension()
495 rtp_packet.GetExtension<VideoOrientation>(&video_header.rotation); in OnReceivedPayloadData()
496 rtp_packet.GetExtension<VideoContentTypeExtension>( in OnReceivedPayloadData()
498 rtp_packet.GetExtension<VideoTimingExtension>(&video_header.video_timing); in OnReceivedPayloadData()
503 rtp_packet.GetExtension<PlayoutDelayLimits>(&video_header.playout_delay); in OnReceivedPayloadData()
515 video_header.color_space = rtp_packet.GetExtension<ColorSpaceExtension>(); in OnReceivedPayloadData()
650 if (packet.GetExtension<TransmissionOffset>(&time_offset)) { in OnRtpPacket()
654 if (packet.GetExtension<AbsoluteSendTime>(&send_time)) { in OnRtpPacket()
Drtp_video_stream_receiver.cc397 if (!rtp_packet.GetExtension<RtpDependencyDescriptorExtension>( in ParseGenericDependenciesExtension()
463 if (!rtp_packet.GetExtension<RtpGenericFrameDescriptorExtension00>( in ParseGenericDependenciesExtension()
527 rtp_packet.GetExtension<VideoOrientation>(&video_header.rotation); in OnReceivedPayloadData()
528 rtp_packet.GetExtension<VideoContentTypeExtension>( in OnReceivedPayloadData()
530 rtp_packet.GetExtension<VideoTimingExtension>(&video_header.video_timing); in OnReceivedPayloadData()
535 rtp_packet.GetExtension<PlayoutDelayLimits>(&video_header.playout_delay); in OnReceivedPayloadData()
547 video_header.color_space = rtp_packet.GetExtension<ColorSpaceExtension>(); in OnReceivedPayloadData()
683 if (packet.GetExtension<TransmissionOffset>(&time_offset)) { in OnRtpPacket()
687 if (packet.GetExtension<AbsoluteSendTime>(&send_time)) { in OnRtpPacket()
/external/nos/host/generic/libnos/generator/
Dmain.cpp171 vars["app_id"] = "APP_ID_" + service.options().GetExtension(app_id); in GenerateClientHeader()
226 const uint32_t max_request_size = service.options().GetExtension(request_buffer_size); in GenerateClientSource()
227 const uint32_t max_response_size = service.options().GetExtension(response_buffer_size); in GenerateClientSource()
/external/pdfium/testing/fuzzers/
Dpdf_formcalc_context_fuzzer.cc519 CPDFDocumentFromFPDFDocument(doc)->GetExtension()); in OnRenderFinished()

123