Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_conn.cc881 uint16_t bytes_copied; in hidh_conn_snd_data() local
931 bytes_copied = 0; in hidh_conn_snd_data()
939 bytes_copied = p_hcon->rem_mtu_size - 1; in hidh_conn_snd_data()
945 bytes_copied = buf->len; in hidh_conn_snd_data()
954 data_size = bytes_copied = 1; in hidh_conn_snd_data()
958 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
959 buf->offset += bytes_copied; in hidh_conn_snd_data()
960 buf->len -= bytes_copied; in hidh_conn_snd_data()
962 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
964 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
[all …]
/system/core/adb/client/
Dfile_sync_client.cpp635 uint64_t bytes_copied = 0; in SendLargeFile() local
685 bytes_copied += r; in SendLargeFile()
686 ReportProgress(rpath, bytes_copied, total_size); in SendLargeFile()
737 uint64_t bytes_copied = 0; in SendLargeFileLegacy() local
761 bytes_copied += bytes_read; in SendLargeFileLegacy()
762 ReportProgress(rpath, bytes_copied, total_size); in SendLargeFileLegacy()
1094 uint64_t bytes_copied = 0; in sync_recv_v1() local
1128 bytes_copied += msg.data.size; in sync_recv_v1()
1131 sc.ReportProgress(name != nullptr ? name : rpath, bytes_copied, expected_size); in sync_recv_v1()
1151 uint64_t bytes_copied = 0; in sync_recv_v2() local
[all …]