Home
last modified time | relevance | path

Searched refs:datawlen (Results 1 – 3 of 3) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c1200 int wlen, datawlen; in ptp_usb_senddata() local
1223 datawlen = 0; in ptp_usb_senddata()
1228 datawlen = (size<PTP_USB_BULK_PAYLOAD_LEN_WRITE)?size:PTP_USB_BULK_PAYLOAD_LEN_WRITE; in ptp_usb_senddata()
1229 wlen = PTP_USB_BULK_HDR_LEN + datawlen; in ptp_usb_senddata()
1231 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1234 if (gotlen != datawlen) in ptp_usb_senddata()
1244 if (size <= datawlen) return ret; in ptp_usb_senddata()
1246 bytes_left_to_transfer = size-datawlen; in ptp_usb_senddata()
Dlibusb1-glue.c1225 int wlen, datawlen; in ptp_usb_senddata() local
1248 datawlen = 0; in ptp_usb_senddata()
1253 datawlen = (size<PTP_USB_BULK_PAYLOAD_LEN_WRITE)?size:PTP_USB_BULK_PAYLOAD_LEN_WRITE; in ptp_usb_senddata()
1254 wlen = PTP_USB_BULK_HDR_LEN + datawlen; in ptp_usb_senddata()
1256 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1259 if (gotlen != datawlen) in ptp_usb_senddata()
1269 if (size <= datawlen) return ret; in ptp_usb_senddata()
1271 bytes_left_to_transfer = size-datawlen; in ptp_usb_senddata()
Dlibopenusb1-glue.c1208 int wlen, datawlen; in ptp_usb_senddata() local
1230 datawlen = 0; in ptp_usb_senddata()
1235 datawlen = (size < PTP_USB_BULK_PAYLOAD_LEN_WRITE) ? size : PTP_USB_BULK_PAYLOAD_LEN_WRITE; in ptp_usb_senddata()
1236 wlen = PTP_USB_BULK_HDR_LEN + datawlen; in ptp_usb_senddata()
1238 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1243 if (gotlen != datawlen){ in ptp_usb_senddata()
1254 if (size <= datawlen) return ret; in ptp_usb_senddata()
1256 bytes_left_to_transfer = size - datawlen; in ptp_usb_senddata()