HomeSort by relevance Sort by last modified time
    Searched defs:packet (Results 401 - 425 of 615) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_sanity.c 54 /* New (1.3) state mechanism. 3 commands (packet, scalar, vector) in
62 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon18119
530 int id = (int)header.packet.packet_id;
531 int sz = packet[id].len;
536 fprintf(stderr, "Packet overflows cmdbuf\n");
540 if (!packet[id].name) {
541 fprintf(stderr, "*** Unknown packet 0 nr %d\n", id );
547 fprintf(stderr, "Packet 0 reg %s nr %d\n", packet[id].name, sz );
550 struct reg *reg = lookup_reg( regs, packet[id].start + i*4 )
    [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
1072 unsigned char packet[1276]; local
1441 unsigned char *packet; local
    [all...]
test_opus_encode.c 102 fprintf(stdout,"writing %d byte packet to %s\n",len,name);
133 unsigned char packet[MAX_PACKET+257]; local
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
285 if(opus_packet_pad(packet,len,len+1)!=OPUS_OK)test_failed();
290 if(opus_packet_pad(packet,len,len+256)!=OPUS_OK)test_failed();
295 len=opus_packet_unpad(packet,len);
298 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0);
303 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0);
305 out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&7)!=0);
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_device/test/
func_test_manager.cc 157 AudioPacket* packet = new AudioPacket(); local
158 memcpy(packet->dataBuffer, audioSamples, nSamples * nBytesPerSample);
159 packet->nSamples = (uint16_t) nSamples;
160 packet->nBytesPerSample = nBytesPerSample;
161 packet->nChannels = nChannels;
162 packet->samplesPerSec = samplesPerSec;
163 _audioList.push_back(packet);
307 AudioPacket* packet = _audioList.front(); local
309 if (packet)
317 const uint16_t nSamplesIn = packet->nSamples
    [all...]
  /external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
remote_bitrate_estimator_unittest_helper.cc 62 RtpPacket* packet = new RtpPacket; local
63 packet->send_time = time_now_us + kSendSideOffsetUs;
64 packet->size = packet_size;
65 packet->rtp_timestamp = rtp_timestamp_offset_ + static_cast<uint32_t>(
66 ((frequency_ / 1000) * packet->send_time + 500) / 1000);
67 packet->ssrc = ssrc_;
68 packets->push_back(packet);
79 // Generates an RTCP packet.
247 testing::RtpStream::RtpPacket* packet = packets.front(); local
249 // The simulated clock should match the time of packet->arrival_tim
    [all...]
  /external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
bwe_test_framework_unittest.cc 75 packets.push_back(Packet(100, 0));
78 packets.push_back(Packet(110, 0));
82 packets.push_back(Packet(100, 0));
85 // ...remove the out-of-order packet, insert another in-order packet.
87 packets.push_back(Packet(120, 0));
96 packets.push_back(Packet(0, 100));
99 packets.push_back(Packet(0, 110));
103 packets.push_back(Packet(0, 100));
106 // ...remove the out-of-order packet, insert another in-order packet
603 const Packet& packet = output_packets_.front(); local
616 const Packet& packet = *it; local
    [all...]
  /external/deqp/modules/gles2/functional/
es2fStencilTests.cpp 92 rr::VertexPacket& packet = *packets[packetNdx]; local
94 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 115 rr::VertexPacket& packet = *packets[packetNdx]; local
117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
200 rr::VertexPacket& packet = *packets[packetNdx]; local
202 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
203 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx)
364 rr::VertexPacket& packet = *packets[packetNdx]; local
516 rr::VertexPacket& packet = *packets[packetNdx]; local
625 rr::VertexPacket& packet = *packets[packetNdx]; local
733 rr::VertexPacket& packet = *packets[packetNdx]; local
830 rr::VertexPacket& packet = *packets[packetNdx]; local
    [all...]
es3fStencilTests.cpp 95 rr::VertexPacket& packet = *packets[packetNdx]; local
97 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
  /external/dhcpcd/
net.c 48 # include <netpacket/packet.h>
703 make_udp_packet(uint8_t **packet, const uint8_t *data, size_t length,
715 * We copy the data to our packet and then create a small part of the
718 * of the whole packet into the udp checksum.
745 *packet = (uint8_t *)udpp;
752 struct udp_dhcp_packet packet; local
754 memcpy(&packet, udp, sizeof(packet));
756 return ntohs(packet.ip.ip_len) -
757 sizeof(packet.ip)
765 struct udp_dhcp_packet packet; local
    [all...]
  /external/dnsmasq/src/
forward.c 27 /* Send a UDP packet with its source address set as "source"
29 static void send_from(int fd, int nowild, char *packet, size_t len,
47 iov[0].iov_base = packet;
279 packet straight away (helps modem users when offline) */
344 /* Keep info in case we want to re-send this packet */
399 /* If upstream is advertising a larger UDP packet size
465 sections of the packet. Find the new length here and put back pseudoheader
473 /* packet from peer server, extract data for cache, and send to
479 ssize_t n = recvfrom(fd, daemon->packet, daemon->edns_pktsz, 0, &serveraddr.sa, &addrlen);
483 /* packet buffer overwritten *
741 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); local
    [all...]
tftp.c 23 static ssize_t tftp_err(int err, char *packet, char *mess, char *file);
24 static ssize_t tftp_err_oops(char *packet, char *file);
25 static ssize_t get_block(char *packet, struct tftp_transfer *transfer);
44 char *packet = daemon->packet; local
77 iov.iov_base = packet;
187 p = packet + 2;
188 end = packet + len;
190 if (ntohs(*((unsigned short *)packet)) != OP_RRQ ||
194 len = tftp_err(ERR_ILL, packet, _("unsupported request from %s"), inet_ntoa(peer.sin_addr))
290 char *packet = daemon->packet, *namebuff = daemon->namebuff; local
    [all...]
  /external/eigen/Eigen/src/Core/
PlainObjectBase.h 179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::PlainObjectBase
189 EIGEN_STRONG_INLINE PacketScalar packet(Index index) const function in class:Eigen::PlainObjectBase
    [all...]
  /external/iputils/
clockdiff.c 136 u_char packet[PACKET_IN], opacket[64]; local
137 struct icmphdr *icp = (struct icmphdr *) packet;
139 struct iphdr *ip = (struct iphdr *) packet;
154 cc = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
220 cc = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
226 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
313 u_char packet[PACKET_IN], opacket[64]; local
314 struct icmphdr *icp = (struct icmphdr *) packet;
316 struct iphdr *ip = (struct iphdr *) packet;
330 cc = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0
    [all...]
  /external/libopus/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
1072 unsigned char packet[1276]; local
1441 unsigned char *packet; local
    [all...]
test_opus_encode.c 102 fprintf(stdout,"writing %d byte packet to %s\n",len,name);
133 unsigned char packet[MAX_PACKET+257]; local
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
285 if(opus_packet_pad(packet,len,len+1)!=OPUS_OK)test_failed();
290 if(opus_packet_pad(packet,len,len+256)!=OPUS_OK)test_failed();
295 len=opus_packet_unpad(packet,len);
298 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0);
303 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0);
305 out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&7)!=0);
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_sanity.c 58 /* New (1.3) state mechanism. 3 commands (packet, scalar, vector) in
66 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon31666
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_sanity.c 54 /* New (1.3) state mechanism. 3 commands (packet, scalar, vector) in
62 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon31678
530 int id = (int)header.packet.packet_id;
531 int sz = packet[id].len;
536 fprintf(stderr, "Packet overflows cmdbuf\n");
540 if (!packet[id].name) {
541 fprintf(stderr, "*** Unknown packet 0 nr %d\n", id );
547 fprintf(stderr, "Packet 0 reg %s nr %d\n", packet[id].name, sz );
550 struct reg *reg = lookup_reg( regs, packet[id].start + i*4 )
    [all...]
  /external/mtpd/
pptp.c 84 static struct packet { struct
  /external/qemu/android/
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 = g_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/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbelo.c 87 /* Check if we have a touch packet */
187 int eloSendPacket(unsigned char* packet, int fd)
192 packet[0] = ELO_START_BYTE;
194 sum += packet[i];
197 packet[ELO_PACKET_SIZE-1] = sum;
199 result = write(fd, packet, ELO_PACKET_SIZE);
273 unsigned char packet[ELO_PACKET_SIZE]; local
276 if (eloWaitReply(ELO_ACK, packet, fd)) {
278 if (packet[2 + i] != '0') {
285 fprintf(stderr, "Elographics acknowledge packet reports %d errors\n", nb_errors)
    [all...]
  /external/smack/src/org/jivesoftware/smack/
PacketReader.java 24 import org.jivesoftware.smack.packet.*;
37 * Listens for XML traffic from the XMPP server and parses it into packet objects.
38 * The packet reader also invokes all packet listeners and collectors.<p>
73 readerThread.setName("Smack Packet Reader (" + connection.connectionCounterValue + ")");
92 * Starts the packet reader thread and returns once a connection to the server
123 * Shuts the packet reader down.
146 * Cleans up all resources used by the packet reader.
189 // the connectionID lock so that the packet reader startup can finish.
307 * Processes a packet after it's been fully parsed by looping through the installe
417 private Packet packet; field in class:PacketReader.ListenerNotification
    [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...]
XMPPError.java 21 package org.jivesoftware.smack.packet;
26 * Represents a XMPP error sub-packet. Typically, a server responds to a request that has
27 * problems by sending the packet back and including an error packet. Each error has a code, type,
132 * @param extension list of packet extensions
255 * @param elementName the XML element name of the packet extension.
256 * @param namespace the XML element namespace of the packet extension.
272 * Adds a packet extension to the error.
274 * @param extension a packet extension.
284 * Set the packet extension to the error
    [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...]

Completed in 914 milliseconds

<<11121314151617181920>>