Home
last modified time | relevance | path

Searched refs:Unwrap (Results 1 – 25 of 86) sorted by relevance

1234

/external/webrtc/modules/
Dmodule_common_types_unittest.cc119 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
120 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
122 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
124 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
125 EXPECT_EQ(0xFFFF, unwrapper.Unwrap(0xFFFF)); in TEST()
126 EXPECT_EQ(0x10000, unwrapper.Unwrap(0)); in TEST()
127 EXPECT_EQ(0xFFFF, unwrapper.Unwrap(0xFFFF)); in TEST()
128 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
129 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
132 EXPECT_EQ(0xFFFF, unwrapper.Unwrap(0xFFFF)); in TEST()
[all …]
/external/webrtc/net/dcsctp/common/
Dsequence_numbers_test.cc23 TestSequence s0 = unwrapper.Unwrap(Wrapped(0)); in TEST()
24 TestSequence s1 = unwrapper.Unwrap(Wrapped(1)); in TEST()
25 TestSequence s2 = unwrapper.Unwrap(Wrapped(2)); in TEST()
26 TestSequence s3 = unwrapper.Unwrap(Wrapped(3)); in TEST()
59 TestSequence s0 = unwrapper.Unwrap(Wrapped(0x7FFE)); in TEST()
60 TestSequence s1 = unwrapper.Unwrap(Wrapped(0x7FFF)); in TEST()
61 TestSequence s2 = unwrapper.Unwrap(Wrapped(0x8000)); in TEST()
62 TestSequence s3 = unwrapper.Unwrap(Wrapped(0x8001)); in TEST()
95 TestSequence s0 = unwrapper.Unwrap(Wrapped(0xFFFE)); in TEST()
96 TestSequence s1 = unwrapper.Unwrap(Wrapped(0xFFFF)); in TEST()
[all …]
/external/webrtc/rtc_base/numerics/
Dsequence_number_util_unittest.cc217 EXPECT_EQ(123, unwrapper.Unwrap(123)); in TEST()
222 EXPECT_EQ(255, unwrapper.Unwrap(255)); in TEST()
223 EXPECT_EQ(256, unwrapper.Unwrap(0)); in TEST()
228 EXPECT_EQ(30, unwrapper.Unwrap(30)); in TEST()
229 EXPECT_EQ(36, unwrapper.Unwrap(3)); in TEST()
234 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
235 EXPECT_EQ(-2, unwrapper.Unwrap(254)); in TEST()
240 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
241 EXPECT_EQ(-2, unwrapper.Unwrap(31)); in TEST()
244 TEST(SeqNumUnwrapper, Unwrap) { in TEST() argument
[all …]
/external/webrtc/net/dcsctp/tx/
Doutstanding_data_test.cc43 unwrapper_.Unwrap(TSN(10)), in OutstandingDataTest()
44 unwrapper_.Unwrap(TSN(9)), in OutstandingDataTest()
86 buf_.HandleSack(unwrapper_.Unwrap(TSN(10)), {}, false); in TEST_F()
104 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), {}, false); in TEST_F()
123 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab, false); in TEST_F()
146 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab1, false).has_packet_loss); in TEST_F()
150 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab1, false).has_packet_loss); in TEST_F()
154 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab1, false).has_packet_loss); in TEST_F()
171 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab1, false).has_packet_loss); in TEST_F()
176 buf_.HandleSack(unwrapper_.Unwrap(TSN(9)), gab2, false).has_packet_loss); in TEST_F()
[all …]
Dretransmission_queue.cc87 tsn_unwrapper_.Unwrap(my_initial_tsn), in RetransmissionQueue()
88 tsn_unwrapper_.Unwrap(TSN(*my_initial_tsn - 1)), in RetransmissionQueue()
270 tsn_unwrapper_.Unwrap(sack.cumulative_tsn_ack()); in HandleSack()
608 tsn_unwrapper_.Unwrap(TSN(state.tx.next_tsn)), in RestoreFromState()
609 tsn_unwrapper_.Unwrap(TSN(state.tx.next_tsn - 1))); in RestoreFromState()
/external/vulkan-validation-layers/layers/generated/
Dlayer_chassis_dispatch.cpp58 … safe_struct->pAcquireSyncs[index0] = layer_data->Unwrap(safe_struct->pAcquireSyncs[index0]); in WrapPnextChainHandles()
63 … safe_struct->pReleaseSyncs[index0] = layer_data->Unwrap(safe_struct->pReleaseSyncs[index0]); in WrapPnextChainHandles()
74 … safe_struct->pAcquireSyncs[index0] = layer_data->Unwrap(safe_struct->pAcquireSyncs[index0]); in WrapPnextChainHandles()
79 … safe_struct->pReleaseSyncs[index0] = layer_data->Unwrap(safe_struct->pReleaseSyncs[index0]); in WrapPnextChainHandles()
88 safe_struct->image = layer_data->Unwrap(safe_struct->image); in WrapPnextChainHandles()
91 safe_struct->buffer = layer_data->Unwrap(safe_struct->buffer); in WrapPnextChainHandles()
98 safe_struct->image = layer_data->Unwrap(safe_struct->image); in WrapPnextChainHandles()
101 safe_struct->buffer = layer_data->Unwrap(safe_struct->buffer); in WrapPnextChainHandles()
108 safe_struct->swapchain = layer_data->Unwrap(safe_struct->swapchain); in WrapPnextChainHandles()
115 safe_struct->conversion = layer_data->Unwrap(safe_struct->conversion); in WrapPnextChainHandles()
[all …]
/external/webrtc/rtc_tools/py_event_log_analyzer/
Dmisc_test.py28 unwrapped_3 = misc.Unwrap(data, 3)
33 unwrapped_4 = misc.Unwrap(data, 4)
38 _ = misc.Unwrap(data, 4)
47 random_data_unwrapped_mod = misc.Unwrap(random_data, mod)
58 random_data_unwrapped_mod = misc.Unwrap(random_data, mod)
68 _ = misc.Unwrap(random_data, mod)
/external/webrtc/rtc_base/
Dtime_utils_unittest.cc74 TEST_F(TimestampWrapAroundHandlerTest, Unwrap) { in TEST_F() argument
78 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
83 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
88 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
94 ts, wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
100 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
105 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
110 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
116 wraparound_handler_.Unwrap(static_cast<uint32_t>(ts & 0xffffffff))); in TEST_F()
/external/webrtc/net/dcsctp/rx/
Dreassembly_queue.cc60 tsn_unwrapper_.Unwrap(TSN(*peer_initial_tsn - 1))), in ReassemblyQueue()
80 UnwrappedTSN unwrapped_tsn = tsn_unwrapper_.Unwrap(tsn); in Add()
94 tsn_unwrapper_.Unwrap( in Add()
136 UnwrappedTSN sla_tsn = tsn_unwrapper_.Unwrap(req.sender_last_assigned_tsn()); in ResetStreams()
137 UnwrappedTSN unwrapped_cum_tsn_ack = tsn_unwrapper_.Unwrap(cum_tsn_ack); in ResetStreams()
163 UnwrappedTSN unwrapped_cum_ack_tsn = tsn_unwrapper_.Unwrap(cum_ack_tsn); in MaybeResetStreamsDeferred()
164 UnwrappedTSN unwrapped_sla_tsn = tsn_unwrapper_.Unwrap( in MaybeResetStreamsDeferred()
257 UnwrappedTSN tsn = tsn_unwrapper_.Unwrap(forward_tsn.new_cumulative_tsn()); in Handle()
307 tsn_unwrapper_.Unwrap(TSN(state.rx.last_assembled_tsn)); in RestoreFromState()
Dtraditional_reassembly_streams.h89 : StreamBase(parent), next_ssn_(ssn_unwrapper_.Unwrap(next_ssn)) {} in StreamBase()
94 next_ssn_ = ssn_unwrapper_.Unwrap(SSN(0)); in Reset()
Dinterleaved_reassembly_streams.h68 next_mid_(mid_unwrapper_.Unwrap(next_mid)) {} in stream_id_()
73 next_mid_ = mid_unwrapper_.Unwrap(MID(0)); in Reset()
Ddata_tracker.cc129 UnwrappedTSN unwrapped_tsn = tsn_unwrapper_.Unwrap(tsn); in Observe()
221 UnwrappedTSN unwrapped_tsn = tsn_unwrapper_.Unwrap(new_cumulative_ack); in HandleForwardTsn()
384 tsn_unwrapper_.Unwrap(TSN(state.rx.last_cumulative_acked_tsn)); in RestoreFromState()
/external/golang-protobuf/internal/errors/
Dis_go112.go34 Unwrap() error
39 return u.Unwrap()
Derrors.go40 func (e *prefixError) Unwrap() error { func
62 func (e *wrapError) Unwrap() error { func
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dalerts.cc68 seq_num_unwrapper.Unwrap(packets[0].header.sequenceNumber); in AnalyzeStreamGaps()
71 capture_time_unwrapper.Unwrap(packets[0].header.timestamp); in AnalyzeStreamGaps()
79 int64_t seq_num = seq_num_unwrapper.Unwrap(packet.header.sequenceNumber); in AnalyzeStreamGaps()
87 capture_time_unwrapper.Unwrap(packet.header.timestamp); in AnalyzeStreamGaps()
/external/llvm/include/llvm/IR/
DValueMap.h253 KeyT Unwrap() const { return cast_or_null<KeySansPointerT>(getValPtr()); }
262 Config::onDelete(Copy.Map->Data, Copy.Unwrap()); // May destroy *this.
277 Config::onRAUW(Copy.Map->Data, Copy.Unwrap(), typed_new_key);
302 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
341 ValueTypeProxy Result = {I->first.Unwrap(), I->second};
391 ValueTypeProxy Result = {I->first.Unwrap(), I->second};
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h258 KeyT Unwrap() const { return cast_or_null<KeySansPointerT>(getValPtr()); }
267 Config::onDelete(Copy.Map->Data, Copy.Unwrap()); // May destroy *this.
283 Config::onRAUW(Copy.Map->Data, Copy.Unwrap(), typed_new_key);
310 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
354 ValueTypeProxy Result = {I->first.Unwrap(), I->second};
406 ValueTypeProxy Result = {I->first.Unwrap(), I->second};
/external/webrtc/system_wrappers/source/
Drtp_to_ntp_estimator.cc78 int64_t unwrapped_rtp_timestamp = unwrapper_.Unwrap(rtp_timestamp); in UpdateMeasurements()
139 static_cast<double>(unwrapper_.Unwrap(rtp_timestamp)) * params_->slope + in Estimate()
/external/webrtc/modules/video_coding/
Drtp_vp8_ref_finder.cc27 int64_t unwrapped_tl0 = tl0_unwrapper_.Unwrap(codec_header.tl0PicIdx & 0xFF); in ManageFrame()
239 frame->references[i] = unwrapper_.Unwrap(frame->references[i]); in UnwrapPictureIds()
240 frame->SetId(unwrapper_.Unwrap(frame->Id())); in UnwrapPictureIds()
Drtp_seq_num_only_ref_finder.cc91 frame->references[0] = rtp_seq_num_unwrapper_.Unwrap(last_picture_id_gop); in ManageFrameInternal()
99 frame->SetId(rtp_seq_num_unwrapper_.Unwrap(frame->Id())); in ManageFrameInternal()
/external/cronet/base/functional/
Dbind_internal.h396 decltype(auto) Unwrap(T&& o) {
397 return Unwrapper<T>::Unwrap(std::forward<T>(o));
927 Unwrap(std::get<indices>(std::forward<BoundArgsTuple>(bound)))...,
948 const auto& target = Unwrap(std::get<0>(bound));
955 Unwrap(std::get<index_tail>(std::forward<BoundArgsTuple>(bound)))...,
1296 using Unwrapped = decltype(Unwrap(std::declval<ForwardType>()));
1303 using Unwrapped = decltype(Unwrap(std::declval<ForwardType>()));
1737 static T&& Unwrap(T&& o) {
1745 static auto Unwrap(
1754 static T& Unwrap(
[all …]
/external/libchrome/base/
Dbind_internal.h171 decltype(auto) Unwrap(T&& o) { in decltype()
172 return Unwrapper<T>::Unwrap(std::forward<T>(o)); in decltype()
682 Unwrap(std::get<indices>(std::forward<BoundArgsTuple>(bound)))...,
881 static T&& Unwrap(T&& o) {
888 static T* Unwrap(const internal::UnretainedWrapper<T>& o) { return o.get(); }
893 static const T& Unwrap(const internal::ConstRefWrapper<T>& o) {
900 static T* Unwrap(const internal::RetainedRefWrapper<T>& o) { return o.get(); }
905 static T* Unwrap(const internal::OwnedWrapper<T>& o) { return o.get(); }
910 static T Unwrap(const internal::PassedWrapper<T>& o) { return o.Take(); }
Dbind_unittest.cc1450 EXPECT_EQ(&i, internal::Unwrap(unretained)); in TEST_F()
1451 EXPECT_EQ(&i, internal::Unwrap(std::move(unretained))); in TEST_F()
1457 EXPECT_EQ(&p, &internal::Unwrap(const_ref)); in TEST_F()
1458 EXPECT_EQ(&p, &internal::Unwrap(std::move(const_ref))); in TEST_F()
1464 EXPECT_EQ(p.get(), internal::Unwrap(retained_ref)); in TEST_F()
1465 EXPECT_EQ(p.get(), internal::Unwrap(std::move(retained_ref))); in TEST_F()
1471 EXPECT_EQ(p, internal::Unwrap(owned)); in TEST_F()
1472 EXPECT_EQ(p, internal::Unwrap(std::move(owned))); in TEST_F()
1478 EXPECT_EQ(p, internal::Unwrap(passed).get()); in TEST_F()
1481 EXPECT_EQ(p, internal::Unwrap(Passed(WrapUnique(p))).get()); in TEST_F()
/external/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h539 static const T& Unwrap(const T& v) { return v; } in Unwrap() function
541 static const T& Unwrap(std::reference_wrapper<T> v) { return v; } in Unwrap() function
549 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
553 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
557 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter.cc95 seq_num_unwrapper_.Unwrap(packet_info.transport_sequence_number); in AddPacket()
118 seq_num_unwrapper_.Unwrap(sent_packet.packet_id); in ProcessSentPacket()
217 int64_t seq_num = seq_num_unwrapper_.Unwrap(packet.sequence_number()); in ProcessTransportFeedbackInner()

1234