/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_framework_unittest.cc | 25 static bool IsSequenceNumberSorted(const Packets& packets) { in IsSequenceNumberSorted() argument 26 PacketsConstIt last_it = packets.begin(); in IsSequenceNumberSorted() 27 for (PacketsConstIt it = last_it; it != packets.end(); ++it) { in IsSequenceNumberSorted() 40 Packets packets; in TEST() local 42 EXPECT_TRUE(IsTimeSorted(packets)); in TEST() 44 packets.push_back(new MediaPacket(100, 0)); in TEST() 45 EXPECT_TRUE(IsTimeSorted(packets)); in TEST() 47 packets.push_back(new MediaPacket(110, 0)); in TEST() 48 EXPECT_TRUE(IsTimeSorted(packets)); in TEST() 51 packets.push_back(new MediaPacket(100, 0)); in TEST() [all …]
|
/external/speex/libspeex/ |
D | jitter.c | 145 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/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | transport_feedback_adapter_unittest.cc | 122 std::vector<PacketInfo> packets; in TEST_F() local 123 packets.push_back(PacketInfo(100, 200, 0, 1500, true)); in TEST_F() 124 packets.push_back(PacketInfo(110, 210, 1, 1500, true)); in TEST_F() 125 packets.push_back(PacketInfo(120, 220, 2, 1500, true)); in TEST_F() 126 packets.push_back(PacketInfo(130, 230, 3, 1500, true)); in TEST_F() 127 packets.push_back(PacketInfo(140, 240, 4, 1500, true)); in TEST_F() 129 for (const PacketInfo& packet : packets) in TEST_F() 133 feedback.WithBase(packets[0].sequence_number, in TEST_F() 134 packets[0].arrival_time_ms * 1000); in TEST_F() 136 for (const PacketInfo& packet : packets) { in TEST_F() [all …]
|
D | send_time_history_unittest.cc | 209 PacketInfo packets[3] = {{0, kTimestamp, kSeqNo, 0, false}, in TEST_F() local 213 AddPacketWithSendTime(packets[0].sequence_number, packets[0].payload_size, in TEST_F() 214 packets[0].was_paced, packets[0].send_time_ms); in TEST_F() 215 AddPacketWithSendTime(packets[1].sequence_number, packets[1].payload_size, in TEST_F() 216 packets[1].was_paced, packets[1].send_time_ms); in TEST_F() 217 PacketInfo info(0, 0, packets[0].sequence_number, 0, false); in TEST_F() 219 EXPECT_EQ(packets[0], info); in TEST_F() 221 AddPacketWithSendTime(packets[2].sequence_number, packets[2].payload_size, in TEST_F() 222 packets[2].was_paced, packets[2].send_time_ms); in TEST_F() 224 PacketInfo info2(0, 0, packets[1].sequence_number, 0, false); in TEST_F() [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | validators.py | 83 def validate(packets, gesture, variation): argument 86 vlog = validator.check(packets, variation) 104 if packets is None: 189 self.packets = None 195 def init_check(self, packets=None): argument 197 self.packets = mtb.Mtb(device=self.device, packets=packets) 269 points = self.packets.get_ordered_finger_path(self.finger, 'point') 272 list_t = self.packets.get_ordered_finger_path(self.finger, 'syn_time') 290 def check(self, packets, variation=None): argument 292 self.init_check(packets) [all …]
|
D | mtb.py | 48 return Mtb(packets=MtbParser().parse_file(event_file)) 71 def convert_to_evemu_format(packets): argument 76 for packet in packets: 129 def create_final_state_packet(packets): argument 142 for packet in packets: 328 def __init__(self, packets): argument 329 self.packets = packets 356 for packet in self.packets: 531 def __init__(self, device=None, packets=None): argument 533 self.packets = packets [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | validators_unittest.py | 56 packets = parse_tests_data(filename) 58 vlog = validator.check(packets) 96 packets = parse_tests_data(filename) 98 vlog = validator.check(packets) 102 packets = parse_tests_data(filename, gesture_dir=unittest_path_lumpy) 104 metrics = validator.check(packets).metrics 239 packets = parse_tests_data(filename, gesture_dir=gesture_dir) 242 self.validator.check(packets, direction) 273 packets = parse_tests_data(file_subpath) 275 vlog = validator.check(packets) [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_packetmath.cpp | 51 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/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.hpp | 63 …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 …]
|
D | es3fFboTestUtil.cpp | 111 …: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 …]
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message_unittest.py | 123 packets = [array.array('B', [0x01, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00, 126 message = mbim_message_response.parse_response_packets(packets) 140 packets = [array.array('B', [0x02, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00, 143 message = mbim_message_response.parse_response_packets(packets) 157 packets = [array.array('B', [0x04, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00, 160 message = mbim_message_response.parse_response_packets(packets) 177 packets = [array.array('B', [0x03, 0x00, 0x00, 0x80, 0x34, 0x00, 0x00, 189 message = mbim_message_response.parse_response_packets(packets) 217 packets = [array.array('B', [0x03, 0x00, 0x00, 0x80, 0x40, 0x00, 0x00, 262 message = mbim_message_response.parse_response_packets(packets) [all …]
|
D | mbim_message_request.py | 88 packets = [] 129 packets.append(packet) 150 packets.append(packet) 154 return packets 174 packets = [packet] 176 packets = fragment_request_packets(message, max_fragment_length) 178 return packets
|
/external/deqp/framework/referencerenderer/ |
D | rrShaders.hpp | 104 …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/iptables/extensions/ |
D | libxt_connbytes.man | 1 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.
|
D | libxt_rpfilter.man | 4 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:
|
D | libxt_NFLOG.man | 1 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.
|
D | libxt_set.c | 376 if (info->packets.op != IPSET_COUNTER_NONE) in set_parse_v3() 383 info->packets.op = IPSET_COUNTER_GT; in set_parse_v3() 384 info->packets.value = parse_counter(optarg); in set_parse_v3() 387 if (info->packets.op != IPSET_COUNTER_NONE) in set_parse_v3() 394 info->packets.op = IPSET_COUNTER_LT; in set_parse_v3() 395 info->packets.value = parse_counter(optarg); in set_parse_v3() 398 if (info->packets.op != IPSET_COUNTER_NONE) in set_parse_v3() 402 info->packets.op = invert ? IPSET_COUNTER_NE : IPSET_COUNTER_EQ; in set_parse_v3() 403 info->packets.value = parse_counter(optarg); in set_parse_v3() 479 set_printv3_counter(&info->packets, "packets", sep); in set_print_v3_matchinfo()
|
/external/iproute2/doc/actions/ |
D | mirred-usage | 4 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/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | receive_statistics_unittest.cc | 144 EXPECT_EQ(1u, counters.transmitted.packets); in TEST_F() 149 EXPECT_EQ(2u, counters.transmitted.packets); in TEST_F() 259 EXPECT_EQ(expected.packets, actual.packets); in MatchPacketCounter() 292 expected.transmitted.packets = 1; in TEST_F() 296 expected.retransmitted.packets = 0; in TEST_F() 297 expected.fec.packets = 0; in TEST_F() 309 expected.transmitted.packets = 2; in TEST_F() 319 expected.transmitted.packets = 3; in TEST_F() 323 expected.retransmitted.packets = 1; in TEST_F() 336 expected.transmitted.packets = 4; in TEST_F() [all …]
|
D | producer_fec_unittest.cc | 129 std::vector<RedPacket*> packets = producer_->GetFecPackets(kRedPayloadType, in TEST_F() local 134 ASSERT_EQ(1u, packets.size()); in TEST_F() 136 kRedPayloadType, kFecPayloadType, packets.front(), false); in TEST_F() 141 delete packets.front(); in TEST_F() 172 std::vector<RedPacket*> packets = producer_->GetFecPackets(kRedPayloadType, in TEST_F() local 177 ASSERT_EQ(1u, packets.size()); in TEST_F() 179 packets.front(), false); in TEST_F() 184 delete packets.front(); in TEST_F()
|
D | receive_statistics_impl.cc | 71 if (receive_counters_.transmitted.packets == 1) { in UpdateCounters() 83 if (receive_counters_.transmitted.packets > 1 && in UpdateCounters() 94 (receive_counters_.transmitted.packets - in UpdateCounters() 95 receive_counters_.retransmitted.packets) > 1) { in UpdateCounters() 233 (receive_counters_.transmitted.packets - in CalculateRtcpStatistics() 234 receive_counters_.retransmitted.packets) - last_report_inorder_packets_; in CalculateRtcpStatistics() 246 receive_counters_.retransmitted.packets - last_report_old_packets_; in CalculateRtcpStatistics() 275 receive_counters_.transmitted.packets - in CalculateRtcpStatistics() 276 receive_counters_.retransmitted.packets; in CalculateRtcpStatistics() 277 last_report_old_packets_ = receive_counters_.retransmitted.packets; in CalculateRtcpStatistics() [all …]
|
/external/webrtc/talk/media/base/ |
D | fakenetworkinterface.h | 93 int packets = 0; in NumRtpPackets() local 94 GetNumRtpBytesAndPackets(ssrc, NULL, &packets); in NumRtpPackets() 95 return packets; in NumRtpPackets() 201 void GetNumRtpBytesAndPackets(uint32_t ssrc, int* bytes, int* packets) { in GetNumRtpBytesAndPackets() argument 205 if (packets) { in GetNumRtpBytesAndPackets() 206 *packets = 0; in GetNumRtpBytesAndPackets() 218 if (packets) { in GetNumRtpBytesAndPackets() 219 ++(*packets); in GetNumRtpBytesAndPackets()
|
/external/autotest/client/tests/isic/ |
D | help | 6 packets of the target protocol. The packets be given tendancies to conform to. 7 Ie 50% of the packets generated can have IP Options. 25% of the packets can 11 The packets are then sent against the target machine to either penetrate its 28 [-p <pkts to generate>] [-k <skip packets>] [-x <send packet X times>] 36 100% of the packets will be ^^^^ fragments
|
/external/deqp/modules/gles31/functional/ |
D | es31fGeometryShaderTests.cpp | 202 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int… 203 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadi… 204 …(rr::GeometryEmitter& output, int verticesIn, const rr::PrimitivePacket* packets, const int numPac… 225 …:shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPac… in shadeVertices() argument 229 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 230 packets[ndx]->pointSize = 1.0f; in shadeVertices() 231 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices() 235 void VertexExpanderShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const… in shadeFragments() argument 239 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx],… in shadeFragments() 242 …(rr::GeometryEmitter& output, int verticesIn, const rr::PrimitivePacket* packets, const int numPac… in shadePrimitives() argument [all …]
|
/external/libogg/src/ |
D | framing.c | 1462 int i,j,packets,pageout=pageskip; in test_pack() local 1472 for(packets=0;packets<packetskip;packets++) in test_pack() 1473 depacket+=pl[packets]; in test_pack() 1475 for(packets=0;;packets++)if(pl[packets]==-1)break; in test_pack() 1477 for(i=0;i<packets;i++){ in test_pack() 1644 const int packets[]={17, -1}; in main() local 1648 test_pack(packets,headret,0,0,0); in main() 1653 const int packets[]={17, 254, 255, 256, 500, 510, 600, -1}; in main() local 1657 test_pack(packets,headret,0,0,0); in main() 1662 const int packets[]={0,17, 254, 255, 0, 256, 0, 500, 510, 600, 0, -1}; in main() local [all …]
|