Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 13 of 13) 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/core/logd/
DSerializedLogEntry.h62 .total_len = total_len(), in ToLogStatisticsElement()
90 uint16_t total_len() const { return sizeof(*this) + msg_len_; } in total_len() function
DSerializedLogChunk.cpp69 read_offset += entry->total_len(); in ClearUidLogs()
75 size_t entry_total_len = entry->total_len(); in ClearUidLogs()
111 write_offset_ += entry->total_len(); in Log()
DSerializedLogChunkTest.cpp49 EXPECT_EQ(expected_total_len, entry->total_len()); in TEST()
241 read_offset += entry->total_len(); in TEST_P()
245 read_offset += entry->total_len(); in TEST_P()
249 read_offset += entry->total_len(); in TEST_P()
272 read_offset += entry->total_len(); in TEST_P()
276 read_offset += entry->total_len(); in TEST_P()
DSerializedFlushToState.cpp59 read_offset += entry->total_len(); in CreateLogPosition()
122 log_positions_[log_id]->read_offset += entry->total_len(); in PopNextUnreadLog()
DSerializedLogBuffer.cpp90 auto total_len = sizeof(SerializedLogEntry) + len; in Log() local
91 if (!logs_[log_id].back().CanLog(total_len)) { in Log()
124 read_offset += entry->total_len(); in RemoveChunkFromStats()
DLogStatistics.h60 uint16_t total_len; member
192 explicit EntryBase(const LogStatisticsElement& element) : size_(element.total_len) {} in EntryBase()
196 void Add(const LogStatisticsElement& element) { size_ += element.total_len; } in Add()
198 size_ -= element.total_len; in Subtract()
202 void Erase(const LogStatisticsElement& element) { size_ -= element.total_len; } in Erase()
DLogStatistics.cpp130 element.total_len = element.msg_len; in Add()
134 uint16_t size = element.total_len; in Add()
206 element.total_len = element.msg_len; in Subtract()
210 uint16_t size = element.total_len; in Subtract()
297 element.total_len = 0; in Erase()
303 mSizes[log_id] -= element.total_len; in Erase()
DLogBufferElement.cpp116 .total_len = static_cast<uint16_t>(element_in_list_size + msg_len()), in ToLogStatisticsElement()
/system/bt/stack/sdp/
Dsdp_discovery.cc803 uint32_t total_len; in add_attr() local
823 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR); in add_attr()
825 total_len = sizeof(tSDP_DISC_ATTR); in add_attr()
835 total_len = (total_len + 3) & ~3; in add_attr()
838 if (p_db->mem_free < total_len) return (NULL); in add_attr()
857 total_len = 0; in add_attr()
936 total_len = 0; in add_attr()
977 p_db->p_free_mem += total_len; in add_attr()
978 p_db->mem_free -= total_len; in add_attr()
/system/update_engine/
Dtest_http_server.cc245 const size_t total_len = end_offset - start_offset; in WritePayload() local
246 size_t remaining_len = total_len; in WritePayload()
274 return (total_len - remaining_len); in WritePayload()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc621 int total_len = 0; in nfa_all_ee_find_total_sys_code_len() local
624 total_len += nfa_ee_find_total_sys_code_len(p_cb, 0); in nfa_all_ee_find_total_sys_code_len()
626 return total_len; in nfa_all_ee_find_total_sys_code_len()
1458 int total_len = nfa_ee_find_total_sys_code_len(p_cb, entry + 1); in nfa_ee_api_remove_sys_code() local
1464 rm_len, total_len); in nfa_ee_api_remove_sys_code()
1467 &p_cb->sys_code_cfg[offset + rm_len], total_len); in nfa_ee_api_remove_sys_code()
1469 total_len = p_cb->sys_code_cfg_entries - entry; in nfa_ee_api_remove_sys_code()
1472 &p_cb->sys_code_pwr_cfg[entry + 1], total_len); in nfa_ee_api_remove_sys_code()
1475 &p_cb->sys_code_rt_loc_vs_info[entry + 1], total_len); in nfa_ee_api_remove_sys_code()
1478 &p_cb->sys_code_rt_loc[entry + 1], total_len); in nfa_ee_api_remove_sys_code()
/system/bt/stack/gatt/
Dgatt_sr.cc117 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()