Home
last modified time | relevance | path

Searched refs:current_transfer_total (Results 1 – 5 of 5) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c916 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_read_func()
918 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_read_func()
924 ptp_usb->current_transfer_total, in ptp_read_func()
1013 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1015 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_write_func()
1021 ptp_usb->current_transfer_total, in ptp_write_func()
1037 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1220 ((PTP_USB*)params->data)->current_transfer_total = size+PTP_USB_BULK_HDR_LEN; in ptp_usb_senddata()
Dlibusb1-glue.c931 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_read_func()
933 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_read_func()
939 ptp_usb->current_transfer_total, in ptp_read_func()
1035 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1037 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_write_func()
1043 ptp_usb->current_transfer_total, in ptp_write_func()
1060 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1245 ((PTP_USB*)params->data)->current_transfer_total = size+PTP_USB_BULK_HDR_LEN; in ptp_usb_senddata()
Dlibopenusb1-glue.c890 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_read_func()
892 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_read_func()
898 ptp_usb->current_transfer_total, in ptp_read_func()
1010 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1012 ptp_usb->current_transfer_complete = ptp_usb->current_transfer_total; in ptp_write_func()
1018 ptp_usb->current_transfer_total, in ptp_write_func()
1034 if (ptp_usb->current_transfer_complete >= ptp_usb->current_transfer_total) { in ptp_write_func()
1227 ((PTP_USB*) params->data)->current_transfer_total = size + PTP_USB_BULK_HDR_LEN; in ptp_usb_senddata()
Dlibusb-glue.h106 uint64_t current_transfer_total; member
Dlibmtp.c5287 ptp_usb->current_transfer_total = ob->oi.ObjectCompressedSize+
5352 ptp_usb->current_transfer_total = ob->oi.ObjectCompressedSize+
5937 ptp_usb->current_transfer_total = filedata->filesize+PTP_USB_BULK_HDR_LEN*2;
5949 (ptp_usb->current_transfer_total / guess_usb_speed(ptp_usb)) * 1000;
6051 ptp_usb->current_transfer_total = filedata->filesize+PTP_USB_BULK_HDR_LEN*2;