/external/webrtc/webrtc/test/fuzzers/ |
audio_decoder_fuzzer.cc | 37 size_t packet_len = PacketSizeFromTwoBytes(data_ptr, remaining_size); local 38 while (packet_len != 0 && packet_len <= remaining_size - 2) { 42 decoder->Decode(data_ptr, packet_len, sample_rate_hz, max_decoded_bytes, 44 data_ptr += packet_len; 45 remaining_size -= packet_len; 46 packet_len = PacketSizeFromTwoBytes(data_ptr, remaining_size);
|
/hardware/google/apf/ |
apf_interpreter.h | 39 * @param packet_len the length of {@code packet} in bytes. 46 const uint8_t* packet, uint32_t packet_len,
|
apf_run.c | 66 uint32_t packet_len = parse_hex(argv[2], &packet); local 68 int ret = accept_packet(program, program_len, packet, packet_len,
|
apf_interpreter.c | 41 * @param packet_len the length of {@code packet} in bytes. 48 const uint8_t* packet, uint32_t packet_len, 53 #define IN_PACKET_BOUNDS(p) (ENFORCE_UNSIGNED(p) && (p) < packet_len) 65 memory[MEMORY_OFFSET_PACKET_SIZE] = packet_len;
|
/external/libpcap/ |
pcap-septel.c | 77 unsigned short packet_len = 0; local 128 packet_len = m->len; 132 if (caplen > packet_len) { 134 caplen = packet_len; 137 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { 157 pcap_header.len = packet_len;
|
pcap-dag.c | 309 unsigned short packet_len = 0; local 386 packet_len = ntohs(header->wlen) + dag_record_size; 396 packet_len += 4; /* MC header */ 403 packet_len += 2; /* ETH header */ 408 packet_len += (8 * num_ext_hdr); 410 if (caplen > packet_len) { 411 caplen = packet_len; 425 packet_len = ntohs(header->wlen); 430 caplen = packet_len = ATM_CELL_SIZE; 435 packet_len = ntohs(header->wlen) [all...] |
pcap-win32.c | 306 int packet_len = 0, caplen = 0; local 356 packet_len = ATM_SNAPLEN; 364 packet_len = swt - (pw->dag_fcs_bits); 366 if (caplen > packet_len) 368 caplen = packet_len; 376 packet_len = swt - (pw->dag_fcs_bits); 378 if (caplen > packet_len) 380 caplen = packet_len; 430 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0) 440 pcap_header.len = packet_len; [all...] |
pcap-linux.c | 1566 int packet_len, caplen; local [all...] |
/system/bt/hci/src/ |
hci_inject.c | 164 size_t packet_len = (buffer[2] << 8) | buffer[1]; local 165 size_t frame_len = 3 + packet_len; 174 BT_HDR *buf = (BT_HDR *)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); 179 buf->len = packet_len; 180 memcpy(buf->data, buffer + 3, packet_len); 183 LOG_ERROR(LOG_TAG, "%s dropping injected packet of length %zu", __func__, packet_len);
|
/external/avahi/avahi-autoipd/ |
main.c | 286 static ArpPacket* packet_new(size_t packet_len) { 290 assert(packet_len > 0); 293 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + packet_len); 299 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + ETHER_HDR_SIZE + packet_len); 308 static ArpPacket* packet_new_with_info(const ArpPacketInfo *info, size_t *packet_len) { 314 assert(packet_len != NULL); 316 *packet_len = ARP_PACKET_SIZE; 317 p = packet_new(*packet_len); 334 static ArpPacket *packet_new_probe(uint32_t ip_address, const uint8_t*hw_address, size_t *packet_len) { 342 return packet_new_with_info(&info, packet_len); [all...] |
/external/webrtc/talk/media/base/ |
rtpdataengine.cc | 328 size_t packet_len = (kMinRtpPacketLen + sizeof(kReservedSpace) + local 330 if (packet_len > kDataMaxRtpPacketLen) { 336 if (!send_limiter_->CanUse(packet_len, now)) { 337 LOG(LS_VERBOSE) << "Dropped data packet of len=" << packet_len 349 rtc::Buffer packet(kMinRtpPacketLen, packet_len); 363 send_limiter_->Use(packet_len, now);
|
/external/srtp/include/ |
ekt.h | 150 int *packet_len,
|
/system/core/liblog/ |
pmsg_writer.c | 210 size_t length, packet_len; local 252 packet_len = LOGGER_ENTRY_MAX_PAYLOAD - sizeof(char) - length; 272 if (transfer > packet_len) { 273 transfer = strnrchr(buf, packet_len - 1, '\n') - buf;
|
/external/srtp/srtp/ |
ekt.c | 202 int *packet_len, 246 *packet_len += EKT_OCTETS_AFTER_EMK + emk_len;
|
/external/tcpdump/ |
print-isoclns.c | 2084 u_short packet_len,pdu_len, key_id; local [all...] |
print-olsr.c | 65 uint8_t packet_len[2]; member in struct:olsr_common 288 length = min(length, EXTRACT_16BITS(ptr.common->packet_len));
|
/external/libusb/libusb/os/ |
linux_usbfs.c | 1465 unsigned int packet_len; local [all...] |
/external/autotest/client/bin/net/ |
net_utils.py | 731 packet_len = len(raw_frame) 732 if packet_len < ethernet.HDR_LEN: 735 payload_len = packet_len - ethernet.HDR_LEN
|
/external/dnsmasq/src/ |
netlink.c | 295 while(sendto(fd, daemon->packet, daemon->packet_len, 0,
|
dnsmasq.h | 661 size_t packet_len; /* " " */ member in struct:daemon
|
/external/valgrind/coregrind/m_gdbserver/ |
server.c | 1143 int packet_len; local [all...] |
server.h | 303 int decode_X_packet (char *from, int packet_len, CORE_ADDR * mem_addr_ptr,
|
remote-utils.c | [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtcp_receiver_unittest.cc | 55 bool SendRtcp(const uint8_t* packet, size_t packet_len) override { 99 uint16_t packet_len) { 101 packet_len, [all...] |
/external/webrtc/webrtc/test/ |
rtcp_packet_parser.h | 634 void Parse(const void *packet, size_t packet_len);
|