Lines Matching refs:canon_props
1330 if (params->canon_props[j].proptype == proptype)
1336 dpd = ¶ms->canon_props[j].dpd;
1402 if (params->canon_props[j].proptype == proptype)
1405 if ( (params->canon_props[j].size != size) ||
1406 (memcmp(params->canon_props[j].data,data,size-PTP_ece_Prop_Val_Data))) {
1407 params->canon_props[j].data = realloc(params->canon_props[j].data,size-PTP_ece_Prop_Val_Data);
1408 memcpy (params->canon_props[j].data,data,size-PTP_ece_Prop_Val_Data);
1412 params->canon_props = realloc(params->canon_props, sizeof(params->canon_props[0])*(j+1));
1414 params->canon_props = malloc(sizeof(params->canon_props[0]));
1415 params->canon_props[j].type = type;
1416 params->canon_props[j].proptype = proptype;
1417 params->canon_props[j].size = size;
1418 params->canon_props[j].data = malloc(size-PTP_ece_Prop_Val_Data);
1419 memcpy(params->canon_props[j].data, data, size-PTP_ece_Prop_Val_Data);
1420 memset (¶ms->canon_props[j].dpd,0,sizeof(params->canon_props[j].dpd));
1421 params->canon_props[j].dpd.GetSet = 1;
1422 params->canon_props[j].dpd.FormFlag = PTP_DPFF_None;
1425 dpd = ¶ms->canon_props[j].dpd;