/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
HandleExit.java | 66 JdwpPacket packet = new JdwpPacket(rawBuf); local 71 finishChunkPacket(packet, CHUNK_EXIT, buf.position()); 73 client.sendAndConsume(packet, mInst);
|
MonitorThread.java | 314 * See if we have a full packet in the buffer. It's possible we have 315 * more than one packet, so we have to loop. 317 JdwpPacket packet = client.getJdwpPacket(); local 318 while (packet != null) { 319 if (packet.isDdmPacket()) { 321 assert !packet.isReply(); 322 callHandler(client, packet, null); 323 packet.consume(); 324 } else if (packet.isReply() 325 && client.isResponseToUs(packet.getId()) != null) 524 JdwpPacket packet = dbg.getJdwpPacket(); local [all...] |
HandleProfiling.java | 100 JdwpPacket packet = new JdwpPacket(rawBuf); local 108 finishChunkPacket(packet, CHUNK_MPRS, buf.position()); 111 client.sendAndConsume(packet, mInst); 126 JdwpPacket packet = new JdwpPacket(rawBuf); local 131 finishChunkPacket(packet, CHUNK_MPRE, buf.position()); 133 client.sendAndConsume(packet, mInst); 180 JdwpPacket packet = new JdwpPacket(rawBuf); local 186 finishChunkPacket(packet, CHUNK_MPSS, buf.position()); 189 client.sendAndConsume(packet, mInst); 201 JdwpPacket packet = new JdwpPacket(rawBuf) local 235 JdwpPacket packet = new JdwpPacket(rawBuf); local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
rtpdump.cc | 58 // RTP packet format (http://www.networksorcery.com/enp/protocol/rtp.htm). 93 talk_base::StreamResult RtpDumpReader::ReadPacket(RtpDumpPacket* packet) { 94 if (!packet) return talk_base::SR_ERROR; 106 // Read the RTP dump packet header. 117 packet->is_rtcp = (0 == data_len); 118 buf.ReadUInt32(&packet->elapsed_time); 119 packet->data.resize(dump_packet_len - sizeof(header)); 121 // Read the actual RTP or RTCP packet. 122 return stream_->ReadAll(&packet->data[0], packet->data.size(), NULL, NULL) [all...] |
channel.cc | 43 talk_base::Buffer packet; member in struct:cricket::PacketMessageData 68 static bool ValidPacket(bool rtcp, const talk_base::Buffer* packet) { 69 // Check the packet size. We could check the header too if needed. 70 return (packet && 71 packet->length() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) && 72 packet->length() <= kMaxRtpPacketLen); 75 static uint16 GetRtpSeqNum(const talk_base::Buffer* packet) { 76 return (packet->length() >= kMinRtpPacketLen) ? 77 talk_base::GetBE16(packet->data() + 2) : 0; 80 static uint32 GetRtpSsrc(const talk_base::Buffer* packet) { [all...] |
/external/libvpx/nestegg/include/nestegg/ |
nestegg.h | 82 typedef struct nestegg_packet nestegg_packet; /**< Opaque handle referencing a packet of data. */ 241 /** Read a packet of media data. A packet consists of one or more chunks of 246 @param packet Storage for the returned nestegg_packet. 250 int nestegg_read_packet(nestegg * context, nestegg_packet ** packet); 253 @param packet #nestegg_packet to be freed. @see nestegg_read_packet */ 254 void nestegg_free_packet(nestegg_packet * packet); 256 /** Query the track number of @a packet. 257 @param packet Packet initialized by #nestegg_read_packet [all...] |
/cts/tests/jni/ |
android_net_cts_NetlinkSocket.cpp | 43 jobject fileDescriptor, jint pid, jbyteArray packet) 45 void *bytes = (void *)e->GetByteArrayElements(packet, NULL); 46 uint32_t length = (uint32_t)e->GetArrayLength(packet); 57 e->ReleaseByteArrayElements(packet, (jbyte*)bytes, 0);
|
/external/grub/netboot/ |
nic.h | 26 char *packet; member in struct:nic
|
/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...] |
/frameworks/base/media/mtp/ |
MtpStorageInfo.h | 42 void read(MtpDataPacket& packet);
|
MtpDatabase.h | 65 MtpDataPacket& packet) = 0; 69 MtpDataPacket& packet) = 0; 72 MtpDataPacket& packet) = 0; 75 MtpDataPacket& packet) = 0; 82 MtpDataPacket& packet) = 0;
|
MtpDeviceInfo.h | 47 void read(MtpDataPacket& packet);
|
/external/speex/libspeex/ |
jitter.c | 85 int curr_count; /**< Number of packet timings we got (including those we discarded) */ 96 /* Add the timing of a new packet to the TimingBuffer */ 100 /* Discard packet that won't make it into the list because they're too early */ 140 spx_uint32_t last_returned_timestamp; /**< Useful for getting the next packet with the same timestamp (for fragmented media) */ 146 spx_uint32_t arrival[SPEEX_JITTER_MAX_BUFFER_SIZE]; /**< Packet arrival time (0 means it was late, even though it's a valid timestamp) */ 148 void (*destroy) (void *); /**< Callback for destroying a packet */ 151 spx_int32_t concealment_size; /**< Size of the packet loss concealment "units" */ 154 int late_cutoff; /**< How late must a packet be for it not to be considered at all */ 192 /* Number of packet timings we have received (including those we didn't keep) */ 199 /* Compute cost for one lost packet */ [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsyuv.c | 86 struct ps2_packet *packet; local 203 hwdata->plist.packet = (struct ps2_packet *)SDL_malloc( 205 if ( ! hwdata->plist.packet ) { 211 packet = hwdata->plist.packet; 224 packet[pnum].ptr = &tags[0]; 225 packet[pnum].len = 10 * sizeof(*tags); 242 packet[pnum].ptr = &tags[10]; 243 packet[pnum].len = 2 * sizeof(*tags); 247 packet[pnum].ptr = (void *)base 322 struct ps2_packet packet; local [all...] |
/bionic/libc/netbsd/resolv/ |
res_cache.c | 55 * - it takes raw DNS query packet data as input, and returns raw DNS 56 * answer packet data as output 338 /* dump the content of a query of packet to the log */ 363 /* reminder: the general format of a DNS packet is the following: 428 * OFFSET : 14 : offset to another part of the DNS packet 430 * The offset is relative to the start of the DNS packet and must point 465 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) 467 packet->base = buff; 468 packet->end = buff + bufflen; 469 packet->cursor = buff [all...] |
/frameworks/base/media/jni/ |
android_mtp_MtpDatabase.cpp | 125 MtpDataPacket& packet); 129 MtpDataPacket& packet); 132 MtpDataPacket& packet); 135 MtpDataPacket& packet); 142 MtpDataPacket& packet); 355 MtpDataPacket& packet) { 384 packet.putString(date); 391 packet.putString(date); 397 packet.putInt8(longValue); 400 packet.putUInt8(longValue) [all...] |
/external/dnsmasq/contrib/wrt/ |
dhcp_release.c | 252 struct dhcp_packet packet; local 253 unsigned char *p = packet.options; 275 /* This voodoo fakes up a packet coming from the correct interface, which really matters for 288 memset(&packet, 0, sizeof(packet)); 290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); 292 packet.htype = ARPHRD_ETHER; 294 packet.htype = mac_type; 296 packet.op = BOOTREQUEST [all...] |
/external/dnsmasq/src/ |
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...] |
/system/core/libcutils/ |
mq.c | 72 /** A generic packet of bytes. */ 77 /** Reading a packet header. */ 87 /** A packet header. */ 92 /** Packet size. Used for BYTES. */ 100 /** A packet which will be sent to a peer. */ 103 /** Packet header. */ 114 /** Frees all resources associated with this packet. */ 115 void (*free)(OutgoingPacket* packet); 120 /** Next packet in the queue. */ 264 /** Frees a simple, i.e. header-only, outgoing packet. * 635 OutgoingPacket* packet = NULL; local 853 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local 1137 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local 1205 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local [all...] |
/bionic/libc/kernel/common/linux/netfilter/ |
xt_statistic.h | 36 u_int32_t packet; member in struct:xt_statistic_info::__anon341::__anon343
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_statistic.h | 36 u_int32_t packet; member in struct:xt_statistic_info::__anon966::__anon968
|
/external/iptables/include/linux/netfilter/ |
xt_statistic.h | 29 __u32 packet; member in struct:xt_statistic_info::__anon6873::__anon6875
|
/external/kernel-headers/original/linux/netfilter/ |
xt_statistic.h | 25 u_int32_t packet; member in struct:xt_statistic_info::__anon7318::__anon7320
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_statistic.h | 25 u_int32_t packet; member in struct:xt_statistic_info::__anon21101::__anon21103
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/netfilter/ |
xt_statistic.h | 36 u_int32_t packet; member in struct:xt_statistic_info::__anon21719::__anon21721
|