Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c1829 if (params->canon_props[j].proptype == proptype) in _lookup_or_allocate_canon_prop()
1832 return &params->canon_props[j].dpd; in _lookup_or_allocate_canon_prop()
1835 params->canon_props = realloc(params->canon_props, sizeof(params->canon_props[0])*(j+1)); in _lookup_or_allocate_canon_prop()
1837 params->canon_props = malloc(sizeof(params->canon_props[0])); in _lookup_or_allocate_canon_prop()
1838 params->canon_props[j].proptype = proptype; in _lookup_or_allocate_canon_prop()
1839 params->canon_props[j].size = 0; in _lookup_or_allocate_canon_prop()
1840 params->canon_props[j].data = NULL; in _lookup_or_allocate_canon_prop()
1841 memset (&params->canon_props[j].dpd,0,sizeof(params->canon_props[j].dpd)); in _lookup_or_allocate_canon_prop()
1842 params->canon_props[j].dpd.GetSet = 1; in _lookup_or_allocate_canon_prop()
1843 params->canon_props[j].dpd.FormFlag = PTP_DPFF_None; in _lookup_or_allocate_canon_prop()
[all …]
Dptp.c1134 free (params->canon_props[i].data); in ptp_free_params()
1135 ptp_free_devicepropdesc (&params->canon_props[i].dpd); in ptp_free_params()
1137 free (params->canon_props); in ptp_free_params()
2397 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_getdevicepropdesc()
2401 memcpy (dpd, &params->canon_props[i].dpd, sizeof (*dpd)); in ptp_canon_eos_getdevicepropdesc()
2406 params->canon_props[i].dpd.FORM.Enum.SupportedValue, in ptp_canon_eos_getdevicepropdesc()
2411 dpd->FactoryDefaultValue.str = strdup( params->canon_props[i].dpd.FactoryDefaultValue.str ); in ptp_canon_eos_getdevicepropdesc()
2412 dpd->CurrentValue.str = strdup( params->canon_props[i].dpd.CurrentValue.str ); in ptp_canon_eos_getdevicepropdesc()
2541 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_setdevicepropvalue()
2555 params->canon_props[i].dpd.CurrentValue.u16 = value->u16; in ptp_canon_eos_setdevicepropvalue()
[all …]
Dptp.h2506 PTPCanon_Property *canon_props; member