Searched defs:packet (Results 101 - 125 of 509) sorted by relevance

1234567891011>>

/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
H A DWorkgroupInformation.java20 package org.jivesoftware.smackx.workgroup.packet;
22 import org.jivesoftware.smack.packet.PacketExtension;
27 * A packet extension that contains information about the user and agent in a
28 * workgroup chat. The packet extension is attached to group chat invitations.
33 * Element name of the packet extension.
38 * Namespace of the packet extension.
/external/android-clat/
H A Dipv4.c27 * translates an icmp packet
28 * out - output packet
29 * icmp - pointer to icmp header in packet
51 * translates an ipv4 packet
52 * out - output packet
53 * packet - packet data
54 * len - size of packet
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
58 const struct iphdr *header = (struct iphdr *) packet;
[all...]
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
H A DPacketDecoder.java32 public static PacketDecoder tryDecode(ByteBuffer packet) throws SocketTunnelBase.ProtocolError { argument
34 decoder.decodePacket(packet);
38 public static PacketDecoder decode(ByteBuffer packet) { argument
40 return tryDecode(packet);
/external/chromium_org/media/cast/net/rtp/
H A Dframe_buffer.cc28 // Is this the first packet in the frame?
43 // Insert every packet only once.
52 // Insert the packet.
97 int packet = 0; local
99 i != packets_.end() && packet <= maximum;
102 while (packet < end) {
103 missing_packets->insert(packet);
104 packet++;
106 packet++;
108 while (packet <
[all...]
H A Drtp_parser.cc21 bool RtpParser::ParsePacket(const uint8* packet, argument
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.
/external/chromium_org/media/cast/test/
H A Dloopback_transport.cc26 virtual void Send(scoped_ptr<Packet> packet) OVERRIDE {
27 packet_receiver_.Run(packet.Pass());
47 bool LoopBackTransport::SendPacket(PacketRef packet, argument
50 scoped_ptr<Packet> packet_copy(new Packet(packet->data));
52 bytes_sent_ += packet->data.size();
/external/chromium_org/remoting/host/
H A Daudio_scheduler.cc82 void AudioScheduler::EncodeAudioPacket(scoped_ptr<AudioPacket> packet) { argument
84 DCHECK(packet.get());
90 audio_encoder_->Encode(packet.Pass());
92 // The audio encoder returns a NULL audio packet if there's no audio to send.
100 void AudioScheduler::SendAudioPacket(scoped_ptr<AudioPacket> packet) { argument
102 DCHECK(packet.get());
107 audio_stub_->ProcessAudioPacket(packet.Pass(), base::Closure());
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Drtpdump_unittest.cc41 // Test that we read the correct header fields from the RTP/RTCP packet.
77 RtpDumpPacket packet; local
82 // Write a RTP packet to the stream, which is a valid RTP dump. Next, we will
87 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet));
96 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet));
105 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet));
114 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet));
127 RtpDumpPacket packet; local
130 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet));
132 EXPECT_TRUE(GetRtpSsrc(&packet
165 RtpDumpPacket packet; local
192 RtpDumpPacket packet; local
220 RtpDumpPacket packet; local
261 RtpDumpPacket packet; local
283 RtpDumpPacket packet; local
[all...]
H A Drtputils_unittest.cc115 unsigned char packet[] = { local
119 EXPECT_TRUE(SetRtpHeaderFlags(packet, sizeof(packet), false, false, 0));
120 EXPECT_TRUE(SetRtpPayloadType(packet, sizeof(packet), 9u));
121 EXPECT_TRUE(SetRtpSeqNum(packet, sizeof(packet), 1111u));
122 EXPECT_TRUE(SetRtpTimestamp(packet, sizeof(packet), 2222u));
123 EXPECT_TRUE(SetRtpSsrc(packet, sizeo
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dstunserver_unittest.cc68 rtc::TestClient::Packet* packet = client_->NextPacket(); local
69 if (packet) {
70 rtc::ByteBuffer buf(packet->buf, packet->size);
73 delete packet;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_ringbuffer.c73 const struct util_packet *packet )
83 assert(packet->dwords <= ring->mask);
87 while (util_ringbuffer_space(ring) < packet->dwords)
92 for (i = 0; i < packet->dwords; i++) {
94 /* Copy all dwords of the packet. Note we're abusing the
96 * something, but probably not an array of packet structs:
98 ring->buf[ring->head] = packet[i];
110 struct util_packet *packet,
149 packet[i] = ring->buf[ring->tail];
109 util_ringbuffer_dequeue( struct util_ringbuffer *ring, struct util_packet *packet, unsigned max_dwords, boolean wait ) argument
/external/chromium_org/third_party/speex/libspeex/
H A Dspeex_header.c145 EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size) argument
151 if (packet[i]!=h[i])
166 SPEEX_COPY(le_header, (SpeexHeader*)packet, 1);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dcomfort_noise.cc28 int ComfortNoise::UpdateParameters(Packet* packet) { argument
29 assert(packet); // Existence is verified by caller.
32 packet->header.payloadType);
34 delete [] packet->payload;
35 delete packet;
38 decoder_database_->SetActiveCngDecoder(packet->header.payloadType);
41 packet->payload,
42 packet->payload_length);
43 delete [] packet->payload;
44 delete packet;
[all...]
H A Ddecoder_database_unittest.cc151 // Create packet with payload type |i|. The last packet will have a payload
153 Packet* packet = new Packet; local
154 packet->header.payloadType = i;
155 packet_list.push_back(packet);
158 // Expect to return false, since the last packet is of an unknown type.
H A Dtimestamp_scaler_unittest.cc16 #include "webrtc/modules/audio_coding/neteq/packet.h"
139 // Alternate between G.722 and CNG every other packet.
159 // Make sure that the method ToInternal(Packet* packet) is wired up correctly.
174 Packet packet; local
175 packet.header.payloadType = kRtpPayloadType;
177 packet.header.timestamp = external_timestamp;
179 scaler.ToInternal(&packet);
180 EXPECT_EQ(internal_timestamp, packet.header.timestamp);
188 // correctly. Since it is simply calling the ToInternal(Packet* packet) method,
324 Packet* packet local
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dfec_test_helper.cc45 // Creates a new RtpPacket with the RED header added to the packet.
46 RtpPacket* FrameGenerator::BuildMediaRedPacket(const RtpPacket* packet) { argument
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) { argument
[all...]
H A Drtp_header_parser.cc24 virtual bool Parse(const uint8_t* packet,
45 bool RtpHeaderParser::IsRtcp(const uint8_t* packet, size_t length) { argument
46 RtpUtility::RtpHeaderParser rtp_parser(packet, length);
50 bool RtpHeaderParserImpl::Parse(const uint8_t* packet, argument
53 RtpUtility::RtpHeaderParser rtp_parser(packet, length);
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
H A Dpacket_manipulator.cc48 uint8_t* packet = NULL; local
53 while ((nbr_bytes_to_read = packet_reader_->NextPacket(&packet)) > 0) {
54 // Check if we're currently in a packet loss burst that is not completed:
/external/chromium_org/ui/events/gesture_detection/
H A Dgesture_event_data_packet_unittest.cc65 GestureEventDataPacket packet; local
66 EXPECT_EQ(0U, packet.gesture_count());
67 EXPECT_EQ(GestureEventDataPacket::UNDEFINED, packet.gesture_source());
69 packet = GestureEventDataPacket::FromTouch(
71 EXPECT_TRUE(touch_time == packet.timestamp());
72 EXPECT_EQ(0U, packet.gesture_count());
73 EXPECT_EQ(gfx::PointF(kTouchX, kTouchY), packet.touch_location());
78 packet.Push(gesture);
80 ASSERT_EQ(index + 1U, packet.gesture_count());
81 EXPECT_TRUE(GestureEquals(gesture, packet
99 GestureEventDataPacket packet = GestureEventDataPacket::FromTouch( local
[all...]
/external/deqp/framework/referencerenderer/
H A DrrVertexPacket.cpp21 * \brief Vertex packet and Vertex packet allocator
85 VertexPacket* packet = *--m_singleAllocPool.end(); local
87 return packet;
/external/iptables/include/linux/netfilter/
H A Dxt_statistic.h29 __u32 packet; member in struct:xt_statistic_info::__anon22608::__anon22610
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_statistic.h29 __u32 packet; member in struct:xt_statistic_info::__anon23235::__anon23237
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_ringbuffer.c73 const struct util_packet *packet )
83 assert(packet->dwords <= ring->mask);
87 while (util_ringbuffer_space(ring) < packet->dwords)
92 for (i = 0; i < packet->dwords; i++) {
94 /* Copy all dwords of the packet. Note we're abusing the
96 * something, but probably not an array of packet structs:
98 ring->buf[ring->head] = packet[i];
110 struct util_packet *packet,
149 packet[i] = ring->buf[ring->tail];
109 util_ringbuffer_dequeue( struct util_ringbuffer *ring, struct util_packet *packet, unsigned max_dwords, boolean wait ) argument
/external/smack/src/org/jivesoftware/smack/
H A DPacketCollector.java27 import org.jivesoftware.smack.packet.Packet;
36 * Each packet collector will queue up a configured number of packets for processing before
51 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
62 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
76 * Explicitly cancels the packet collector so that no more results are
77 * queued up. Once a packet collector has been cancelled, it cannot be
78 * re-enabled. Instead, a new packet collector must be created.
81 // If the packet collecto
148 processPacket(Packet packet) argument
[all...]
/external/smack/src/org/jivesoftware/smack/packet/
H A DAuthentication.java21 package org.jivesoftware.smack.packet;
26 * Authentication packet, which can be used to login to a XMPP server as well
37 * Create a new authentication packet. By default, the packet will be in
40 * modes back from the server, change the type of the IQ packet to "get":

Completed in 2596 milliseconds

1234567891011>>