Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c857 ptp_unpack_DPD (PTPParams *params, unsigned char* data, PTPDevicePropDesc *dpd, unsigned int dpdlen) in ptp_unpack_DPD() argument
862 if (dpdlen <= 5) in ptp_unpack_DPD()
870 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FactoryDefaultValue, dpd->DataType); in ptp_unpack_DPD()
872 if ((dpd->DataType == PTP_DTC_STR) && (offset == dpdlen)) in ptp_unpack_DPD()
874 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->CurrentValue, dpd->DataType); in ptp_unpack_DPD()
890 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MinimumValue, dpd->DataType); in ptp_unpack_DPD()
892 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MaximumValue, dpd->DataType); in ptp_unpack_DPD()
894 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.StepSize, dpd->DataType); in ptp_unpack_DPD()
908 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataT… in ptp_unpack_DPD()
939 …arams *params, unsigned char* data, PTPDevicePropDesc *dpd, unsigned int dpdlen, unsigned int *pof… in ptp_unpack_Sony_DPD() argument
[all …]