Lines Matching refs:SupportedValue

902 		dpd->FORM.Enum.SupportedValue = malloc(N*sizeof(dpd->FORM.Enum.SupportedValue[0]));  in ptp_unpack_DPD()
903 if (!dpd->FORM.Enum.SupportedValue) in ptp_unpack_DPD()
906 memset (dpd->FORM.Enum.SupportedValue,0 , N*sizeof(dpd->FORM.Enum.SupportedValue[0])); in ptp_unpack_DPD()
908 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataT… in ptp_unpack_DPD()
993 dpd->FORM.Enum.SupportedValue = malloc(N*sizeof(dpd->FORM.Enum.SupportedValue[0])); in ptp_unpack_Sony_DPD()
994 if (!dpd->FORM.Enum.SupportedValue) in ptp_unpack_Sony_DPD()
997 memset (dpd->FORM.Enum.SupportedValue,0 , N*sizeof(dpd->FORM.Enum.SupportedValue[0])); in ptp_unpack_Sony_DPD()
999 …ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataT… in ptp_unpack_Sony_DPD()
1079 …dst->FORM.Enum.SupportedValue = malloc (sizeof(dst->FORM.Enum.SupportedValue[0])*src->FORM.Enum.Nu… in duplicate_DevicePropDesc()
1081 …duplicate_PropertyValue (&src->FORM.Enum.SupportedValue[i], &dst->FORM.Enum.SupportedValue[i], src… in duplicate_DevicePropDesc()
1127 opd->FORM.Enum.SupportedValue = malloc(N*sizeof(opd->FORM.Enum.SupportedValue[0])); in ptp_unpack_OPD()
1128 if (!opd->FORM.Enum.SupportedValue) in ptp_unpack_OPD()
1131 memset (opd->FORM.Enum.SupportedValue,0 , N*sizeof(opd->FORM.Enum.SupportedValue[0])); in ptp_unpack_OPD()
1133 …ret = ptp_unpack_DPV (params, data, &offset, opdlen, &opd->FORM.Enum.SupportedValue[i], opd->DataT… in ptp_unpack_OPD()
2002 free (dpd->FORM.Enum.SupportedValue); in ptp_unpack_CANON_changes()
2003 dpd->FORM.Enum.SupportedValue = malloc (sizeof (PTPPropertyValue)*propxcnt); in ptp_unpack_CANON_changes()
2012 dpd->FORM.Enum.SupportedValue[j].u16 = in ptp_unpack_CANON_changes()
2014 …ams, "event %d: suppval[%d] of %x is 0x%x.", i, j, proptype, dpd->FORM.Enum.SupportedValue[j].u16); 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 …ptp_debug (params, "size %d does not match needed %d", sizeof(dpd->FORM.Enum.SupportedValue[j].TYP… in ptp_unpack_CANON_changes()
2026 dpd->FORM.Enum.SupportedValue[j].TYPE = CONV(xdata); \ in ptp_unpack_CANON_changes()
2038 free (dpd->FORM.Enum.SupportedValue); in ptp_unpack_CANON_changes()
2039 dpd->FORM.Enum.SupportedValue = NULL; in ptp_unpack_CANON_changes()