Home
last modified time | relevance | path

Searched refs:SetExtension (Results 1 – 25 of 49) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc809 message->SetExtension(unittest::optional_int32_extension_lite, 101); in SetAllExtensions()
810 message->SetExtension(unittest::optional_int64_extension_lite, 102); in SetAllExtensions()
811 message->SetExtension(unittest::optional_uint32_extension_lite, 103); in SetAllExtensions()
812 message->SetExtension(unittest::optional_uint64_extension_lite, 104); in SetAllExtensions()
813 message->SetExtension(unittest::optional_sint32_extension_lite, 105); in SetAllExtensions()
814 message->SetExtension(unittest::optional_sint64_extension_lite, 106); in SetAllExtensions()
815 message->SetExtension(unittest::optional_fixed32_extension_lite, 107); in SetAllExtensions()
816 message->SetExtension(unittest::optional_fixed64_extension_lite, 108); in SetAllExtensions()
817 message->SetExtension(unittest::optional_sfixed32_extension_lite, 109); in SetAllExtensions()
818 message->SetExtension(unittest::optional_sfixed64_extension_lite, 110); in SetAllExtensions()
[all …]
Dtest_util.inc952 message->SetExtension(UNITTEST::optional_int32_extension, 101);
953 message->SetExtension(UNITTEST::optional_int64_extension, 102);
954 message->SetExtension(UNITTEST::optional_uint32_extension, 103);
955 message->SetExtension(UNITTEST::optional_uint64_extension, 104);
956 message->SetExtension(UNITTEST::optional_sint32_extension, 105);
957 message->SetExtension(UNITTEST::optional_sint64_extension, 106);
958 message->SetExtension(UNITTEST::optional_fixed32_extension, 107);
959 message->SetExtension(UNITTEST::optional_fixed64_extension, 108);
960 message->SetExtension(UNITTEST::optional_sfixed32_extension, 109);
961 message->SetExtension(UNITTEST::optional_sfixed64_extension, 110);
[all …]
Dextension_set_unittest.cc148 message.SetExtension(unittest::optional_int64_extension, original_value); in TEST()
448 message1->SetExtension(unittest::optional_int32_extension, 1); in TEST()
449 message2->SetExtension(unittest::optional_int32_extension, 2); in TEST()
454 message1->SetExtension(unittest::optional_int32_extension, 101); in TEST()
455 message2->SetExtension(unittest::optional_int32_extension, 101); in TEST()
744 message.SetExtension(unittest::optional_##type##_extension, value); \ in TEST()
768 message.SetExtension(unittest::optional_nested_enum_extension, in TEST()
783 message.SetExtension(unittest::optional_string_extension, s); in TEST()
1158 message.SetExtension(unittest::optional_foreign_enum_extension, in TEST()
Dreflection_ops_unittest.cc131 message2.SetExtension( in TEST()
137 message2.SetExtension( in TEST()
140 message.SetExtension(unittest::optional_string_extension, "something else"); in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_unittest.cc194 EXPECT_TRUE(packet.SetExtension<ColorSpaceExtension>(kColorSpace)); in TestCreateAndParseColorSpaceExtension()
222 packet.SetExtension<TransmissionOffset>(kTimeOffset); in TEST()
235 packet.SetExtension<TransmissionOffset>(kTimeOffset); in TEST()
236 packet.SetExtension<AudioLevel>(kVoiceActive, kAudioLevel); in TEST()
253 ASSERT_TRUE(packet.SetExtension<PlayoutDelayLimits>(playoutDelay)); in TEST()
254 packet.SetExtension<TransmissionOffset>(kTimeOffset); in TEST()
255 packet.SetExtension<AudioLevel>(kVoiceActive, kAudioLevel); in TEST()
271 packet.SetExtension<TransmissionOffset>(kTimeOffset); in TEST()
272 packet.SetExtension<AudioLevel>(kVoiceActive, kAudioLevel); in TEST()
277 ASSERT_TRUE(packet.SetExtension<PlayoutDelayLimits>(playoutDelay)); in TEST()
[all …]
Drtp_packet_to_send.h78 SetExtension<VideoTimingExtension>( in set_packetization_finish_time_ms()
84 SetExtension<VideoTimingExtension>( in set_pacer_exit_time_ms()
90 SetExtension<VideoTimingExtension>( in set_network_time_ms()
96 SetExtension<VideoTimingExtension>( in set_network2_time_ms()
Drtp_sender_video.cc276 packet->SetExtension<ColorSpaceExtension>(video_header.color_space.value()); in AddRtpHeaderExtensions()
295 packet->SetExtension<VideoOrientation>(video_header.rotation); in AddRtpHeaderExtensions()
301 packet->SetExtension<VideoContentTypeExtension>(video_header.content_type); in AddRtpHeaderExtensions()
305 packet->SetExtension<VideoTimingExtension>(video_header.video_timing); in AddRtpHeaderExtensions()
309 packet->SetExtension<PlayoutDelayLimits>(current_playout_delay_); in AddRtpHeaderExtensions()
313 packet->SetExtension<AbsoluteCaptureTimeExtension>(*absolute_capture_time); in AddRtpHeaderExtensions()
350 extension_is_set = packet->SetExtension<RtpDependencyDescriptorExtension>( in AddRtpHeaderExtensions()
384 packet->SetExtension<RtpGenericFrameDescriptorExtension00>( in AddRtpHeaderExtensions()
Drtp_packet.h126 bool SetExtension(const Values&...);
229 bool RtpPacket::SetExtension(const Values&... values) { in SetExtension() function
Drtp_sender_audio.cc270 packet->SetExtension<AudioLevel>( in SendAudio()
287 packet->SetExtension<AbsoluteCaptureTimeExtension>(*absolute_capture_time); in SendAudio()
/external/golang-protobuf/proto/
Dextensions_test.go51 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
90 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
101 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
112 if err := proto.SetExtension(msg, extdesc3, ext3); err != nil {
177 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
188 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
235 if err := proto.SetExtension(msg, pb.E_Ext_More, ext0); err != nil {
374 if err := proto.SetExtension(msg, test.ext, setTo(test)); err != nil {
422 if err := proto.SetExtension(nilMsg, desc, nil); !isNotExtendable(err) {
442 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
[all …]
Dequal_test.go61 if err := SetExtension(messageWithExtension1a, pb.E_Ext_More, ext1); err != nil {
66 if err := SetExtension(messageWithExtension1b, pb.E_Ext_More, ext1); err != nil {
79 if err := SetExtension(messageWithExtension2, pb.E_Ext_More, ext2); err != nil {
83 if err := SetExtension(messageWithInt32Extension1, pb.E_Ext_Number, Int32(23)); err != nil {
86 if err := SetExtension(messageWithInt32Extension1, pb.E_Ext_Number, Int32(24)); err != nil {
Ddiscard_test.go115 proto.SetExtension(m, pb.E_Ext_More, &pb.Ext{
126 proto.SetExtension(m, pb.E_Ext_More, &pb.Ext{Data: proto.String("extension")})
Dtext_parser_test.go54 SetExtension(msg, E_Ext_More, &Ext{
64 SetExtension(msg, E_Ext_Text, String("Hello, world!"))
65 SetExtension(msg, E_Ext_Number, Int32(1729))
73 if err := SetExtension(msg, E_Greeting, []string{"bula", "hola"}); err != nil {
Dclone_test.go67 if err := proto.SetExtension(cloneTestMessage, pb.E_Ext_More, ext); err != nil {
70 if err := proto.SetExtension(cloneTestMessage, pb.E_Ext_Text, proto.String("hello")); err != nil {
73 if err := proto.SetExtension(cloneTestMessage, pb.E_Greeting, []string{"one", "two"}); err != nil {
Dsize_test.go50 …if err := SetExtension(messageWithExtension1, pb.E_Ext_More, &pb.Ext{Data: String("Abbott")}); err…
53 …if err := SetExtension(messageWithExtension3, pb.E_Ext_More, &pb.Ext{Data: String("Costello")}); e…
Dtext_test.go105 if err := proto.SetExtension(msg, pb.E_Ext_More, ext); err != nil {
109 if err := proto.SetExtension(msg, pb.E_Greeting, greetings); err != nil {
482 proto.SetExtension(any, pb.E_Ext_Text, proto.String("bar"))
/external/webrtc/logging/rtc_event_log/
Drtc_event_log2rtp_dump.cc129 reconstructed_packet.SetExtension<webrtc::TransmissionOffset>( in ConvertRtpPacket()
132 reconstructed_packet.SetExtension<webrtc::AbsoluteSendTime>( in ConvertRtpPacket()
135 reconstructed_packet.SetExtension<webrtc::TransportSequenceNumber>( in ConvertRtpPacket()
138 reconstructed_packet.SetExtension<webrtc::AudioLevel>( in ConvertRtpPacket()
142 reconstructed_packet.SetExtension<webrtc::VideoOrientation>( in ConvertRtpPacket()
145 reconstructed_packet.SetExtension<webrtc::VideoContentTypeExtension>( in ConvertRtpPacket()
148 reconstructed_packet.SetExtension<webrtc::VideoTimingExtension>( in ConvertRtpPacket()
/external/golang-protobuf/protoc-gen-go/testdata/
Dextension_test.go53 err := proto.SetExtension(bm, user.E_LoudMessage_Volume, vol)
91 err := proto.SetExtension(bm, user.E_LoginMessage_UserMessage, um)
128 err := proto.SetExtension(bm, user.E_Width, width)
163 err := proto.SetExtension(osm, user.E_OldStyleParcel_MessageSetExtension, osp)
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs148 void SetExtension(IMessage message, object value); in SetExtension() method
256 public void SetExtension(IMessage message, object value) in SetExtension() method in Google.Protobuf.Reflection.ReflectionUtil.ExtensionReflectionHelper
267 extensionMessage.SetExtension(extension as Extension<T1, T3>, (T3)value); in SetExtension()
DExtensionAccessor.cs66 helper.SetExtension(message, value); in SetValue()
/external/webrtc/video/
Drtp_video_stream_receiver2_unittest.cc301 packet_to_send.SetExtension<ColorSpaceExtension>(color_space_)); in TEST_F()
397 rtp_packet.SetExtension<AbsoluteCaptureTimeExtension>( in TEST_F()
431 rtp_packet.SetExtension<AbsoluteCaptureTimeExtension>( in TEST_F()
792 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
833 ASSERT_TRUE(first_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
850 ASSERT_TRUE(second_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
891 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
926 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
983 ASSERT_TRUE(rtp_packet.SetExtension<RtpDependencyDescriptorExtension>( in InjectPacketWith()
1198 EXPECT_TRUE(packet_to_send.SetExtension<PlayoutDelayLimits>( in TEST_P()
Drtp_video_stream_receiver_unittest.cc296 packet_to_send.SetExtension<ColorSpaceExtension>(color_space_)); in TEST_F()
392 rtp_packet.SetExtension<AbsoluteCaptureTimeExtension>( in TEST_F()
426 rtp_packet.SetExtension<AbsoluteCaptureTimeExtension>( in TEST_F()
785 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
826 ASSERT_TRUE(first_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
843 ASSERT_TRUE(second_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
884 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
919 ASSERT_TRUE(rtp_packet.SetExtension<RtpGenericFrameDescriptorExtension00>( in TEST_F()
976 ASSERT_TRUE(rtp_packet.SetExtension<RtpDependencyDescriptorExtension>( in InjectPacketWith()
1191 EXPECT_TRUE(packet_to_send.SetExtension<PlayoutDelayLimits>( in TEST_P()
/external/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs61 void SetExtension<TValue>(Extension<T, TValue> extension, TValue value); in SetExtension() method
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc126 message.SetExtension(protobuf_unittest::void_, 123); in TEST()
/external/webrtc/modules/rtp_rtcp/source/deprecated/
Ddeprecated_rtp_sender_egress.cc47 if (!packet->SetExtension<TransportSequenceNumber>( in EnqueuePackets()
151 packet->SetExtension<TransmissionOffset>(kTimestampTicksPerMs * diff_ms); in SendPacket()
154 packet->SetExtension<AbsoluteSendTime>( in SendPacket()

12