HomeSort by relevance Sort by last modified time
    Searched full:packet (Results 1 - 25 of 3660) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
event_emitter_udp.cc 21 Packet* EventEmitterUDP::ReadRXPacket_Locked() {
22 Packet* packet = in_fifo_.ReadPacket(); local
25 return packet;
28 void EventEmitterUDP::WriteRXPacket_Locked(Packet* packet) {
29 in_fifo_.WritePacket(packet);
34 Packet* EventEmitterUDP::ReadTXPacket_Locked() {
35 Packet* packet = out_fifo_.ReadPacket() local
    [all...]
event_emitter_udp.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);
packet.cc 5 #include "nacl_io/packet.h"
13 Packet::Packet(PepperInterface* ppapi)
19 Packet:: ~Packet() {
25 void Packet::Take(const void *buffer, size_t len, PP_Resource addr) {
31 void Packet::Copy(const void *buffer, size_t len, PP_Resource addr) {
fifo_packet.h 20 class Packet;
25 // in packet size increments. FIFOPacket signals EMPTY where there are
40 // Return a pointer to the top packet without releasing ownership.
41 Packet* PeekPacket();
43 // Relinquish top packet, and remove it from the FIFO.
44 Packet* ReadPacket();
46 // Take ownership of packet and place it in the FIFO.
47 void WritePacket(Packet* packet);
50 std::list<Packet*> packets_
    [all...]
  /external/eigen/Eigen/src/Core/
GenericPacketMath.h 94 template<typename Packet> inline Packet
95 padd(const Packet& a,
96 const Packet& b) { return a+b; }
99 template<typename Packet> inline Packet
100 psub(const Packet& a,
101 const Packet& b) { return a-b; }
104 template<typename Packet> inline Packet
    [all...]
  /external/smack/src/org/jivesoftware/smack/provider/
package.html 1 <body>Provides pluggable parsing of incoming IQ's and packet extensions.</body
  /external/chromium_org/remoting/codec/
audio_decoder_verbatim.cc 19 scoped_ptr<AudioPacket> packet) {
20 // Return a null scoped_ptr if we get a corrupted packet.
21 if ((packet->encoding() != AudioPacket::ENCODING_RAW) ||
22 (packet->data_size() != 1) ||
23 (packet->sampling_rate() == AudioPacket::SAMPLING_RATE_INVALID) ||
24 (packet->bytes_per_sample() != AudioPacket::BYTES_PER_SAMPLE_2) ||
25 (packet->channels() != AudioPacket::CHANNELS_STEREO) ||
26 (packet->data(0).size() %
28 LOG(WARNING) << "Verbatim decoder received an invalid packet.";
31 return packet.Pass()
    [all...]
audio_encoder_verbatim.cc 17 scoped_ptr<AudioPacket> packet) {
18 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding());
19 DCHECK_EQ(1, packet->data_size());
20 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate());
21 DCHECK_NE(AudioPacket::BYTES_PER_SAMPLE_INVALID, packet->bytes_per_sample());
22 DCHECK_NE(AudioPacket::CHANNELS_INVALID, packet->channels());
23 return packet.Pass();
  /external/chromium_org/media/filters/
ffmpeg_h264_to_annex_b_bitstream_converter.cc 21 bool FFmpegH264ToAnnexBBitstreamConverter::ConvertPacket(AVPacket* packet) {
25 if (packet == NULL) {
48 converter_.CalculateNeededOutputBufferSize(packet->data, packet->size);
50 return false; // Invalid input packet.
54 // Allocate new packet for the output.
60 // the pointer of the old packet with a new one, we will initially copy the
61 // metadata from old packet to new bigger packet.
62 dest_packet.pts = packet->pts
    [all...]
  /external/iproute2/include/linux/tc_act/
tc_mirred.h 8 #define TCA_EGRESS_REDIR 1 /* packet redirect to EGRESS*/
9 #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */
10 #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
11 #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/tc_act/
tc_mirred.h 7 #define TCA_EGRESS_REDIR 1 /* packet redirect to EGRESS*/
8 #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */
9 #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
10 #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_act/
tc_mirred.h 7 #define TCA_EGRESS_REDIR 1 /* packet redirect to EGRESS*/
8 #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */
9 #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
10 #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_act/
tc_mirred.h 7 #define TCA_EGRESS_REDIR 1 /* packet redirect to EGRESS*/
8 #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */
9 #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
10 #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
  /external/smack/src/org/jivesoftware/smack/filter/
IQTypeFilter.java 22 import org.jivesoftware.smack.packet.IQ;
23 import org.jivesoftware.smack.packet.Packet;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
43 * @see org.jivesoftware.smack.filter.PacketFilter#accept(org.jivesoftware.smack.packet.Packet)
45 public boolean accept(Packet packet) {
    [all...]
PacketFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Defines a way to filter packets for particular attributes. Packet filters are
27 * used when constructing packet listeners or collectors -- the filter defines
29 * packet processing.<p>
32 * for more complex packet filtering by using the
39 * // Use an anonymous inner class to define a packet filter that returns
40 * // all packets that have a packet ID of "RS145".
42 * public boolean accept(Packet packet) {
    [all...]
PacketIDFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Filters for packets with a particular packet ID.
35 * Creates a new packet ID filter using the specified packet ID.
37 * @param packetID the packet ID to filter for.
41 throw new IllegalArgumentException("Packet ID cannot be null.");
46 public boolean accept(Packet packet) {
47 return packetID.equals(packet.getPacketID())
    [all...]
PacketExtensionFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Filters for packets with a particular type of packet extension.
36 * Creates a new packet extension filter. Packets will pass the filter if
37 * they have a packet extension that matches the specified element name
40 * @param elementName the XML element name of the packet extension.
41 * @param namespace the XML namespace of the packet extension.
49 * Creates a new packet extension filter. Packets will pass the filter if they have a packet
52 * @param namespace the XML namespace of the packet extension
    [all...]
PacketTypeFilter.java 23 import org.jivesoftware.smack.packet.Packet;
38 Class<? extends Packet> packetType;
41 * Creates a new packet type filter that will filter for packets that are the
46 public PacketTypeFilter(Class<? extends Packet> packetType) {
47 // Ensure the packet type is a sub-class of Packet.
48 if (!Packet.class.isAssignableFrom(packetType)) {
49 throw new IllegalArgumentException("Packet type must be a sub-class of Packet.")
    [all...]
  /external/smack/src/org/jivesoftware/smackx/muc/
ConnectionDetachedPacketCollector.java 27 import org.jivesoftware.smack.packet.Packet;
45 private ArrayBlockingQueue<Packet> resultQueue;
48 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
56 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
60 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
64 * Polls to see if a packet is currently available and returns it, or
68 * @return the next packet result, or <tt>null</tt> if there are no mor
    [all...]
  /frameworks/av/media/mtp/
MtpObjectInfo.cpp 58 void MtpObjectInfo::read(MtpDataPacket& packet) {
62 mStorageID = packet.getUInt32();
63 mFormat = packet.getUInt16();
64 mProtectionStatus = packet.getUInt16();
65 mCompressedSize = packet.getUInt32();
66 mThumbFormat = packet.getUInt16();
67 mThumbCompressedSize = packet.getUInt32();
68 mThumbPixWidth = packet.getUInt32();
69 mThumbPixHeight = packet.getUInt32();
70 mImagePixWidth = packet.getUInt32()
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/packet/
SyncPacketSend.java 14 package org.jivesoftware.smackx.pubsub.packet;
22 import org.jivesoftware.smack.packet.Packet;
26 * methods for sending a packet to the server and waiting for the reply.
35 static public Packet getReply(Connection connection, Packet packet, long timeout)
38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID());
41 connection.sendPacket(packet);
44 Packet result = response.nextResult(timeout);
    [all...]
  /external/llvm/test/CodeGen/Generic/
2003-05-30-BadPreselectPhi.ll 5 ;; Function: struct task *handlerfn(struct packet *pkt)
12 %struct..packet = type { %struct..packet*, i32, i32, i32, [4 x i8] }
13 %struct..task = type { %struct..task*, i32, i32, %struct..packet*, i32, %struct..task* (%struct..packet*)*, i32, i32 }
17 define %struct..task* @handlerfn(%struct..packet* %pkt.2) {
19 %tmp.1 = icmp ne %struct..packet* %pkt.2, null ; <i1> [#uses=1]
27 %tmp.12 = bitcast i32* %mem_tmp.0 to %struct..packet* ; <%struct..packet*> [#uses=1]
28 call void @append( %struct..packet* %pkt.2, %struct..packet* %tmp.12
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
SyncPacketSend.java 22 import org.jivesoftware.smack.packet.Packet;
26 * methods for sending a packet to the server and waiting for the reply.
35 static public Packet getReply(Connection connection, Packet packet, long timeout)
38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID());
41 connection.sendPacket(packet);
44 Packet result = response.nextResult(timeout);
58 static public Packet getReply(Connection connection, Packet packet)
    [all...]
  /external/smack/src/org/jivesoftware/smack/
PacketCollector.java 27 import org.jivesoftware.smack.packet.Packet;
36 * Each packet collector will queue up a configured number of packets for processing before
46 private ArrayBlockingQueue<Packet> resultQueue;
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
72 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
76 * Explicitly cancels the packet collector so that no more results ar
    [all...]
PacketWriter.java 23 import org.jivesoftware.smack.packet.Packet;
31 * Writes packets to a XMPP server. Packets are sent using a dedicated thread. Packet
33 * sent. Packet listeners can be registered to listen for all outgoing packets.
46 private final BlockingQueue<Packet> queue;
50 * Creates a new packet writer with the specified connection.
55 this.queue = new ArrayBlockingQueue<Packet>(500, true);
73 writerThread.setName("Smack Packet Writer (" + connection.connectionCounterValue + ")");
78 * Sends the specified packet to the server.
80 * @param packet the packet to send
146 Packet packet = null; local
167 Packet packet = nextPacket(); local
180 Packet packet = queue.remove(); local
    [all...]

Completed in 317 milliseconds

1 2 3 4 5 6 7 8 91011>>