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