/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtcp_receiver_unittest.cc | 55 bool SendRtcp(const uint8_t* packet, size_t packet_len) override { 96 // Injects an RTCP packet into the receiver. 98 int InjectRtcpPacket(const uint8_t* packet, 100 RTCPUtility::RTCPParserV2 rtcpParser(packet, 158 rtc::scoped_ptr<rtcp::RawPacket> packet(sr.Build()); 159 EXPECT_EQ(0, InjectRtcpPacket(packet->Buffer(), packet->Length())); 161 // expected peer, but will not flag that he's gotten a packet. 172 rtc::scoped_ptr<rtcp::RawPacket> packet(sr.Build()); 173 EXPECT_EQ(0, InjectRtcpPacket(packet->Buffer(), packet->Length())) 1047 rtcp::TransportFeedback packet; local 1072 rtcp::TransportFeedback packet; local [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
jitter_buffer_unittest.cc | 19 #include "webrtc/modules/video_coding/packet.h" 307 VCMPacket packet; local 308 packet.dataPtr = data_buffer_; 309 bool packet_available = stream_generator_->PopPacket(&packet, index); 314 return jitter_buffer_->InsertPacket(packet, &retransmitted); 318 VCMPacket packet; local 319 packet.dataPtr = data_buffer_; 320 bool packet_available = stream_generator_->GetPacket(&packet, index); 325 return jitter_buffer_->InsertPacket(packet, &retransmitted); 428 // Insert the packet to the jitter buffer and get a frame 2381 VCMPacket packet; local 2413 VCMPacket packet; local 2419 VCMPacket packet; local [all...] |
session_info.cc | 14 #include "webrtc/modules/video_coding/packet.h" 159 VCMPacket& packet = *packet_it; local 162 // Calculate the offset into the frame buffer for this packet. 167 // Set the data pointer to pointing to the start of this packet in the 169 const uint8_t* packet_buffer = packet.dataPtr; 170 packet.dataPtr = frame_buffer + offset; 178 if (packet.codecSpecificHeader.codec == kRtpVideoH264 && 179 packet.codecSpecificHeader.codecHeader.H264.packetization_type == 183 while (nalu_ptr < packet_buffer + packet.sizeBytes) { 186 length + (packet.insertStartCode ? kH264StartCodeLengthBytes : 0) [all...] |
/external/webrtc/webrtc/p2p/base/ |
faketransportcontroller.h | 36 PacketMessageData(const char* data, size_t len) : packet(data, len) {} 37 rtc::Buffer packet; member in struct:cricket::__anon44422::PacketMessageData 207 PacketMessageData* packet = new PacketMessageData(data, len); variable 209 rtc::Thread::Current()->Post(this, 0, packet); 211 rtc::Thread::Current()->Send(this, 0, packet); 228 dest_->SignalReadPacket(dest_, data->packet.data<char>(), 229 data->packet.size(), rtc::CreatePacketTime(0), 0);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
KeepaliveTracker.java | 54 * Manages packet keepalive requests. 77 * Tracks information about a packet keepalive. 94 // Packet data. 102 KeepalivePacketData packet, int interval) { 109 mPacket = packet; 348 KeepalivePacketData packet; local 350 packet = KeepalivePacketData.nattKeepalivePacket( 356 KeepaliveInfo ki = new KeepaliveInfo(messenger, binder, nai, packet, intervalSeconds); 363 pw.println("Packet keepalives:");
|
/frameworks/base/tests/net/java/android/net/apf/ |
ApfTest.java | 95 // Interpreter will just accept packets without link layer headers, so pad fake packet to at 96 // least the minimum packet size. 129 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { 130 assertReturnCodesEqual(expected, apfSimulate(program, packet, null, filterAge)); 133 private void assertVerdict(int expected, byte[] program, byte[] packet) { 134 assertReturnCodesEqual(expected, apfSimulate(program, packet, null, 0)); 137 private void assertPass(byte[] program, byte[] packet, int filterAge) { 138 assertVerdict(PASS, program, packet, filterAge); 141 private void assertPass(byte[] program, byte[] packet) { 142 assertVerdict(PASS, program, packet); 1002 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1052 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1177 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1216 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1263 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1352 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1361 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local 1369 ByteBuffer packet = ByteBuffer.wrap(new byte[100]); local [all...] |
/system/bt/btif/src/ |
btif_pan.cc | 420 char packet[TAP_MAX_PKT_WRITE_LEN + sizeof(tETH_HDR)]; local 421 memcpy(packet, ð_hdr, sizeof(tETH_HDR)); 423 LOG_ERROR(LOG_TAG, "btpan_tap_send eth packet size:%d is exceeded limit!", 427 memcpy(packet + sizeof(tETH_HDR), buf, len); 431 OSI_NO_INTR(ret = write(tap_fd, packet, len + sizeof(tETH_HDR))); 682 uint8_t* packet = (uint8_t*)buffer + sizeof(BT_HDR) + buffer->offset; local 684 // If we don't have an undelivered packet left over, pull one from the TAP 713 memcpy(packet, btpan_cb.congest_packet, 717 if (buffer->len > sizeof(tETH_HDR) && should_forward((tETH_HDR*)packet)) { 723 memcpy(&hdr, packet, sizeof(tETH_HDR)) [all...] |
/system/bt/hci/src/ |
hci_layer.cc | 54 extern void hci_transmit(BT_HDR* packet); 58 extern void hci_log_firmware_debug_packet(int fd, BT_HDR* packet); 115 static bool filter_incoming_event(BT_HDR* packet); 124 static void enqueue_packet(void* packet); 125 static void event_packet_ready(void* packet); 130 static void transmit_fragment(BT_HDR* packet, bool send_transmit_finished); 131 static void dispatch_reassembled(BT_HDR* packet); 132 static void fragmenter_transmit_finished(BT_HDR* packet, 145 BT_HDR* packet) { 146 btsnoop->capture(packet, true) 434 BT_HDR* packet = (BT_HDR*)pkt; local [all...] |
hci_layer_linux.cc | 97 BT_HDR* packet); 98 extern void acl_event_received(BT_HDR* packet); 99 extern void sco_data_received(BT_HDR* packet); 118 LOG(FATAL) << "This packet filled buffer, if it have continuation we " 124 BT_HDR* packet = local 126 packet->offset = 0; 127 packet->layer_specific = 0; 128 packet->len = len - 1; 129 memcpy(packet->data, buf + 1, len - 1); 133 packet->event = MSG_HC_TO_STACK_HCI_EVT [all...] |
/device/google/marlin/camera/QCamera2/HAL/ |
QCameraMem.cpp | 1400 media_metadata_buffer * packet = local 1461 media_metadata_buffer *packet = local 1577 media_metadata_buffer *packet = local 1617 media_metadata_buffer * packet = NULL; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
JDWPStackFrameAccessTest.java | 437 CommandPacket packet = new CommandPacket( local 440 packet.setNextValueAsThreadID(threadID); 441 packet.setNextValueAsFrameID(frameID); 442 packet.setNextValueAsInt(1); 443 packet.setNextValueAsInt(slot); 444 packet.setNextValueAsByte(tag); 447 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 481 CommandPacket packet = new CommandPacket(JDWPCommands.StackFrameCommandSet.CommandSetID, local 483 packet.setNextValueAsThreadID(threadID); 484 packet.setNextValueAsFrameID(frameID) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
JDWPTestCase.java | 34 import org.apache.harmony.jpda.tests.framework.jdwp.Packet; 238 * @return reply packet 289 CommandPacket packet = new CommandPacket( local 292 packet.setNextValueAsString(signature); 293 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 318 CommandPacket packet = new CommandPacket( local 321 packet.setNextValueAsString(signature); 322 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 344 CommandPacket packet = new CommandPacket( local 348 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 361 CommandPacket packet = new CommandPacket( local 379 CommandPacket packet = new CommandPacket( local 864 CommandPacket packet = new CommandPacket( local 899 CommandPacket packet = new CommandPacket( local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fPolygonOffsetTests.cpp | 230 rr::VertexPacket& packet = *packets[packetNdx]; local 233 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 236 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); 244 rr::FragmentPacket& packet = packets[packetNdx]; local 247 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packet, context, VARYINGLOC_COLOR, fragNdx)); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fPolygonOffsetTests.cpp | 233 rr::VertexPacket& packet = *packets[packetNdx]; local 236 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 239 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); 247 rr::FragmentPacket& packet = packets[packetNdx]; local 250 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packet, context, VARYINGLOC_COLOR, fragNdx)); [all...] |
es3fShaderBuiltinVarTests.cpp | 910 rr::VertexPacket& packet = *packets[packetNdx]; local 913 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 916 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); 924 rr::FragmentPacket& packet = packets[packetNdx]; local 927 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VARYINGLOC_COLOR, fragNdx)); [all...] |
/external/deqp/modules/glshared/ |
glsTextureBufferCase.cpp | 168 rr::VertexPacket* const packet = packets[packetNdx]; member in class:deqp::gls::__anon18895::CoordVertexShader::rr 171 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); 173 packet->outputs[0] = tcu::Vec4(1.0f); 174 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f); 194 rr::VertexPacket* const packet = packets[packetNdx]; member in class:deqp::gls::__anon18895::TextureVertexShader::rr 198 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); 202 packet->outputs[0] = texelValue; 203 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f) 226 rr::FragmentPacket& packet = packets[packetNdx]; local 261 rr::FragmentPacket& packet = packets[packetNdx]; local [all...] |
/external/dnsmasq/src/ |
dnsmasq.c | 159 daemon->packet = safe_malloc(daemon->packet_buff_sz); 1134 } packet; local 1156 memset(&packet.icmp, 0, sizeof(packet.icmp)); 1157 packet.icmp.icmp_type = ICMP_ECHO; 1158 packet.icmp.icmp_id = id; 1160 j += ((u16 *)&packet.icmp)[i]; 1163 packet.icmp.icmp_cksum = (j == 0xffff) ? j : ~j; 1165 while (sendto(fd, (char *)&packet.icmp, sizeof(struct icmp), 0, 1199 recvfrom(fd, &packet, sizeof(packet), 0 [all...] |
/external/eigen/Eigen/src/Core/ |
ProductEvaluators.h | 433 template<int StorageOrder, int UnrollingIndex, typename Lhs, typename Rhs, typename Packet, int LoadMode> 449 m_rhsImpl(m_rhs), // Moreover, they are only useful for the packet path, so we could completely disable them when not needed, 450 // or perhaps declare them on the fly on the packet method... We have experiment to check what's best. 512 // Here, we don't care about alignment larger than the usable packet size. 539 * of Product. If the Product itself is not a packet-access expression, there is still a chance that the inner 555 /* Allow index-based non-packet access. It is impossible though to allow index-based packed access, 567 const PacketType packet(Index row, Index col) const function in struct:Eigen::internal::product_evaluator 578 const PacketType packet(Index index) const function in struct:Eigen::internal::product_evaluator 582 return packet<LoadMode,PacketType>(row,col); 612 *** Coeff based product, Packet path ** 856 EIGEN_STRONG_INLINE PacketType packet(Index row, Index col) const function in struct:Eigen::internal::product_evaluator 865 EIGEN_STRONG_INLINE PacketType packet(Index idx) const function in struct:Eigen::internal::product_evaluator 900 EIGEN_STRONG_INLINE PacketType packet(Index row, Index col) const function in struct:Eigen::internal::product_evaluator 907 EIGEN_STRONG_INLINE PacketType packet(Index idx) const function in struct:Eigen::internal::product_evaluator [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorFFT.h | 194 packet(Index index) const { function in struct:Eigen::TensorEvaluator
|
TensorMorphing.h | 140 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 142 return m_impl.template packet<LoadMode>(index); 409 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 441 PacketReturnType rslt = m_impl.template packet<Unaligned>(inputIndices[0]); [all...] |
TensorReduction.h | 173 reducer.reducePacket(self.m_impl.template packet<Unaligned>(firstIndex + j), &p); 206 reducer.reducePacket(self.m_impl.template packet<Unaligned>(input), accum); 611 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_cfg.c | 135 * Handle an ISAKMP config mode packet 143 struct isakmp *packet; local 151 /* Check that the packet is long enough to have a header */ 152 if (msg->l < sizeof(*packet)) { 153 plog(LLV_ERROR, LOCATION, NULL, "Unexpected short packet\n"); 157 packet = (struct isakmp *)msg->v; 160 if ((packet->flags & ISAKMP_FLAG_E) == 0) { 167 * Decrypt the packet. If this is the beginning of a new 171 iph1->mode_cfg->last_msgid != packet->msgid ) 173 isakmp_cfg_newiv(iph1, packet->msgid) [all...] |
/external/iputils/ |
ping.c | 47 * measure round-trip-delays and packet loss across network paths. 124 u_char *packet; local 544 /* Estimate memory eaten by single packet. It is rough estimate. 582 fprintf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 586 fprintf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 592 if (!(packet = (u_char *)malloc((u_int)packlen))) { 604 main_loop(icmp_sock, packet, packlen); 712 * Compose and transmit an ICMP ECHO REQUEST packet. The IP packet 771 * Print out the packet, if it came from us. This logic is necessar [all...] |
traceroute6.c | 65 * Attempt to trace the route an ip packet would follow to some 88 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet 291 u_char packet[512]; /* last inbound (icmp) packet */ variable 479 "traceroute: packet size must be %d <= s < %d.\n", 611 if ((i = packet_ok(packet, cc, &from, &to, seq, &t1))) { 614 print(packet, cc, &from); 676 * "reset_timer" will only be true if the last packet that 690 iov.iov_base = packet; 691 iov.iov_len = sizeof(packet); [all...] |
/external/libdrm/nouveau/ |
nouveau.h | 162 uint32_t packet; member in struct:nouveau_bufref 186 nouveau_bufctx_mthd(struct nouveau_bufctx *, int bin, uint32_t packet,
|