Home
last modified time | relevance | path

Searched refs:bytes_copied (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/hid/
Dhidh_conn.cc870 uint16_t bytes_copied; in hidh_conn_snd_data() local
920 bytes_copied = 0; in hidh_conn_snd_data()
928 bytes_copied = p_hcon->rem_mtu_size - 1; in hidh_conn_snd_data()
934 bytes_copied = buf->len; in hidh_conn_snd_data()
943 data_size = bytes_copied = 1; in hidh_conn_snd_data()
947 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
948 buf->offset += bytes_copied; in hidh_conn_snd_data()
949 buf->len -= bytes_copied; in hidh_conn_snd_data()
951 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
953 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
[all …]
/system/core/adb/
Dfile_sync_client.cpp433 uint64_t bytes_copied = 0; in SendLargeFile() local
457 bytes_copied += bytes_read; in SendLargeFile()
464 ReportProgress(rpath, bytes_copied, total_size); in SendLargeFile()
733 uint64_t bytes_copied = 0; in sync_recv() local
772 bytes_copied += msg.data.size; in sync_recv()
775 sc.ReportProgress(name != nullptr ? name : rpath, bytes_copied, expected_size); in sync_recv()