/external/chromium_org/remoting/codec/ |
video_encoder_verbatim.cc | 24 scoped_ptr<VideoPacket> packet(new VideoPacket()); 26 VideoPacketFormat* format = packet->mutable_format(); 43 uint8_t* out = GetOutputBuffer(packet.get(), output_size); 46 // Store all changed rectangles in the packet. 59 Rect* dirty_rect = packet->add_dirty_rects(); 66 packet->set_capture_time_ms(frame.capture_time_ms()); 67 packet->set_encode_time_ms( 70 packet->mutable_format()->set_x_dpi(frame.dpi().x()); 71 packet->mutable_format()->set_y_dpi(frame.dpi().y()); 74 return packet.Pass() [all...] |
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;
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAndroidDatagramTest.java | 48 DatagramPacket packet; field in class:OldAndroidDatagramTest.Reflector 58 packet.setLength(buffer.length); 59 socket.receive(packet); 60 String s = stringFromPacket(packet); 61 // System.out.println(s + " (from " + packet.getAddress() + ":" + packet.getPort() + ")"); 69 stringToPacket(s.toUpperCase(), packet); local 71 packet.setAddress(InetAddress.getLocalHost()); 72 packet.setPort(2345); 74 socket.send(packet); 130 DatagramPacket packet = new DatagramPacket(buffer, buffer.length); local [all...] |
/external/qemu/ |
shaper.c | 46 * we're going to implement a scheme where, when we send a packet of 47 * 'count' bytes, no other packet will go through in the same direction for 48 * at least 'count*8/MAX_RATE' seconds. any successive packet that is "sent" 69 QueuedPacket packet; local 70 size_t packet_size = sizeof(*packet); 75 packet = qemu_malloc(packet_size); 76 packet->next = NULL; 77 packet->expiration = 0; 78 packet->size = (size_t)size; 79 packet->opaque = opaque 120 QueuedPacket packet = shaper->packets; local 137 QueuedPacket packet; local 188 QueuedPacket packet = shaper->packets; local 229 QueuedPacket packet; local 297 QueuedPacket packet; member in struct:SessionRec_ 433 QueuedPacket packet = session->packet; local 488 QueuedPacket packet = session->packet; local [all...] |
/external/chromium_org/net/quic/ |
quic_packet_creator.h | 5 // Accumulates frames for the next packet until more frames no longer fit or 6 // it's time to create a packet from them. Also provides packet creation of 48 // QuicRandom* required for packet entropy. 60 // Checks if it's time to send an FEC packet. |force_close| forces this to 73 // The overhead the framing will add for a packet with one frame. 84 // packet if there is one. Returns the number of bytes consumed from data. 94 // the packet that contains this stream frame is ACKed. 96 // generated packet. 104 // Serializes all frames into a single packet. All frames must fit into [all...] |
quic_fec_group.h | 7 // to revive a dropped packet. 24 // Updates the FEC group based on the delivery of a data packet. 25 // Returns false if this packet has already been seen, true otherwise. 29 // Updates the FEC group based on the delivery of an FEC packet. 30 // Returns false if this packet has already been seen or if it does 37 // Returns true if a packet can be revived from this FEC group. 44 // Revives the missing packet from this FEC group. This may return a packet 45 // that is null padded to a greater length than the original packet, but 47 // written to |decrypted_payload|, or 0 if the packet could not be revived [all...] |
/system/core/libnetutils/ |
packet.c | 164 } packet; local 170 nread = read(s, &packet, sizeof(packet)); 175 * The raw packet interface gives us all packets received by the 182 ALOGD("Packet is too small (%d) to be a UDP datagram", nread); 184 } else if (packet.ip.version != IPVERSION || packet.ip.ihl != (sizeof(packet.ip) >> 2)) { 186 ALOGD("Not a valid IP packet"); 188 } else if (nread < ntohs(packet.ip.tot_len)) [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Packet.java | 21 package org.jivesoftware.smack.packet; 41 * Base class for XMPP packets. Every packet has a unique ID (which is automatically 52 public abstract class Packet { 60 * Constant used as packetID to indicate that a packet has no id. To indicate that a packet 61 * has no id set this constant as the packet's id. When the packet is asked for its id the 116 public Packet() { 119 public Packet(Packet p) [all...] |
PacketExtension.java | 21 package org.jivesoftware.smack.packet; 24 * Interface to represent packet extensions. A packet extension is an XML subdocument 25 * with a root element name and namespace. Packet extensions are used to provide 27 * packet extensions include message events, message properties, and extra presence data. 28 * IQ packets cannot contain packet extensions. 53 * @return the packet extension as XML.
|
/external/smack/src/org/jivesoftware/smack/filter/ |
FromContainsFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 37 * @param from the from field value the packet must contain. 46 public boolean accept(Packet packet) { 47 if (packet.getFrom() == null) { 51 return packet.getFrom().toLowerCase().indexOf(from) != -1;
|
ThreadFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 24 import org.jivesoftware.smack.packet.Message; 47 public boolean accept(Packet packet) { 48 return packet instanceof Message && thread.equals(((Message) packet).getThread());
|
ToContainsFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 38 * @param to the to field value the packet must contain. 47 public boolean accept(Packet packet) { 48 if (packet.getTo() == null) { 52 return packet.getTo().toLowerCase().indexOf(to) != -1;
|
FromMatchesFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 30 * if the sender of the packet matches the specified resource. 45 * specified address is a full JID then the filter will only match if the sender of the packet 48 * @param address the from field value the packet must match. Could be a full or bare JID. 58 public boolean accept(Packet packet) { 59 if (packet.getFrom() == null) { 63 // Check if the bare JID of the sender of the packet matches the specified JID 64 return packet.getFrom().toLowerCase().startsWith(address) [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/util/ |
NodeUtils.java | 16 import org.jivesoftware.smack.packet.Packet;
30 * Get a {@link ConfigureForm} from a packet.
32 * @param packet
36 public static ConfigureForm getFormFromPacket(Packet packet, PubSubElementType elem)
38 FormNode config = (FormNode)packet.getExtension(elem.getElementName(), elem.getNamespace().getXmlns());
|
/external/chromium_org/chrome/browser/net/ |
probe_message.h | 16 // Packet format between client and server is defined in probe_message.proto. 21 // Generate a ProbeRequest packet. 28 // Make an encoded packet (string) from a ProbePacket object. 29 std::string MakeEncodedPacket(const ProbePacket& packet) const; 30 // Fill some common fields in the packet header. 33 // Parse the input string (which is an encoded packet) and save the result to 34 // packet. Return true if there is no error and false otherwise. 35 bool ParseInput(const std::string& input, ProbePacket* packet) const; 50 // Encode the packet with kEncodingString. This is also used for decoding.
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/ |
Data.java | 14 package org.jivesoftware.smackx.bytestreams.ibb.packet;
16 import org.jivesoftware.smack.packet.IQ;
26 /* the data packet extension */
32 * @param data data packet extension containing the encoded data
41 * also set as packet extension so that data packet extension can be
49 * Returns the data packet extension.
51 * Convenience method for <code>packet.getExtension("data",
54 * @return the data packet extension
|
/frameworks/av/media/mtp/ |
MtpStorageInfo.cpp | 46 void MtpStorageInfo::read(MtpDataPacket& packet) { 50 mStorageType = packet.getUInt16(); 51 mFileSystemType = packet.getUInt16(); 52 mAccessCapability = packet.getUInt16(); 53 mMaxCapacity = packet.getUInt64(); 54 mFreeSpaceBytes = packet.getUInt64(); 55 mFreeSpaceObjects = packet.getUInt32(); 57 packet.getString(string); 59 packet.getString(string);
|
/external/iptables/extensions/ |
libxt_CONNSECMARK.man | 12 If the packet has a security marking, copy it to the connection 16 If the packet does not have a security marking, and the connection 17 does, copy the security marking from the connection to the packet.
|
libxt_socket.man | 2 packet.
|
/external/libogg/doc/libogg/ |
ogg_packet.html | 21 The ogg_packet struct encapsulates the data for a single raw packet of data 30 unsigned char *packet; 46 <dt><i>packet</i></dt> 47 <dd>Pointer to the packet's data. This is treated as an opaque type by the ogg layer.</dd> 49 <dd>Indicates the size of the packet data in bytes. Packets can be of arbitrary size.</dd> 51 <dd>Flag indicating whether this packet begins a logical bitstream. <tt>1</tt> indicates this is the first packet, <tt>0</tt> indicates any other position in the stream.</dd> 53 <dd>Flag indicating whether this packet ends a bitstream. <tt>1</tt> indicates the last packet, <tt>0</tt> indicates any other position in the stream.</dd> 55 <dd>A number indicating the position of this packet in the decoded data. This is the last sample, frame or other unit of information ('granule') that (…) [all...] |
/external/speex/include/speex/ |
speex_jitter.h | 56 /** Definition of an incoming packet */ 59 /** Definition of an incoming packet */ 61 char *data; /**< Data bytes contained in the packet */ 62 spx_uint32_t len; /**< Length of the packet in bytes */ 63 spx_uint32_t timestamp; /**< Timestamp for the packet */ 64 spx_uint32_t span; /**< Time covered by the packet (same units as timestamp) */ 69 /** Packet has been retrieved */ 71 /** Packet is lost or is late */ 73 /** A "fake" packet is meant to be inserted here to increase buffering */ 92 /** Assign a function to destroy unused packet. When setting that, the jitter [all...] |
/external/chromium_org/net/tools/quic/ |
quic_time_wait_list_manager.cc | 66 // server_address - server address on which a packet what was received for 68 // client_address - address of the client that sent that packet. Needed to send 69 // the public reset packet back to the client. 70 // packet - the pending public reset packet that is to be sent to the client. 71 // created instance takes the ownership of this packet. 76 QuicEncryptedPacket* packet) 79 packet_(packet) { 84 QuicEncryptedPacket* packet() { return packet_.get(); } function in class:net::tools::QuicTimeWaitListManager::QueuedPacket 140 const QuicEncryptedPacket& packet) { 273 QuicPublicResetPacket packet; local [all...] |
/external/linux-tools-perf/scripts/python/bin/ |
netdev-times-report | 2 # description: display a process of packet and processing time
|
/external/tcpdump/ |
stime.awk | 5 # where <send time> is the time packet was sent (in seconds with 6 # zero at time of first packet) and <seq no> is the tcp sequence 7 # number of the packet divided by 1024 (i.e., Kbytes sent). 16 # get packet sequence number
|
/external/valgrind/main/gdbserver_tests/ |
mchelp.stderrB.exp | 5 error reading packet
|