Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c1330 if (params->canon_props[j].proptype == proptype) in ptp_unpack_CANON_changes()
1336 dpd = &params->canon_props[j].dpd; in ptp_unpack_CANON_changes()
1402 if (params->canon_props[j].proptype == proptype) in ptp_unpack_CANON_changes()
1405 if ( (params->canon_props[j].size != size) || in ptp_unpack_CANON_changes()
1406 (memcmp(params->canon_props[j].data,data,size-PTP_ece_Prop_Val_Data))) { in ptp_unpack_CANON_changes()
1407 params->canon_props[j].data = realloc(params->canon_props[j].data,size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
1408 memcpy (params->canon_props[j].data,data,size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
1412 params->canon_props = realloc(params->canon_props, sizeof(params->canon_props[0])*(j+1)); in ptp_unpack_CANON_changes()
1414 params->canon_props = malloc(sizeof(params->canon_props[0])); in ptp_unpack_CANON_changes()
1415 params->canon_props[j].type = type; in ptp_unpack_CANON_changes()
[all …]
Dptp.c1603 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_getdevicepropdesc()
1607 memcpy (dpd, &params->canon_props[i].dpd, sizeof (*dpd)); in ptp_canon_eos_getdevicepropdesc()
1612 params->canon_props[i].dpd.FORM.Enum.SupportedValue, in ptp_canon_eos_getdevicepropdesc()
1617 dpd->FactoryDefaultValue.str = strdup( params->canon_props[i].dpd.FactoryDefaultValue.str ); in ptp_canon_eos_getdevicepropdesc()
1618 dpd->CurrentValue.str = strdup( params->canon_props[i].dpd.CurrentValue.str ); in ptp_canon_eos_getdevicepropdesc()
1716 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_setdevicepropvalue()
1729 params->canon_props[i].dpd.CurrentValue.u16 = value->u16; in ptp_canon_eos_setdevicepropvalue()
1744 params->canon_props[i].dpd.CurrentValue.u8 = value->u8; in ptp_canon_eos_setdevicepropvalue()
1749 params->canon_props[i].dpd.CurrentValue.u16 = value->u16; in ptp_canon_eos_setdevicepropvalue()
1754 params->canon_props[i].dpd.CurrentValue.u32 = value->u32; in ptp_canon_eos_setdevicepropvalue()
[all …]
Dptp.h1945 PTPCanon_Property *canon_props; member