• Home
  • Raw
  • Download

Lines Matching refs:canon_props

1829 		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()
1845 return &params->canon_props[j].dpd; in _lookup_or_allocate_canon_prop()
1976 if (params->canon_props[j].proptype == proptype) in ptp_unpack_CANON_changes()
1982 dpd = &params->canon_props[j].dpd; in ptp_unpack_CANON_changes()
2062 if (params->canon_props[j].proptype == proptype) in ptp_unpack_CANON_changes()
2065 if ( (params->canon_props[j].size != size) || in ptp_unpack_CANON_changes()
2066 (memcmp(params->canon_props[j].data,xdata,size-PTP_ece_Prop_Val_Data))) { in ptp_unpack_CANON_changes()
2067 params->canon_props[j].data = realloc(params->canon_props[j].data,size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
2068 params->canon_props[j].size = size; in ptp_unpack_CANON_changes()
2069 memcpy (params->canon_props[j].data,xdata,size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
2073 params->canon_props = realloc(params->canon_props, sizeof(params->canon_props[0])*(j+1)); in ptp_unpack_CANON_changes()
2075 params->canon_props = malloc(sizeof(params->canon_props[0])); in ptp_unpack_CANON_changes()
2076 params->canon_props[j].proptype = proptype; in ptp_unpack_CANON_changes()
2077 params->canon_props[j].size = size; in ptp_unpack_CANON_changes()
2078 params->canon_props[j].data = malloc(size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
2079 memcpy(params->canon_props[j].data, xdata, size-PTP_ece_Prop_Val_Data); in ptp_unpack_CANON_changes()
2080 memset (&params->canon_props[j].dpd,0,sizeof(params->canon_props[j].dpd)); in ptp_unpack_CANON_changes()
2081 params->canon_props[j].dpd.GetSet = 1; in ptp_unpack_CANON_changes()
2082 params->canon_props[j].dpd.FormFlag = PTP_DPFF_None; in ptp_unpack_CANON_changes()
2085 dpd = &params->canon_props[j].dpd; in ptp_unpack_CANON_changes()