Home
last modified time | relevance | path

Searched refs:tot_len (Results 1 – 12 of 12) sorted by relevance

/aosp12/hardware/knowles/athletico/sound_trigger_hal/tests/
H A Dcrash_analyzer.c197 unsigned int file_index = 0, size = 0, tot_len = 0; in analyse_crash_info() local
210 file_index = buf[tot_len]; in analyse_crash_info()
212 size = buf[tot_len + 8] | in analyse_crash_info()
213 buf[tot_len + 9] << 8 | in analyse_crash_info()
214 buf[tot_len + 10] << 16 | in analyse_crash_info()
215 buf[tot_len + 11] << 24; in analyse_crash_info()
217 tot_len += STEP_LENGTH; in analyse_crash_info()
218 ptr = (unsigned char*)buf + tot_len; in analyse_crash_info()
221 find_fatal_assert(ptr, buf_len - tot_len, size, "CM4", in analyse_crash_info()
233 find_exceptionin_cm4(ptr, buf_len - tot_len, "CM4", in analyse_crash_info()
[all …]
H A Dcrash_event_logger.c159 file_index = buf[tot_len]; in split_crash_dump_buffer()
161 size = buf[tot_len + 8] | in split_crash_dump_buffer()
162 buf[tot_len + 9] << 8 | in split_crash_dump_buffer()
166 tot_len += STEP_LENGTH; in split_crash_dump_buffer()
185 ptr = buf + tot_len; in split_crash_dump_buffer()
188 tot_len += size; in split_crash_dump_buffer()
382 file_index = buf[tot_len]; in ssr_split_bin()
384 size = buf[tot_len + 8] | in ssr_split_bin()
389 tot_len += STEP_LENGTH; in ssr_split_bin()
409 ptr = buf + tot_len; in ssr_split_bin()
[all …]
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dwifilogger_diag.cpp255 tot_len += sizeof(tlv_log) + in process_bt_coex_scan_event()
363 tot_len += sizeof(tlv_log) + sizeof(link_id); in process_bt_coex_event()
380 tot_len += sizeof(tlv_log) + sizeof(Tsco); in process_bt_coex_event()
383 tot_len += sizeof(tlv_log) + sizeof(Rsco); in process_bt_coex_event()
497 tot_len += sizeof(tlv_log) + in process_extscan_event()
528 tot_len += sizeof(tlv_log) + in process_extscan_event()
670 tot_len += sizeof(tlv_log) + in process_roam_event()
697 tot_len += sizeof(tlv_log) + in process_roam_event()
739 tot_len += sizeof(tlv_log) + in process_roam_event()
761 tot_len += sizeof(tlv_log) + in process_roam_event()
[all …]
/aosp12/system/core/libnetutils/
H A Dpacket.c100 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size); in send_packet()
185 } else if (nread < ntohs(packet.ip.tot_len)) { in receive_packet()
187 ALOGD("Packet was truncated (read %d, needed %d)", nread, ntohs(packet.ip.tot_len)); in receive_packet()
234 nread = ntohs(packet.ip.tot_len); in receive_packet()
239 packet.ip.tot_len = packet.udp.len; in receive_packet()
/aosp12/packages/apps/Gallery2/jni/filters/
H A Dnegative.c24 int tot_len = height * width * 4; in JNIFUNCF() local
27 for (i = 0; i < tot_len; i+=4) { in JNIFUNCF()
/aosp12/system/netd/bpf_progs/
H A Dclatd.c103 .tot_len = htons(ntohs(ip6->payload_len) + sizeof(struct iphdr)), // u16
229 if (ntohs(ip4->tot_len) < sizeof(*ip4)) return TC_ACT_OK;
273 .payload_len = htons(ntohs(ip4->tot_len) - 20), // __be16
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dip.h83 __be16 tot_len; member
H A Dbpf.h1010 __u16 tot_len; member
/aosp12/bionic/libc/include/netinet/
H A Dip.h230 uint16_t tot_len; member
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A Dbcmip.h104 uint16 tot_len; /* Number of bytes in packet (max 65535) */ member
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Ddhdu.c1553 int tot_len = 0; in dhd_load_file_bytes() local
1568 while (tot_len < fsize) { in dhd_load_file_bytes()
1569 read_len = fsize - tot_len; in dhd_load_file_bytes()
1616 tot_len += len; in dhd_load_file_bytes()
/aosp12/packages/modules/Connectivity/Tethering/bpf_progs/
H A Doffload.c400 if (ntohs(ip->tot_len) < sizeof(*ip)) TC_PUNT(TRUNCATED_IPV4);