/external/chromium_org/net/quic/ |
quic_packet_generator_test.cc | 45 MOCK_METHOD1(OnSerializedPacket, void(const SerializedPacket& packet)); 77 // Simple struct for describing the contents of a packet. 79 // that a packet contains the expected frames. 121 delete packet_.packet; 123 delete packet2_.packet; 125 delete packet3_.packet; 127 delete packet4_.packet; 129 delete packet5_.packet; 131 delete packet6_.packet; 133 delete packet7_.packet; [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
ResumeTest.java | 237 CommandPacket packet = new CommandPacket( local 240 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 250 CommandPacket packet = new CommandPacket( local 253 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 362 CommandPacket packet = new CommandPacket( local 365 packet.setNextValueAsThreadID(threadInfo.threadId); 366 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/chromium_org/remoting/host/ |
audio_capturer_win.cc | 25 // value less than this threshold, the packet will be counted as a packet of 248 scoped_ptr<AudioPacket> packet = local 250 packet->add_data(data, frames * wave_format_ex_->nBlockAlign); 251 packet->set_encoding(AudioPacket::ENCODING_RAW); 252 packet->set_sampling_rate(sampling_rate_); 253 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); 254 packet->set_channels(AudioPacket::CHANNELS_STEREO); 256 callback_.Run(packet.Pass()); 272 LOG(ERROR) << "Failed to capture an audio packet: 0x [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_receive_test.cc | 19 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 89 for (scoped_ptr<Packet> packet(packet_source_->NextPacket()); packet; 90 packet.reset(packet_source_->NextPacket())) { 91 // Pull audio until time to insert packet. 92 while (clock_.TimeInMilliseconds() < packet->time_ms()) { 102 // first packet. 111 // Insert packet after converting from RTPHeader to WebRtcRTPHeader. 113 header.header = packet->header() [all...] |
/external/chromium_org/v8/tools/testrunner/server/ |
work_handler.py | 56 packet = workpacket.WorkPacket.Unpack(data) 57 self.ctx = packet.context 62 for binary in packet.binaries: 63 if not self._UnpackBinary(binary, packet.pubkey_fingerprint): 66 if not self._CheckoutRevision(packet.base_revision): 69 if not self._ApplyPatch(packet.patch): 72 tests = packet.tests
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
PacketDispatcher.java | 220 * Notifies thread that reply packet was received. 235 // obtain the current command packet by command id 504 // read packet from transport 505 byte[] packet = connection.readPacket(); 507 // break cycle if empty packet 508 if (packet == null || packet.length == 0) 512 if (packet.length < Packet.FLAGS_INDEX) { 514 .println(">>>>>>>>>> PacketDispatcher WARNING: WRONG received packet size = [all...] |
/external/chromium_org/media/cast/receiver/ |
frame_receiver.cc | 73 bool FrameReceiver::ProcessPacket(scoped_ptr<Packet> packet) { 76 if (Rtcp::IsRtcpPacket(&packet->front(), packet->size())) { 77 rtcp_.IncomingRtcpPacket(&packet->front(), packet->size()); 82 if (!packet_parser_.ParsePacket(&packet->front(), 83 packet->size(), 104 bool FrameReceiver::ParseSenderSsrc(const uint8* packet, 108 reinterpret_cast<const char*>(packet), length) [all...] |
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
ffmpeg_cdm_audio_decoder.cc | 257 AVPacket packet; local 258 av_init_packet(&packet); 259 packet.data = const_cast<uint8_t*>(compressed_buffer); 260 packet.size = compressed_buffer_size; 268 // Each audio packet may contain several frames, so we must call the decoder 269 // until we've exhausted the packet. Regardless of the packet size we always 278 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet); 289 << timestamp.InMicroseconds() << " us, packet size: " 295 // Update packet size and data pointer in case we need to call the decode [all...] |
/external/chromium_org/net/quic/test_tools/ |
quic_test_packet_maker.cc | 96 scoped_ptr<QuicPacket> packet( 97 BuildUnsizedDataPacket(&framer, header, frames).packet); 99 ENCRYPTION_NONE, header.packet_sequence_number, *packet)); 158 scoped_ptr<QuicPacket> packet( 159 BuildUnsizedDataPacket(&framer, header, frames).packet); 161 ENCRYPTION_NONE, header.packet_sequence_number, *packet)); 164 // Returns a newly created packet to send kData on stream 1. 242 scoped_ptr<QuicPacket> packet( 243 BuildUnsizedDataPacket(&framer, header, frames).packet); 245 ENCRYPTION_NONE, header.packet_sequence_number, *packet)); [all...] |
/external/chromium_org/content/browser/renderer_host/p2p/ |
socket_host_udp_unittest.cc | 251 std::vector<char> packet; local 252 CreateRandomPacket(&packet); 253 socket_host_->Send(dest1_, packet, options, 0); 261 // Receive packet from |dest1_|. 275 std::vector<char> packet; local 276 CreateRandomPacket(&packet); 277 socket_host_->Send(dest1_, packet, options, 0); 286 // Receive packet from |dest1_|. 300 std::vector<char> packet; local 301 CreateRandomPacket(&packet); 321 std::vector<char> packet; local [all...] |
/external/chromium_org/media/cast/logging/ |
logging_impl.cc | 55 const Packet& packet) { 61 const uint8* packet_data = &packet[0]; 78 packet.size());
|
/external/chromium_org/media/cast/net/rtp/ |
rtp_parser.cc | 21 bool RtpParser::ParsePacket(const uint8* packet, 26 DCHECK(packet); 34 base::BigEndianReader reader(reinterpret_cast<const char*>(packet), length); 38 // explanation of the standard RTP packet header. 75 // Sanity-check: Do the packet ID values make sense w.r.t. each other? 120 // All remaining data in the packet is the payload.
|
rtp_packetizer.h | 39 // header to each packet. 50 // incremental sequence numbers for every packet (including retransmissions). 57 void BuildCommonRTPheader(Packet* packet, bool marker_bit, uint32 time_stamp);
|
/external/chromium_org/media/cast/sender/ |
audio_sender_unittest.cc | 28 virtual bool SendPacket(PacketRef packet, 30 if (Rtcp::IsRtcpPacket(&packet->data[0], packet->data.size())) { 33 // Check that at least one RTCP packet was sent before the first RTP 34 // packet. This confirms that the receiver will have the necessary lip 135 // Make sure that we send at least one RTCP packet.
|
/external/chromium_org/net/dns/ |
mock_mdns_socket_factory.h | 32 MOCK_METHOD3(SendToInternal, int(const std::string& packet, 80 void SimulateReceive(const uint8* packet, int size); 85 int SendToInternal(const std::string& packet, const std::string& address, 89 // does not care which socket a packet is received on.
|
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/ |
sctpdataengine.h | 79 // 7. ... across network ... a packet is sent back ... 159 // A packet is received from the network interface. Posted to OnMessage. 160 virtual void OnPacketReceived(rtc::Buffer* packet, 183 virtual void OnRtcpReceived(rtc::Buffer* packet, 215 // Called by OnMessage to send packet on the network. 217 // Called by OnMessage to decide what to do with the packet. 218 void OnInboundPacketFromSctpToChannel(SctpInboundPacket* packet);
|
/external/chromium_org/third_party/webrtc/video_engine/ |
vie_receiver.h | 81 virtual bool OnRecoveredPacket(const uint8_t* packet, 94 bool ReceivePacket(const uint8_t* packet, 100 bool ParseAndHandleEncapsulatingHeader(const uint8_t* packet,
|
/external/chromium_org/ui/events/gesture_detection/ |
gesture_event_data_packet.cc | 88 GestureEventDataPacket packet(gesture.time, 92 packet.Push(gesture); 93 return packet;
|
/external/deqp/modules/glshared/ |
glsRandomShaderProgram.cpp | 193 const rr::VertexPacket* packet = packets[packetNdx]; local 194 const tcu::Vec4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, packet->vertexNdx); 212 rr::VertexPacket* packet = packets[packetNdx]; local 214 packet->position[0] = access.component(0).asFloat(ndx); 215 packet->position[1] = access.component(1).asFloat(ndx); 216 packet->position[2] = access.component(2).asFloat(ndx); 217 packet->position[3] = access.component(3).asFloat(ndx); 234 rr::VertexPacket* const packet = packets[packetNdx]; member in class:deqp::gls::rr 235 float* const dst = packet->outputs[varNdx].getAccess<float>() 271 const rr::FragmentPacket& packet = packets[packetOffset+packetNdx]; local [all...] |
/external/libpcap/msdos/ |
pkt_rx0.asm | 49 destinAdr db 6 dup (0) ; packet destination address
50 sourceAdr db 6 dup (0) ; packet source address
51 protocol dw 0 ; packet protocol number
57 _pktDrop dw 0,0 ; packet drop counter
107 ;; NOTE. rxInOfs is updated after the packet has been copied
108 ;; to ES:DI (= DS:SI on 2nd call) by the packet driver
114 ; This routine gets called by the packet driver twice:
115 ; 1st time (AX=0) it requests an address where to put the packet
117 ; 2nd time (AX=1) the packet has been copied to this location (DS:SI)
119 ; CX has # of bytes in packet on both call. They should be equal. [all...] |
/external/android-clat/ |
ipv6.c | 30 * takes an icmp6 packet and sets it up for translation 31 * out - output packet 32 * icmp6 - pointer to icmp6 header in packet 72 * takes an ipv6 packet and hands it off to the layer 4 protocol function 73 * out - output packet 74 * packet - packet data 75 * len - size of packet 78 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { 79 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
test_service_discovery_client.h | 35 void SimulateReceive(const uint8* packet, int size);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_packet_parser.h | 23 // Iterator to walk over records of the DNS response packet. Encapsulates 27 // Constructs an iterator to process the |packet| of given |length|. 28 DnsPacketParser(const char* packet, size_t length); 35 // Returns |true| if no more bytes remain in the packet. 38 // Returns header of DNS packet. 50 // Returns current offset into the packet. 53 // Parses a (possibly compressed) DNS name from the packet starting at
|
/external/chromium_org/media/cast/ |
cast_sender_impl.h | 24 // senders, pacer, packet receiver and frame input. 49 void ReceivedPacket(scoped_ptr<Packet> packet);
|
/external/chromium_org/media/cast/test/ |
fake_media_source.cc | 401 ScopedAVPacket packet(new AVPacket()); 402 if (av_read_frame(av_format_context_, packet.get()) < 0) { 404 packet.reset(); 405 return packet.Pass(); 408 int stream_index = static_cast<int>(packet->stream_index); 414 // Ignore unknown packet. 415 LOG(INFO) << "Unknown packet."; 416 packet.reset(); 418 return packet.Pass(); 421 void FakeMediaSource::DecodeAudio(ScopedAVPacket packet) { 554 ScopedAVPacket packet = DemuxOnePacket(&audio_packet); local [all...] |