Lines Matching refs:bytes_copied
889 UINT16 bytes_copied; in hidh_conn_snd_data() local
943 bytes_copied = 0; in hidh_conn_snd_data()
953 bytes_copied = p_hcon->rem_mtu_size - 1; in hidh_conn_snd_data()
961 bytes_copied = buf->len; in hidh_conn_snd_data()
971 data_size = bytes_copied = 1; in hidh_conn_snd_data()
977 memcpy (p_out, (((UINT8 *)(buf+1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
978 buf->offset += bytes_copied; in hidh_conn_snd_data()
979 buf->len -= bytes_copied; in hidh_conn_snd_data()
983 *(p_out+bytes_copied) = data & 0xff; in hidh_conn_snd_data()
987 *(p_out+bytes_copied) = data & 0xff; in hidh_conn_snd_data()
988 *(p_out+bytes_copied+1) = (data >> 8) & 0xff ; in hidh_conn_snd_data()
991 p_buf->len = bytes_copied + 1 + use_data; in hidh_conn_snd_data()
992 data_size -= bytes_copied; in hidh_conn_snd_data()
1000 else if( bytes_copied == (p_hcon->rem_mtu_size - 1) ) in hidh_conn_snd_data()