Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c1964 uint32_t propxcnt = dtoh32a(&curdata[PTP_ece_Prop_Desc_Count]); in ptp_unpack_CANON_changes() local
1993 if (! propxcnt) in ptp_unpack_CANON_changes()
1995 if (propxcnt >= 2<<16) /* buggy or exploit */ in ptp_unpack_CANON_changes()
1999 i, propxtype, proptype, dpd->DataType, propxcnt); in ptp_unpack_CANON_changes()
2001 dpd->FORM.Enum.NumberOfValues = propxcnt; in ptp_unpack_CANON_changes()
2003 dpd->FORM.Enum.SupportedValue = malloc (sizeof (PTPPropertyValue)*propxcnt); in ptp_unpack_CANON_changes()
2011 for (j=0;j<propxcnt;j++) { in ptp_unpack_CANON_changes()
2021 if (sizeof(dpd->FORM.Enum.SupportedValue[j].TYPE)*propxcnt + PTP_ece_Prop_Desc_Data > size) { \ in ptp_unpack_CANON_changes()
2022 …oes not match needed %d", sizeof(dpd->FORM.Enum.SupportedValue[j].TYPE)*propxcnt + PTP_ece_Prop_De… in ptp_unpack_CANON_changes()
2025 for (j=0;j<propxcnt;j++) { \ in ptp_unpack_CANON_changes()