Home | History | Annotate | Download | only in src

Lines Matching defs:nrofprops

2573 ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int *nrofprops)
2589 if (ret == PTP_RC_OK) *nrofprops = ptp_unpack_OPL(params, opldata, props, oplsize);
2597 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops)
2614 oplsize = ptp_pack_OPL(params,props,nrofprops,&opldata);
2625 ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops)
2636 oplsize = ptp_pack_OPL(params,props,nrofprops,&opldata);
4619 ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops) {
4624 newprops = malloc(sizeof(MTPProperties)*(*nrofprops+1));
4626 newprops = realloc(*props,sizeof(MTPProperties)*(*nrofprops+1));
4630 prop = &newprops[*nrofprops];
4637 (*nrofprops)++;
4658 ptp_destroy_object_prop_list(MTPProperties *props, int nrofprops)
4663 for (i=0;i<nrofprops;i++,prop++)
4844 int nrofprops = 0;
4859 ret = ptp_mtp_getobjectproplist (params, handle, &props, &nrofprops);
4863 ob->nrofmtpprops = nrofprops;
4872 for (j=0;j<nrofprops;j++) {