Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc58 static bool IsSequenceNumberSorted(const Packets& packets) { in IsSequenceNumberSorted() argument
59 PacketsConstIt last_it = packets.begin(); in IsSequenceNumberSorted()
60 for (PacketsConstIt it = last_it; it != packets.end(); ++it) { in IsSequenceNumberSorted()
71 Packets packets; in TEST() local
73 EXPECT_TRUE(IsTimeSorted(packets)); in TEST()
75 packets.push_back(Packet(100, 0)); in TEST()
76 EXPECT_TRUE(IsTimeSorted(packets)); in TEST()
78 packets.push_back(Packet(110, 0)); in TEST()
79 EXPECT_TRUE(IsTimeSorted(packets)); in TEST()
82 packets.push_back(Packet(100, 0)); in TEST()
[all …]
Dbwe_test.cc313 Packets packets; in RunFor() local
316 it->RunFor(simulation_interval_ms_, time_now_ms_, &packets); in RunFor()
320 if (!packets.empty()) { in RunFor()
322 packets.splice(packets.begin(), previous_packets_, in RunFor()
324 ASSERT_TRUE(IsTimeSorted(packets)); in RunFor()
325 packets.erase(packets.begin()); in RunFor()
327 ASSERT_LE(packets.front().send_time_us(), time_now_ms_ * 1000); in RunFor()
328 ASSERT_LE(packets.back().send_time_us(), time_now_ms_ * 1000); in RunFor()
330 ASSERT_TRUE(IsTimeSorted(packets)); in RunFor()
333 for (PacketsConstIt it = packets.begin(); it != packets.end(); ++it) { in RunFor()
/external/speex/libspeex/
Djitter.c145 JitterBufferPacket packets[SPEEX_JITTER_MAX_BUFFER_SIZE]; /**< Packets stored in the buffer */ member
280 jitter->packets[i].data=NULL; in jitter_buffer_init()
302 if (jitter->packets[i].data) in jitter_buffer_reset()
305 jitter->destroy(jitter->packets[i].data); in jitter_buffer_reset()
307 speex_free(jitter->packets[i].data); in jitter_buffer_reset()
308 jitter->packets[i].data = NULL; in jitter_buffer_reset()
380 …if (jitter->packets[i].data && LE32(jitter->packets[i].timestamp + jitter->packets[i].span, jitter… in jitter_buffer_put()
384 jitter->destroy(jitter->packets[i].data); in jitter_buffer_put()
386 speex_free(jitter->packets[i].data); in jitter_buffer_put()
387 jitter->packets[i].data = NULL; in jitter_buffer_put()
[all …]
/external/eigen/test/eigen2/
Deigen2_packetmath.cpp51 EIGEN_ALIGN_128 Packet packets[PacketSize*2]; in packetmath() local
76 packets[0] = ei_pload(data1); in packetmath()
77 packets[1] = ei_pload(data1+PacketSize); in packetmath()
78 if (offset==0) ei_palign<0>(packets[0], packets[1]); in packetmath()
79 else if (offset==1) ei_palign<1>(packets[0], packets[1]); in packetmath()
80 else if (offset==2) ei_palign<2>(packets[0], packets[1]); in packetmath()
81 else if (offset==3) ei_palign<3>(packets[0], packets[1]); in packetmath()
82 ei_pstore(data2, packets[0]); in packetmath()
118 packets[j] = ei_pload(data1+j*PacketSize); in packetmath()
120 ei_pstore(data2, ei_preduxp(packets)); in packetmath()
/external/chromium_org/media/cast/net/pacing/
Dpaced_sender.cc96 bool PacedSender::SendPackets(const SendPacketVector& packets) { in SendPackets() argument
97 if (packets.empty()) { in SendPackets()
100 const bool high_priority = IsHighPriority(packets.begin()->first); in SendPackets()
101 for (size_t i = 0; i < packets.size(); i++) { in SendPackets()
102 DCHECK(IsHighPriority(packets[i].first) == high_priority); in SendPackets()
104 priority_packet_list_[packets[i].first] = in SendPackets()
105 make_pair(PacketType_Normal, packets[i].second); in SendPackets()
107 packet_list_[packets[i].first] = in SendPackets()
108 make_pair(PacketType_Normal, packets[i].second); in SendPackets()
144 bool PacedSender::ResendPackets(const SendPacketVector& packets, in ResendPackets() argument
[all …]
Dpaced_sender_unittest.cc90 SendPacketVector packets; in CreateSendPacketVector() local
109 packets.push_back(std::make_pair(key, packet)); in CreateSendPacketVector()
111 return packets; in CreateSendPacketVector()
142 SendPacketVector packets = CreateSendPacketVector(kSize1, 1, true); in TEST_F() local
144 EXPECT_TRUE(paced_sender_->SendPackets(packets)); in TEST_F()
145 EXPECT_TRUE(paced_sender_->ResendPackets(packets, DedupInfo())); in TEST_F()
156 SendPacketVector packets = CreateSendPacketVector(kSize1, in TEST_F() local
161 EXPECT_TRUE(paced_sender_->SendPackets(packets)); in TEST_F()
453 SendPacketVector packets = CreateSendPacketVector(kSize1, 1, true); in TEST_F() local
454 EXPECT_TRUE(paced_sender_->SendPackets(packets)); in TEST_F()
[all …]
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
DTranscript.java39 private List<Packet> packets; field in Transcript
48 this.packets = new ArrayList<Packet>(); in Transcript()
58 public Transcript(String sessionID, List<Packet> packets) { in Transcript() argument
60 this.packets = packets; in Transcript()
79 return Collections.unmodifiableList(packets); in getPackets()
89 for (Iterator<Packet> it=packets.iterator(); it.hasNext();) { in getChildElementXML()
DTranscriptProvider.java44 List<Packet> packets = new ArrayList<Packet>(); in parseIQ() local
51 packets.add(PacketParserUtils.parseMessage(parser)); in parseIQ()
54 packets.add(PacketParserUtils.parsePresence(parser)); in parseIQ()
64 return new Transcript(sessionID, packets); in parseIQ()
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.hpp63 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in…
64 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad…
78 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in…
79 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad…
97 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in…
98 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad…
126 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i…
127 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha…
148 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i…
149 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha…
[all …]
Des3fFboTestUtil.cpp111 …:shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPac… in shadeVertices() argument
115 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
121 void FlatColorShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::… in shadeFragments() argument
127 DE_UNREF(packets); in shadeFragments()
196 …:shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPac… in shadeVertices() argument
200 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
207 void GradientShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::F… in shadeFragments() argument
215 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
360 …:shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPac… in shadeVertices() argument
364 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
[all …]
Des3fDepthTests.cpp57 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i…
58 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha…
91 void DepthShader::shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, … in shadeVertices() argument
94packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNd… in shadeVertices()
97 void DepthShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::Frag… in shadeFragments() argument
101 DE_UNREF(packets); in shadeFragments()
/external/deqp/framework/referencerenderer/
DrrShaders.hpp104 …virtual void shadeVertices (const VertexAttrib* inputs, VertexPacket* const* packets, const…
130 …virtual void shadeFragments (FragmentPacket* packets, const int numPackets, const FragmentS…
181 …itives (GeometryEmitter& output, int verticesIn, const PrimitivePacket* packets, const int numPac…
208 …void shadeVertices (const VertexAttrib* inputs, VertexPacket* packets, const int numPackets) co…
215 void VertexShaderLoop<Shader>::shadeVertices (const VertexAttrib* inputs, VertexPacket* packets, co… in shadeVertices() argument
218 m_shader.shadeVertex(inputs, packets[ndx]); in shadeVertices()
227 void shadeFragments (FragmentPacket* packets, const int numPackets) const;
234 void FragmentShaderLoop<Shader>::shadeFragments (FragmentPacket* packets, const int numPackets) con… in shadeFragments() argument
237 m_shader.shadeFragment(packets[ndx]); in shadeFragments()
/external/chromium_org/media/cast/net/rtp/
Dpacket_storage.cc26 const SendPacketVector& packets) { in StoreFrame() argument
27 if (packets.empty()) { in StoreFrame()
44 frames_.push_back(packets); in StoreFrame()
72 const SendPacketVector& packets = frames_[index_8bits]; in GetFrame8() local
73 return packets.empty() ? NULL : &packets; in GetFrame8()
/external/iptables/extensions/
Dlibxt_connbytes.man1 Match by how many bytes or packets a connection (or one of the two
20 match packets from a connection whose packets/bytes/average packet
21 size is more than FROM and less than TO bytes/packets. if TO is
22 omitted only FROM check is done. "!" is used to match packets not
26 which packets to consider
29 whether to check the amount of packets, number of bytes transferred or
30 the average size (in bytes) of all packets received so far. Note that
33 be about half of the actual data packets.
Dlibxt_rpfilter.man4 Note that, unlike the in-kernel rp_filter, packets protected
7 Also, packets arriving via the loopback interface are always permitted.
15 Also use the packets' nfmark value when performing the reverse path route lookup.
18 This will permit packets arriving from the network with a source address that is also
22 This will invert the sense of the match. Instead of matching packets that passed the
25 Example to log and drop packets failing the reverse path filter test:
37 Example to drop failed packets, without logging:
Dlibxt_NFLOG.man1 This target provides logging of matching packets. When this target is
8 may subscribe to the group to receive the packets. Like LOG, this is a
12 The netlink group (0 - 2^16\-1) to which packets are (only applicable for
25 Number of packets to queue inside the kernel before sending them
28 packets reach userspace. The default value is 1.
Dlibxt_helper.man1 This module matches packets related to a specific conntrack-helper.
4 Matches packets related to the specified conntrack-helper.
7 string can be "ftp" for packets related to a ftp-session on default port.
/external/iproute2/doc/actions/
Dmirred-usage4 mirror and redirect packets. The main difference with say a vannila
42 without affecting other packets not interested in this feature
52 device. Instead of redirecting it puts packets at the exact spot
55 packets will all be dropped (this is much simpler to detect
65 1) Mirror all packets arriving on eth0 to be sent out on eth1.
79 # redirect all packets arriving on ingress of lo to eth0
90 Ping would fail since all packets are heading out eth0
97 Then you should see the packets on both host A and the local
103 #allow 1 out 10 packets on ingress of lo to randomly make it to the
114 # for packets from 10.0.0.9 going out on eth0 (could be local
[all …]
/external/qemu/android/
Dshaper.c99 QueuedPacket packets; /* list of queued packets, ordered by expiration date */ member
119 while (shaper->packets) { in netshaper_destroy()
120 QueuedPacket packet = shaper->packets; in netshaper_destroy()
121 shaper->packets = packet->next; in netshaper_destroy()
139 while ((packet = shaper->packets) != NULL) { in netshaper_expires()
145 shaper->packets = packet->next; in netshaper_expires()
152 if (shaper->packets) { in netshaper_expires()
153 shaper->block_until = shaper->packets->expiration; in netshaper_expires()
168 shaper->packets = NULL; in netshaper_create()
187 while (shaper->packets) { in netshaper_set_rate()
[all …]
/external/chromium_org/media/formats/mp2t/
Des_parser_test_base.cc91 void EsParserTestBase::ComputePacketSize(std::vector<Packet>* packets) { in ComputePacketSize() argument
92 DCHECK(packets); in ComputePacketSize()
93 if (packets->size() == 0u) in ComputePacketSize()
96 Packet* cur = &(*packets)[0]; in ComputePacketSize()
97 for (size_t k = 0; k < packets->size() - 1; k++) { in ComputePacketSize()
98 Packet* next = &(*packets)[k + 1]; in ComputePacketSize()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfakenetworkinterface.h93 int packets = 0; in NumRtpPackets() local
94 GetNumRtpBytesAndPackets(ssrc, NULL, &packets); in NumRtpPackets()
95 return packets; in NumRtpPackets()
215 void GetNumRtpBytesAndPackets(uint32 ssrc, int* bytes, int* packets) { in GetNumRtpBytesAndPackets() argument
219 if (packets) { in GetNumRtpBytesAndPackets()
220 *packets = 0; in GetNumRtpBytesAndPackets()
232 if (packets) { in GetNumRtpBytesAndPackets()
233 ++(*packets); in GetNumRtpBytesAndPackets()
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp188 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int…
189 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadi…
190 …(rr::GeometryEmitter& output, int verticesIn, const rr::PrimitivePacket* packets, const int numPac…
211 …:shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPac… in shadeVertices() argument
215packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
216 packets[ndx]->pointSize = 1.0f; in shadeVertices()
217packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets in shadeVertices()
221 void VertexExpanderShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const… in shadeFragments() argument
225 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx],… in shadeFragments()
228 …(rr::GeometryEmitter& output, int verticesIn, const rr::PrimitivePacket* packets, const int numPac… in shadePrimitives() argument
[all …]
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.cc52 int64_t RtpStream::GenerateFrame(int64_t time_now_us, PacketList* packets) { in GenerateFrame() argument
56 assert(packets != NULL); in GenerateFrame()
68 packets->push_back(packet); in GenerateFrame()
166 int64_t StreamGenerator::GenerateFrame(RtpStream::PacketList* packets, in GenerateFrame() argument
168 assert(packets != NULL); in GenerateFrame()
169 assert(packets->empty()); in GenerateFrame()
173 (*it).second->GenerateFrame(time_now_us, packets); in GenerateFrame()
175 for (RtpStream::PacketList::iterator packet_it = packets->begin(); in GenerateFrame()
176 packet_it != packets->end(); ++packet_it) { in GenerateFrame()
242 testing::RtpStream::PacketList packets; in GenerateAndProcessFrame() local
[all …]
/external/chromium_org/net/quic/
Dquic_unacked_packet_map_test.cc38 void VerifyInFlightPackets(QuicPacketSequenceNumber* packets, in VerifyInFlightPackets() argument
49 ASSERT_TRUE(unacked_packets_.IsUnacked(packets[0])); in VerifyInFlightPackets()
50 EXPECT_TRUE(unacked_packets_.GetTransmissionInfo(packets[0]).in_flight); in VerifyInFlightPackets()
53 ASSERT_TRUE(unacked_packets_.IsUnacked(packets[i])); in VerifyInFlightPackets()
54 EXPECT_TRUE(unacked_packets_.GetTransmissionInfo(packets[i]).in_flight); in VerifyInFlightPackets()
66 void VerifyUnackedPackets(QuicPacketSequenceNumber* packets, in VerifyUnackedPackets() argument
76 EXPECT_TRUE(unacked_packets_.IsUnacked(packets[i])) << packets[i]; in VerifyUnackedPackets()
81 void VerifyRetransmittablePackets(QuicPacketSequenceNumber* packets, in VerifyRetransmittablePackets() argument
93 EXPECT_TRUE(unacked_packets_.HasRetransmittableFrames(packets[i])) in VerifyRetransmittablePackets()
94 << " packets[" << i << "]:" << packets[i]; in VerifyRetransmittablePackets()
/external/deqp/modules/gles2/functional/
Des2fDepthTests.cpp57 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i…
58 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha…
88 void DepthShader::shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, … in shadeVertices() argument
91packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNd… in shadeVertices()
94 void DepthShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::Frag… in shadeFragments() argument
98 DE_UNREF(packets); in shadeFragments()

12345678910>>...12