Searched refs:total_len (Results 1 - 7 of 7) sorted by relevance

/system/extras/ioshark/
H A Dioshark_bench_mmap.c59 size_t total_len, off_t offset)
64 mio->resid = total_len;
66 total_len / MMAP_ENTS);
67 while (total_len > 0) {
71 MIN((u_int64_t)total_len, (u_int64_t)slice);
72 total_len -= mio->table[mio->num_entries].len;
58 setup_mmap_io_state(struct mmap_io_ent_s *mio, size_t total_len, off_t offset) argument
/system/bt/stack/sdp/
H A Dsdp_discovery.cc798 uint32_t total_len; local
815 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR);
817 total_len = sizeof(tSDP_DISC_ATTR);
820 total_len = (total_len + 3) & ~3;
823 if (p_db->mem_free < total_len) return (NULL);
843 total_len = 0;
923 total_len = 0;
963 p_db->p_free_mem += total_len;
964 p_db->mem_free -= total_len;
[all...]
/system/nfc/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c1106 uint16_t total_len = 0; local
1119 if ((pbuf_USERIAL_Read->len) <= (len - total_len))
1122 copy_len = (len - total_len);
1124 memcpy((p_data + total_len), current_packet, copy_len);
1126 total_len += copy_len;
1137 if (pbuf_USERIAL_Read == NULL && (total_len < len))
1140 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len));
1143 ALOGD("%s: returned %d bytes", __func__, total_len);
1145 return total_len;
/system/update_engine/
H A Dtest_http_server.cc239 const size_t total_len = end_offset - start_offset; local
240 size_t remaining_len = total_len;
268 return (total_len - remaining_len);
/system/bt/stack/gatt/
H A Dgatt_sr.cc114 uint16_t ii, total_len, len; local
162 total_len = (p_buf->len + p_rsp->attr_value.len);
164 if (total_len > mtu) {
166 len = p_rsp->attr_value.len - (total_len - mtu);
/system/core/logd/
H A DLogStatistics.cpp317 size_t len = EntryBaseConstants::total_len -
554 size_t len = EntryBaseConstants::total_len -
H A DLogStatistics.h206 static constexpr size_t total_len = 80; member in namespace:EntryBaseConstants
236 std::max(size.length() + 1, EntryBaseConstants::total_len -

Completed in 436 milliseconds