Home | History | Annotate | Download | only in hid

Lines Matching refs:bytes_copied

870   uint16_t bytes_copied;
920 bytes_copied = 0;
928 bytes_copied = p_hcon->rem_mtu_size - 1;
934 bytes_copied = buf->len;
943 data_size = bytes_copied = 1;
947 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied);
948 buf->offset += bytes_copied;
949 buf->len -= bytes_copied;
951 *(p_out + bytes_copied) = data & 0xff;
953 *(p_out + bytes_copied) = data & 0xff;
954 *(p_out + bytes_copied + 1) = (data >> 8) & 0xff;
957 p_buf->len = bytes_copied + 1 + use_data;
958 data_size -= bytes_copied;
967 else if (bytes_copied == (p_hcon->rem_mtu_size - 1)) {