Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 6 of 6) sorted by relevance

/system/extras/ioshark/
Dioshark_bench_mmap.c59 size_t total_len, off_t offset) in setup_mmap_io_state() argument
64 mio->resid = total_len; in setup_mmap_io_state()
66 total_len / MMAP_ENTS); in setup_mmap_io_state()
67 while (total_len > 0) { in setup_mmap_io_state()
71 MIN((u_int64_t)total_len, (u_int64_t)slice); in setup_mmap_io_state()
72 total_len -= mio->table[mio->num_entries].len; in setup_mmap_io_state()
/system/bt/stack/sdp/
Dsdp_discovery.cc775 uint32_t total_len; in add_attr() local
792 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR); in add_attr()
794 total_len = sizeof(tSDP_DISC_ATTR); in add_attr()
797 total_len = (total_len + 3) & ~3; in add_attr()
800 if (p_db->mem_free < total_len) return (NULL); in add_attr()
820 total_len = 0; in add_attr()
900 total_len = 0; in add_attr()
940 p_db->p_free_mem += total_len; in add_attr()
941 p_db->mem_free -= total_len; in add_attr()
/system/nfc/halimpl/bcm2079x/adaptation/
Duserial_linux.c1106 uint16_t total_len = 0; in USERIAL_Read() local
1119 if ((pbuf_USERIAL_Read->len) <= (len - total_len)) in USERIAL_Read()
1122 copy_len = (len - total_len); in USERIAL_Read()
1124 memcpy((p_data + total_len), current_packet, copy_len); in USERIAL_Read()
1126 total_len += copy_len; in USERIAL_Read()
1137 if (pbuf_USERIAL_Read == NULL && (total_len < len)) in USERIAL_Read()
1140 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len)); in USERIAL_Read()
1143 ALOGD("%s: returned %d bytes", __func__, total_len); in USERIAL_Read()
1145 return total_len; in USERIAL_Read()
/system/update_engine/
Dtest_http_server.cc239 const size_t total_len = end_offset - start_offset; in WritePayload() local
240 size_t remaining_len = total_len; in WritePayload()
268 return (total_len - remaining_len); in WritePayload()
/system/bt/stack/gatt/
Dgatt_sr.cc116 uint16_t ii, total_len, len; in process_read_multi_rsp() local
165 total_len = (p_buf->len + p_rsp->attr_value.len); in process_read_multi_rsp()
167 if (total_len > mtu) { in process_read_multi_rsp()
169 len = p_rsp->attr_value.len - (total_len - mtu); in process_read_multi_rsp()
/system/core/logd/
DLogStatistics.h193 static constexpr size_t total_len = 80; variable
222 std::max(size.length() + 1, EntryBaseConstants::total_len - in formatLine()