/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
richards.js | 51 var queue = new Packet(null, ID_WORKER, KIND_WORK); 52 queue = new Packet(queue, ID_WORKER, KIND_WORK); 55 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 60 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 61 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 83 * These two constants specify how many times a packet is queued and 123 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
v8-richards.html | 57 var queue = new Packet(null, ID_WORKER, KIND_WORK); 58 queue = new Packet(queue, ID_WORKER, KIND_WORK); 61 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 63 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 66 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 67 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 68 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 89 * These two constants specify how many times a packet is queued and 129 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/v8/benchmarks/ |
richards.js | 51 var queue = new Packet(null, ID_WORKER, KIND_WORK); 52 queue = new Packet(queue, ID_WORKER, KIND_WORK); 55 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 60 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 61 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 83 * These two constants specify how many times a packet is queued and 123 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/v8/benchmarks/ |
richards.js | 51 var queue = new Packet(null, ID_WORKER, KIND_WORK); 52 queue = new Packet(queue, ID_WORKER, KIND_WORK); 55 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 60 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 61 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 83 * These two constants specify how many times a packet is queued and 123 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
Node.java | 33 import org.jivesoftware.smack.packet.Message;
34 import org.jivesoftware.smack.packet.Packet;
35 import org.jivesoftware.smack.packet.PacketExtension;
36 import org.jivesoftware.smack.packet.IQ.Type;
38 import org.jivesoftware.smackx.packet.DelayInformation;
39 import org.jivesoftware.smackx.packet.DiscoverInfo;
40 import org.jivesoftware.smackx.packet.Header;
41 import org.jivesoftware.smackx.packet.HeadersExtension;
45 import org.jivesoftware.smackx.pubsub.packet.PubSub; 114 PubSub packet = createPubsubPacket(Type.SET, new FormNode(FormNodeType.CONFIGURE_OWNER, getId(), submitForm), PubSubNamespace.OWNER); local 253 PubSub packet = (PubSub)sendPubsubPacket(Type.GET, new OptionsExtension(jid, getId(), subscriptionId)); local [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 164 // Allocate the buffer for a single packet. 165 ByteBuffer packet = ByteBuffer.allocate(32767); local 177 // Read the outgoing packet from the input stream. 178 int length = in.read(packet.array()); 180 // Write the outgoing packet to the tunnel. 181 packet.limit(length); 182 tunnel.write(packet); 183 packet.clear(); 194 // Read the incoming packet from the tunnel. 195 length = tunnel.read(packet); 263 ByteBuffer packet = ByteBuffer.allocate(1024); local [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 71 * takes an ipv6 packet and hands it off to the layer 4 protocol function 72 * out - output packet 73 * packet - packet data 74 * len - size of packet 77 int ipv6_packet(clat_packet out, int pos, const char *packet, size_t len) { 78 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; [all...] |
/external/chromium_org/media/cast/net/rtp_sender/ |
rtp_sender.cc | 78 // Get packet from storage. 81 // Resend packet to the network. 85 // Set a unique incremental sequence number for every packet. 86 Packet& packet = packets_to_resend.back(); local 87 UpdateSequenceNumber(&packet); 99 // Resend packet to the network. 103 Packet& packet = packets_to_resend.back(); local 104 UpdateSequenceNumber(&packet); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/ |
sctputils_unittest.cc | 35 void VerifyOpenMessageFormat(const talk_base::Buffer& packet, 45 talk_base::ByteBuffer buffer(packet.data(), packet.length()); 88 talk_base::Buffer packet; local 90 cricket::WriteDataChannelOpenMessage(input_label, config, &packet)); 92 VerifyOpenMessageFormat(packet, input_label, config); 97 packet, &output_label, &output_config)); 113 talk_base::Buffer packet; local 115 cricket::WriteDataChannelOpenMessage(input_label, config, &packet)); 117 VerifyOpenMessageFormat(packet, input_label, config) 137 talk_base::Buffer packet; local [all...] |
/external/dhcpcd/ |
bpf.c | 160 * So we pass the buffer in the API so we can loop on >1 packet. */ 166 struct bpf_hdr packet; local 183 else if ((size_t)bytes < sizeof(packet)) 189 memcpy(&packet, iface->buffer + iface->buffer_pos, 190 sizeof(packet)); 191 if (packet.bh_caplen != packet.bh_datalen) 192 goto next; /* Incomplete packet, drop. */ 193 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen [all...] |
/external/libppp/src/ |
slcompress.h | 43 * Compressed packet format: 45 * The first octet contains the packet type (top 3 bits), TCP 49 * the compressed packet. The next two octets are the TCP checksum 64 * ack is more than 65535, an uncompressed packet is sent.) 68 * Packet types (must not conflict with IP protocol version) 70 * The top nibble of the first octet is the packet type. There are 72 * control flags set); uncompressed TCP (a normal IP/TCP packet but 74 * this type of packet syncs the sender & receiver); and compressed 79 * three bits are actual packet type. For backward compatibility 82 * means "IP packet" [all...] |
/external/ppp/pppd/include/net/ |
slcompress.h | 32 * Compressed packet format: 34 * The first octet contains the packet type (top 3 bits), TCP 38 * the compressed packet. The next two octets are the TCP checksum 53 * ack is more than 65535, an uncompressed packet is sent.) 57 * Packet types (must not conflict with IP protocol version) 59 * The top nibble of the first octet is the packet type. There are 61 * control flags set); uncompressed TCP (a normal IP/TCP packet but 63 * this type of packet syncs the sender & receiver); and compressed 68 * three bits are actual packet type. For backward compatibility 71 * means "IP packet" [all...] |
vjcompress.h | 32 * Compressed packet format: 34 * The first octet contains the packet type (top 3 bits), TCP 38 * the compressed packet. The next two octets are the TCP checksum 53 * ack is more than 65535, an uncompressed packet is sent.) 57 * Packet types (must not conflict with IP protocol version) 59 * The top nibble of the first octet is the packet type. There are 61 * control flags set); uncompressed TCP (a normal IP/TCP packet but 63 * this type of packet syncs the sender & receiver); and compressed 68 * three bits are actual packet type. For backward compatibility 71 * means "IP packet" [all...] |
/external/smack/src/org/jivesoftware/smack/ |
RosterGroup.java | 24 import org.jivesoftware.smack.packet.IQ; 25 import org.jivesoftware.smack.packet.RosterPacket; 77 RosterPacket packet = new RosterPacket(); local 78 packet.setType(IQ.Type.SET); 82 packet.addRosterItem(item); 83 connection.sendPacket(packet); 171 RosterPacket packet = new RosterPacket(); local 172 packet.setType(IQ.Type.SET); 175 packet.addRosterItem(item); 178 .createPacketCollector(new PacketIDFilter(packet.getPacketID())) 213 RosterPacket packet = new RosterPacket(); local [all...] |
/external/srtp/srtp/ |
ekt.c | 207 uint8_t *packet; local 217 packet = (uint8_t*)base_tag + base_tag_len; 219 /* copy encrypted master key into packet */ 221 memcpy(packet, ekt->encrypted_master_key, emk_len); 223 octet_string_hex_string(packet, emk_len)); 224 packet += emk_len; 226 /* copy ROC into packet */ 228 *((uint32_t *)packet) = be32_to_cpu(roc); 230 octet_string_hex_string(packet, sizeof(roc))); 231 packet += sizeof(roc) [all...] |
/external/eigen/test/ |
packetmath.cpp | 56 internal::pstore(data2, POP(internal::pload<Packet>(data1), internal::pload<Packet>(data1+PacketSize))); \ 63 internal::pstore(data2, POP(internal::pload<Packet>(data1))); \ 67 template<bool Cond,typename Packet> 71 inline Packet load(const T* from) const { return internal::pload<Packet>(from); } 74 inline void store(T* to, const Packet& x) const { internal::pstore(to,x); } 77 template<typename Packet> 78 struct packet_helper<false,Packet> 88 packet_helper<COND,Packet> h; [all...] |
/external/chromium_org/third_party/opus/src/tests/ |
test_opus_api.c | 89 unsigned char packet[1276]; local 188 VG_UNDEF(packet,sizeof(packet)); 189 packet[0]=63<<2;packet[1]=packet[2]=0; 190 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); 196 packet[0]=1; 197 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed(); 247 VG_UNDEF(packet,sizeof(packet)) 348 unsigned char packet[1276]; local 712 unsigned char packet[1276]; local 1071 unsigned char packet[1276]; local 1430 unsigned char *packet; local [all...] |
/external/chromium_org/net/quic/congestion_control/ |
pacing_sender_test.cc | 36 // In order for the packet to be sendable, the underlying sender must 43 // Verify that the packet can be sent immediately. 49 // Actually send the packet. 72 // Actually send the packet. 82 // In order for the packet to be sendable, the underlying sender must 89 // Verify that the packet is delayed. 129 // Configure bandwith of 1 packet per 2 ms, for which the pacing rate 130 // will be 1 packet per 1 ms. 139 // The first packet was a "make up", then we sent two packets "into the
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_ringbuffer.c | 73 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];
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_ringbuffer.c | 73 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];
|
/external/smack/src/org/jivesoftware/smackx/carbons/ |
Carbon.java | 19 import org.jivesoftware.smack.packet.Packet; 20 import org.jivesoftware.smack.packet.PacketExtension; 24 import org.jivesoftware.smackx.packet.DelayInfo; 29 * Packet extension for XEP-0280: Message Carbons. This class implements 30 * the packet extension and a {@link PacketExtensionProvider} to parse 31 * message carbon copies from a packet. The extension 62 * get the forwarded packet. 122 * Packet extension indicating that a message may not be carbon-copied.
|
/external/chromium_org/net/quic/ |
quic_connection_test.cc | 289 QuicEncryptedPacket packet(buffer, buf_len); 292 if (packet.length() >= sizeof(final_bytes_of_last_packet_)) { 294 memcpy(&final_bytes_of_last_packet_, packet.data() + packet.length() - 4, 304 EXPECT_TRUE(framer.ProcessPacket(packet)); 308 last_packet_size_ = packet.length(); 352 // packet as a little-endian, uint32. This is intended to be used with a 354 // a given packet. 357 // Returns the final bytes of the second to last packet. 410 QuicPacket* packet, 742 QuicPacket* packet = local 765 QuicPacket* packet = local 2379 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2391 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2403 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2414 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2427 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2480 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2497 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2522 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2542 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2678 QuicPacket* packet = ConstructDataPacket(1, 0, !kEntropyFlag); local 2693 connection_.ProcessUdpPacket(IPEndPoint(), IPEndPoint(), *packet); local 2815 QuicPacket* packet = ConstructDataPacket(i, 0, entropy_flag); local 3334 QuicPacket* packet = local [all...] |