/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
packet_buffer_unittest.cc | 18 #include "webrtc/modules/audio_coding/neteq/packet.h" 30 Packet* NextPacket(int payload_size_bytes); 47 Packet* PacketGenerator::NextPacket(int payload_size_bytes) { 48 Packet* packet = new Packet; local 49 packet->header.sequenceNumber = seq_no_; 50 packet->header.timestamp = ts_; 51 packet->header.payloadType = pt_; 52 packet->header.markerBit = false 83 Packet* packet = gen.NextPacket(payload_len); local 106 Packet* packet = gen.NextPacket(payload_len); local 127 Packet* packet = gen.NextPacket(payload_len); local 136 Packet* packet = gen.NextPacket(payload_len); local 156 Packet* packet = gen.NextPacket(payload_len); local 192 Packet* packet = gen.NextPacket(payload_len); local 196 Packet* packet = gen.NextPacket(payload_len); local 258 Packet* packet = gen.NextPacket(payload_len); local 275 Packet* packet = buffer.GetNextPacket(&drop_count); local 315 Packet* packet = gen.NextPacket(payload_len); local 346 Packet* packet = gen.NextPacket(payload_len); local 371 Packet* packet = buffer.GetNextPacket(NULL); local 391 Packet* packet = NULL; local 519 Packet* packet = gen.NextPacket(payload_len); local [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
fec_test_helper.cc | 45 // Creates a new RtpPacket with the RED header added to the packet. 46 RtpPacket* FrameGenerator::BuildMediaRedPacket(const RtpPacket* packet) { 47 const int kHeaderLength = packet->header.header.headerLength; 49 red_packet->header = packet->header; 50 red_packet->length = packet->length + 1; // 1 byte RED header. 53 memcpy(red_packet->data, packet->data, kHeaderLength); 55 memcpy(red_packet->data + kHeaderLength + 1, packet->data + kHeaderLength, 56 packet->length - kHeaderLength); 62 // header. Finally replaces the payload with the content of |packet->data|. 63 RtpPacket* FrameGenerator::BuildFecRedPacket(const Packet* packet) [all...] |
rtp_format_vp8_unittest.cc | 258 // Frag start only true for first packet in equal size mode. 284 // EqualSize mode => First packet full; other not. 287 // Frag start only true for first packet in equal size mode. 317 // Expect one single packet of payload_size() + 4 bytes header. 319 const int kExpectedPart[1] = {0}; // Packet starts with partition 0. 346 // Expect one single packet of payload_size() + 3 bytes header. 348 const int kExpectedPart[1] = {0}; // Packet starts with partition 0. 376 // Expect one single packet of payload_size() + 3 bytes header. 378 const int kExpectedPart[1] = {0}; // Packet starts with partition 0. 410 uint8_t packet[4] = {0} local 430 uint8_t packet[10] = {0}; local 463 uint8_t packet[13] = {0}; local 481 uint8_t packet[10] = {0}; local 500 uint8_t packet[10] = {0}; local 518 uint8_t packet[10] = {0}; local 537 uint8_t packet[4] = {0}; local 552 uint8_t packet[20] = {0}; local [all...] |
rtcp_packet_unittest.cc | 51 RawPacket packet = rr.Build(); local 53 parser.Parse(packet.buffer(), packet.buffer_length()); 73 RawPacket packet = rr.Build(); local 75 parser.Parse(packet.buffer(), packet.buffer_length()); 99 RawPacket packet = rr.Build(); local 101 parser.Parse(packet.buffer(), packet.buffer_length()); 118 RawPacket packet = sr.Build() local 140 RawPacket packet = sr.Build(); local 160 RawPacket packet = sr.Build(); local 173 RawPacket packet = ij.Build(); local 184 RawPacket packet = ij.Build(); local 197 RawPacket packet = ij.Build(); local 214 RawPacket packet = app.Build(); local 236 RawPacket packet = app.Build(); local 252 RawPacket packet = sdes.Build(); local 270 RawPacket packet = sdes.Build(); local 283 RawPacket packet = sdes.Build(); local 297 RawPacket packet = pli.Build(); local 316 RawPacket packet = sli.Build(); local 335 RawPacket packet = nack.Build(); local 356 RawPacket packet = nack.Build(); local 378 RawPacket packet = rpsi.Build(); local 393 RawPacket packet = rpsi.Build(); local 407 RawPacket packet = rpsi.Build(); local 421 RawPacket packet = rpsi.Build(); local 436 RawPacket packet = rpsi.Build(); local 449 RawPacket packet = fir.Build(); local 467 RawPacket packet = rr.Build(); local 482 RawPacket packet = empty.Build(); local 502 RawPacket packet = sr.Build(); local 516 RawPacket packet = bye.Build(); local 531 RawPacket packet = bye.Build(); local 552 uint8_t packet[kRrLength + kReportBlockLength + kFirLength]; local 573 uint8_t packet[kRrLength + kReportBlockLength - 1]; local 592 uint8_t packet[kRrLength + kReportBlockLength - 1]; local 609 RawPacket packet = remb.Build(); local 629 RawPacket packet = tmmbr.Build(); local 643 RawPacket packet = tmmbn.Build(); local 656 RawPacket packet = tmmbn.Build(); local 673 RawPacket packet = tmmbn.Build(); local 691 RawPacket packet = xr.Build(); local 706 RawPacket packet = xr.Build(); local 728 RawPacket packet = xr.Build(); local 745 RawPacket packet = xr.Build(); local 765 RawPacket packet = xr.Build(); local 790 RawPacket packet = xr.Build(); local 833 RawPacket packet = xr.Build(); local 873 RawPacket packet = xr.Build(); local 894 RawPacket packet = xr.Build(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
InvokeMethod002Test.java | 58 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsString(classSig); 64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 84 packet = new CommandPacket( 87 packet.setNextValueAsClassID(classID); 89 reply = debuggeeWrapper.vmMirror.performCommand(packet); 109 packet = new CommandPacket( 112 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 113 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 114 packet.setNextValueAsInt(1) [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
frame_buffer.cc | 16 #include "webrtc/modules/video_coding/main/source/packet.h" 84 // Insert packet 86 VCMFrameBuffer::InsertPacket(const VCMPacket& packet, 90 assert(!(NULL == packet.dataPtr && packet.sizeBytes > 0)); 91 if (packet.dataPtr != NULL) { 92 _payloadType = packet.payloadType; 96 // First packet (empty and/or media) inserted into this frame. 98 _timeStamp = packet.timestamp; 99 // We only take the ntp timestamp of the first packet of a frame [all...] |
/bionic/libc/kernel/uapi/linux/ |
pg.h | 30 char packet[12]; member in struct:pg_write_hdr
|
/development/ndk/platforms/android-L/include/linux/ |
pg.h | 30 char packet[12]; member in struct:pg_write_hdr
|
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 108 char packet[1024]; local 112 int n = recvfrom(tunnel, packet, sizeof(packet), 0, 117 packet[n] = 0; 118 } while (packet[0] != 0 || strcmp(secret, &packet[1])); 201 // Send the parameters several times in case of packet loss. 206 // Allocate the buffer for a single packet. 207 char packet[32767]; local 219 // Read the outgoing packet from the input stream [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
InvokeMethod002Test.java | 57 CommandPacket packet = new CommandPacket( local 60 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 61 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 62 packet.setNextValueAsInt(1); 63 packet.setNextValueAsByte((byte) 4); // class-only modifier. 64 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 96 packet = new CommandPacket( 99 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 100 packet.setNextValueAsInt(requestID) [all...] |
InvokeMethod003Test.java | 59 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 63 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 64 packet.setNextValueAsInt(1); 65 packet.setNextValueAsByte((byte) 4); // class-only modifier. 66 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 67 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 98 packet = new CommandPacket( 101 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 102 packet.setNextValueAsInt(requestID) [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_packet_parser.cc | 10 DnsPacketParser::DnsPacketParser(const char* packet, size_t length) 11 : packet_(packet), 13 record_parser_(packet, length, sizeof(header_)) { 14 base::BigEndianReader reader(packet, length);
|
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/ |
PacketDecoder.java | 32 public static PacketDecoder tryDecode(ByteBuffer packet) throws SocketTunnelBase.ProtocolError { 34 decoder.decodePacket(packet); 38 public static PacketDecoder decode(ByteBuffer packet) { 40 return tryDecode(packet);
|
/external/chromium_org/remoting/codec/ |
audio_decoder.h | 25 // Returns the decoded packet. If the packet is invalid, then a NULL 27 virtual scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) = 0;
|
audio_decoder_verbatim.h | 23 scoped_ptr<AudioPacket> packet) OVERRIDE;
|
audio_encoder_verbatim.h | 21 scoped_ptr<AudioPacket> packet) OVERRIDE;
|
video_encoder_verbatim.cc | 18 static uint8_t* GetPacketOutputBuffer(VideoPacket* packet, size_t size) { 19 packet->mutable_data()->resize(size); 20 return reinterpret_cast<uint8_t*>(string_as_array(packet->mutable_data())); 33 scoped_ptr<VideoPacket> packet(helper_.CreateVideoPacket(frame)); 34 packet->mutable_format()->set_encoding(VideoPacketFormat::ENCODING_VERBATIM); 45 uint8_t* out = GetPacketOutputBuffer(packet.get(), output_size); 48 // Encode pixel data for all changed rectangles into the packet. 63 packet->set_encode_time_ms( 66 return packet.Pass();
|
/external/dnsmasq/contrib/wrt/ |
dhcp_lease_time.c | 76 return NULL; /* malformed packet */ 83 return NULL; /* malformed packet */ 86 return NULL; /* malformed packet */ 137 struct dhcp_packet packet; local 138 unsigned char *p = packet.options; 157 memset(&packet, 0, sizeof(packet)); 159 packet.hlen = 0; 160 packet.htype = 0; 162 packet.op = BOOTREQUEST [all...] |
/external/kernel-headers/original/uapi/linux/ |
pg.h | 5 pg.h defines the user interface to the generic ATAPI packet 49 char packet[12]; /* packet command */ member in struct:pg_write_hdr
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
LengthTest.java | 59 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsReferenceTypeID(classID); 63 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 92 CommandPacket packet = new CommandPacket( local 95 packet.setNextValueAsReferenceTypeID(classID); 96 packet.setNextValueAsInt(1); 97 packet.setNextValueAsFieldID(fieldID); 98 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 109 packet = new CommandPacket( 112 packet.setNextValueAsArrayID(arrayID) [all...] |
/external/chromium_org/remoting/client/ |
audio_player.cc | 34 void AudioPlayer::ProcessAudioPacket(scoped_ptr<AudioPacket> packet) { 35 CHECK_EQ(1, packet->data_size()); 36 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding()); 37 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate()); 38 DCHECK_EQ(kSampleSizeBytes, packet->bytes_per_sample()); 39 DCHECK_EQ(static_cast<int>(kChannels), packet->channels()); 40 DCHECK_EQ(packet->data(0).size() % (kChannels * kSampleSizeBytes), 0u); 47 // Start the Pepper audio player if this is the first packet. 48 if (sampling_rate_ != packet->sampling_rate()) { 56 sampling_rate_ = packet->sampling_rate() [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/ |
udp_event_emitter.h | 23 // Takes or gives away ownership of the packet. 24 Packet* ReadRXPacket_Locked(); 25 void WriteRXPacket_Locked(Packet* packet); 27 Packet* ReadTXPacket_Locked(); 28 void WriteTXPacket_Locked(Packet* packet);
|
/external/chromium_org/remoting/protocol/ |
audio_writer.cc | 31 void AudioWriter::ProcessAudioPacket(scoped_ptr<AudioPacket> packet, 33 buffered_writer_.Write(SerializeAndFrameMessage(*packet), done);
|
/external/jmdns/src/javax/jmdns/impl/ |
SocketListener.java | 38 DatagramPacket packet = new DatagramPacket(buf, buf.length); local 40 packet.setLength(buf.length); 41 this._jmDNSImpl.getSocket().receive(packet); 46 if (this._jmDNSImpl.getLocalHost().shouldIgnorePacket(packet)) { 50 DNSIncoming msg = new DNSIncoming(packet); 55 if (packet.getPort() != DNSConstants.MDNS_PORT) { 56 this._jmDNSImpl.handleQuery(msg, packet.getAddress(), packet.getPort());
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
CreateStringTest.java | 56 CommandPacket packet = new CommandPacket( local 59 packet.setNextValueAsString(CHECKED_STRING); 62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 67 packet = new CommandPacket( 70 packet.setNextValueAsObjectID(stringID); 73 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|