| /external/chromium_org/net/quic/ |
| quic_connection_test.cc | 292 QuicEncryptedPacket packet(buffer, buf_len); 295 if (packet.length() >= sizeof(final_bytes_of_last_packet_)) { 297 memcpy(&final_bytes_of_last_packet_, packet.data() + packet.length() - 4, 304 EXPECT_TRUE(framer_.ProcessPacket(packet)); 312 last_packet_size_ = packet.length(); 373 // packet as a little-endian, uint32. This is intended to be used with a 375 // a given packet. 378 // Returns the final bytes of the second to last packet. 446 QuicPacket* packet, 844 QuicPacket* packet = local 867 QuicPacket* packet = local 2739 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2751 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2762 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2775 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2820 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2837 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2862 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2884 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 3153 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 3168 connection_.ProcessUdpPacket(IPEndPoint(), IPEndPoint(), *packet); local 3340 QuicPacket* packet = ConstructDataPacket(i, 0, entropy_flag); local 3933 QuicPacket* packet = local [all...] |
| quic_framer.cc | 298 // PADDING implies end of packet. 305 // Frame fits within packet. Note that acks may be truncated. 308 // Only truncate the first frame in a packet, so if subsequent ones go 314 // Truncate the frame so the packet will not exceed kMaxPacketSize. 322 LOG(DFATAL) << "Packet size too small to fit frame."; 447 QuicPacket* packet = QuicPacket::NewDataPacket( local 454 packet->FecProtectedData()); 458 header.public_header.sequence_number_length, packet, 494 const QuicPublicResetPacket& packet) { 495 DCHECK(packet.public_header.reset_flag) 1500 QuicPacketSequenceNumber packet = smallest_received + sequence_delta; local [all...] |
| quic_protocol.h | 53 // Default and initial maximum size in bytes of a QUIC packet. 55 // The maximum packet size of any QUIC packet, based on ethernet's max size, 58 // max packet size is 1500 bytes, 1500 - 48 = 1452. 60 // Default maximum packet size used in Linux TCP implementations. 80 // Number of bytes reserved for public flags in the packet header. 82 // Number of bytes reserved for version number in the packet header. 84 // Number of bytes reserved for private flags in the packet header. 86 // Number of bytes reserved for FEC group in the packet header. 92 // Index of the first byte in a QUIC packet which is used in hash calculation 1028 QuicPacket* packet; member in struct:net::SerializedPacket [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| virtualsocketserver.cc | 77 class Packet : public MessageData { 79 Packet(const char* data, size_t size, const SocketAddress& from) 86 virtual ~Packet() { 270 // If we don't have a packet, then either error or wait for one to arrive. 283 // Return the packet at the front of the queue. 284 Packet* packet = recv_buffer_.front(); local 285 size_t data_read = _min(cb, packet->size()); 286 memcpy(pv, packet->data(), data_read); 287 *paddr = packet->from() 389 Packet* packet = static_cast<Packet*>(pmsg->pdata); local [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/media/base/ |
| fakemediaengine.h | 76 talk_base::Buffer packet(data, len, kMaxRtpPacketLen); 77 return Base::SendPacket(&packet); 80 talk_base::Buffer packet(data, len, kMaxRtpPacketLen); 81 return Base::SendRtcp(&packet); 87 std::string packet = rtp_packets_.front(); local 89 success = (packet == std::string(static_cast<const char*>(data), len)); 96 std::string packet = rtcp_packets_.front(); local 98 success = (packet == std::string(static_cast<const char*>(data), len)); 194 virtual void OnPacketReceived(talk_base::Buffer* packet, 196 rtp_packets_.push_back(std::string(packet->data(), packet->length())) [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
| p2ptransportchannel_unittest.cc | 204 std::string packet = ch_packets_.front(); local 205 ret = (packet == std::string(data, len)); [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/session/media/ |
| channel.cc | 91 talk_base::Buffer packet; member in struct:cricket::PacketMessageData 147 static bool ValidPacket(bool rtcp, const talk_base::Buffer* packet) { 148 // Check the packet size. We could check the header too if needed. 149 return (packet && 150 packet->length() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) && 151 packet->length() <= kMaxRtpPacketLen); 346 bool BaseChannel::SendPacket(talk_base::Buffer* packet, 348 return SendPacket(false, packet, dscp); 351 bool BaseChannel::SendRtcp(talk_base::Buffer* packet, 353 return SendPacket(true, packet, dscp) [all...] |
| channel_unittest.cc | 472 // Set SSRC in the rtp packet copy. 482 // Set SSRC in the rtcp packet copy. 1569 cricket::RtpDumpPacket packet; local [all...] |
| /external/chromium_org/third_party/usrsctp/usrsctplib/ |
| user_socket.c | 3121 char *dump_buf, *packet; local [all...] |
| /external/chromium_org/third_party/webrtc/base/ |
| virtualsocketserver.cc | 60 class Packet : public MessageData { 62 Packet(const char* data, size_t size, const SocketAddress& from) 69 virtual ~Packet() { 253 // If we don't have a packet, then either error or wait for one to arrive. 266 // Return the packet at the front of the queue. 267 Packet* packet = recv_buffer_.front(); local 268 size_t data_read = _min(cb, packet->size()); 269 memcpy(pv, packet->data(), data_read); 270 *paddr = packet->from() 372 Packet* packet = static_cast<Packet*>(pmsg->pdata); local [all...] |
| /external/chromium_org/third_party/webrtc/video/ |
| call_tests.cc | 171 virtual Action OnSendRtp(const uint8_t* packet, size_t length) OVERRIDE { 173 EXPECT_TRUE(rtp_parser_->Parse(packet, static_cast<int>(length), &header)); 205 virtual Action OnReceiveRtcp(const uint8_t* packet, size_t length) OVERRIDE { 206 RTCPUtility::RTCPParserV2 parser(packet, length, true); 376 virtual Action OnReceiveRtcp(const uint8_t* packet, 378 RTCPUtility::RTCPParserV2 parser(packet, length, true); 381 ssrc |= static_cast<uint32_t>(packet[4]) << 24; 382 ssrc |= static_cast<uint32_t>(packet[5]) << 16; 383 ssrc |= static_cast<uint32_t>(packet[6]) << 8; 384 ssrc |= static_cast<uint32_t>(packet[7]) << 0 1196 const RTCPUtility::RTCPPacket& packet = parser.Packet(); local 1200 const RTCPUtility::RTCPPacket& packet = parser.Packet(); local [all...] |
| /external/deqp/framework/referencerenderer/ |
| rrRenderer.cpp | 808 void transformVertexClipCoordsToWindowCoords (const RenderState& state, VertexPacket& packet) 812 packet.position = tcu::Vec4(packet.position.x()/packet.position.w(), 813 packet.position.y()/packet.position.w(), 814 packet.position.z()/packet.position.w(), 815 1.0f /packet.position.w()); 828 packet.position = tcu::Vec4(packet.position.x()*halfW + oX 1048 const FragmentPacket& packet = fragmentPackets[packetNdx]; local 1080 const FragmentPacket& packet = fragmentPackets[packetNdx]; local [all...] |
| /external/deqp/modules/gles2/functional/ |
| es2fClippingTests.cpp | 426 rr::VertexPacket& packet = *packets[packetNdx]; local 429 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 432 packet.pointSize = rr::readVertexAttribFloat(inputs[pointSizeAttrLoc], packet.instanceNdx, packet.vertexNdx).x(); 435 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx) 443 rr::FragmentPacket& packet = packets[packetNdx]; local [all...] |
| es2fFboRenderTest.cpp | 150 rr::VertexPacket& packet = *packets[packetNdx]; local 152 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 153 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 213 rr::VertexPacket& packet = *packets[packetNdx]; local 215 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx) [all...] |
| /external/deqp/modules/gles3/functional/ |
| es3fClippingTests.cpp | 429 rr::VertexPacket& packet = *packets[packetNdx]; local 432 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 435 packet.pointSize = rr::readVertexAttribFloat(inputs[pointSizeAttrLoc], packet.instanceNdx, packet.vertexNdx).x(); 438 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx) 446 rr::FragmentPacket& packet = packets[packetNdx]; local [all...] |
| es3fTextureUnitTests.cpp | 612 rr::VertexPacket& packet = *(packets[packetNdx]); local 614 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 615 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 627 rr::FragmentPacket& packet = packets[packetNdx]; local 638 rr::readTriangleVarying<float>(packet, context, 0, 0).xy(), 639 rr::readTriangleVarying<float>(packet, context, 0, 1).xy() [all...] |
| /external/iputils/ |
| ping6.c | 56 * measure round-trip-delays and packet loss across network paths. 135 #define MAXPACKET 128000 /* max packet size */ 698 u_char *packet; local 1090 if (!(packet = (u_char *)malloc((u_int)packlen))) { 1102 /* Estimate memory eaten by single packet. It is rough estimate. 1267 main_loop(icmp_sock, packet, packlen); [all...] |
| rdisc.c | 100 static int sendbcast(int s, char *packet, int packetlen); 101 static int sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *); 102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp); 159 #define MAXPACKET 4096 /* max packet size */ 462 u_char packet[MAXPACKET]; local 463 int len = sizeof (packet); 467 cc=recvfrom(s, (char *)packet, len, 0, 477 pr_pack( (char *)packet, cc, &from ); 536 * Compose and transmit an ICMP ROUTER SOLICITATION REQUEST packet [all...] |
| /external/lldb/source/Plugins/Process/gdb-remote/ |
| ProcessGDBRemote.cpp | 70 // Provide a function that can easily dump the packet history if we know a 75 // function and get the packet history dumped to a file. 96 { "packet-timeout" , OptionValue::eTypeUInt64 , true , 1, NULL, NULL, "Specify the default packet timeout in seconds." }, 314 char packet[128]; local 322 const int packet_len = ::snprintf (packet, sizeof(packet), "qRegisterInfo%x", reg_num); 323 assert (packet_len < (int)sizeof(packet)); 325 if (m_gdb_comm.SendPacketAndWaitForResponse(packet, packet_len, response, false)) 573 error.SetErrorStringWithFormat ("Process %" PRIu64 " was reported after connecting to '%s', but no stop reply packet was received", pid, remote_url) 975 char packet[64]; local 1039 StreamString packet; local 2027 char packet[64]; local 2063 StreamString packet; local 3225 StreamString packet; local [all...] |
| /external/mdnsresponder/mDNSPosix/ |
| mDNSPosix.c | 156 // mDNS core calls this routine when it needs to send a packet. 219 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d", 222 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst); 235 DNSMessage packet; local 249 packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromLen, &packetInfo, &ttl); 258 // convince mDNS Core that this isn't a spoof packet. 260 // packet arrived as a multicast and, if so, set its 268 // no way to tell the destination address or interface this packet arrived on, 280 // We only accept the packet if the interface on which it cam [all...] |
| /external/qemu/android/ |
| sdk-controller-socket.c | 58 /* The packet is a message. */ 60 /* The packet is a query. */ 62 /* The packet is a response to a query. */ 104 /* Packet signature value ('SDKC'). */ 107 /* Data packet descriptor. 110 * header, with packet data immediately following this header. 115 /* Total size of the data to transfer with this packet, including this 118 /* Encodes packet type. See SDKCTL_PACKET_XXX for the list of packet types 123 /* Packet descriptor, allocated by this API for data packets to be sent to SD 166 SDKCtlPacketHeader* packet; member in struct:SDKCtlDirectPacket 186 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryHeader 247 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryReplyHeader 264 SDKCtlPacketHeader packet; member in struct:SDKCtlMessageHeader 276 SDKCtlPacket packet; member in struct:SDKCtlMessage 325 SDKCtlPacket* packet; member in struct:SDKCtlIODispatcher 624 SDKCtlPacket* const packet = local 691 SDKCtlPacket* const packet = (SDKCtlPacket*)io_opaque; local 757 SDKCtlDirectPacket* const packet = local 821 SDKCtlDirectPacket* const packet = (SDKCtlDirectPacket*)io_opaque; local 1512 SDKCtlPacket* const packet = dispatcher->packet; local [all...] |
| /external/qemu/net/ |
| net-android.c | 452 VLANPacket *packet; local 454 while ((packet = vc->vlan->send_queue) != NULL) { 457 vc->vlan->send_queue = packet->next; 459 ret = qemu_deliver_packet(packet->sender, packet->data, packet->size); 460 if (ret == 0 && packet->sent_cb != NULL) { 461 packet->next = vc->vlan->send_queue; 462 vc->vlan->send_queue = packet; 466 if (packet->sent_cb 477 VLANPacket *packet; local 590 VLANPacket *packet; local [all...] |
| net.c | 444 VLANPacket *packet; local 446 while ((packet = vc->vlan->send_queue) != NULL) { 449 vc->vlan->send_queue = packet->next; 451 ret = qemu_deliver_packet(packet->sender, packet->data, packet->size); 452 if (ret == 0 && packet->sent_cb != NULL) { 453 packet->next = vc->vlan->send_queue; 454 vc->vlan->send_queue = packet; 458 if (packet->sent_cb 469 VLANPacket *packet; local 582 VLANPacket *packet; local [all...] |
| /external/lldb/tools/debugserver/source/ |
| RNBRemote.cpp | 98 // 3 - Register the Packet definition with any needed callbacks in this function 100 // - If the packet is not supported while the target is running, use NULL for the async callback 101 // 4 - If the packet is a standard packet (starts with a '$' character 104 // 5 - if the packet is a fixed length packet: 106 // in RNBRemote::CommDataReceived so it doesn't reject the new packet 109 // in RNBRemote::GetPacketPayload and make sure the payload of the packet 112 std::vector <Packet> &t = m_packets; 113 t.push_back (Packet (ack, NULL, NULL, "+", "ACK")) 325 RNBRemote::Packet packet; local [all...] |
| /external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
| openjpeg.h | 157 #define JPWL_MAX_NO_PACKSPECS 16 /**< Maximum number of packet parts expected by JPWL: increase at your will */ 383 /** tile number of packet protection specification (>=0) */ 385 /** packet number of packet protection specification (>=0) */ 638 * Index structure : Information concerning a packet inside tile 641 /** packet start position (including SOP marker if it exists) */ 643 /** end of packet header position (including EPH marker if it exists)*/ 645 /** packet end position */ 647 /** packet distorsion */ 676 /** start packet of tile part * 705 opj_packet_info_t *packet; member in struct:opj_tile_info [all...] |