Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c1853 unsigned char *curdata = data; in ptp_unpack_CANON_changes() local
1858 while (curdata - data + 8 < datasize) { in ptp_unpack_CANON_changes()
1859 uint32_t size = dtoh32a(&curdata[PTP_ece_Size]); in ptp_unpack_CANON_changes()
1860 uint32_t type = dtoh32a(&curdata[PTP_ece_Type]); in ptp_unpack_CANON_changes()
1872 if ((curdata - data) + size >= datasize) { in ptp_unpack_CANON_changes()
1882 if (dtoh16a(curdata+12) & (1<<j)) in ptp_unpack_CANON_changes()
1886 curdata += size; in ptp_unpack_CANON_changes()
1892 curdata = data; in ptp_unpack_CANON_changes()
1893 while (curdata - data + 8 < datasize) { in ptp_unpack_CANON_changes()
1894 uint32_t size = dtoh32a(&curdata[PTP_ece_Size]); in ptp_unpack_CANON_changes()
[all …]