Searched refs:nrofprops (Results 1 - 4 of 4) sorted by relevance

/external/libmtp/src/
H A Dlibmtp.c2140 int i, j, nrofprops; local
2163 ret = ptp_mtp_getobjectproplist(params, 0xffffffff, &props, &nrofprops);
2179 if (props == NULL && nrofprops != 0) {
2192 for (i=0;i<nrofprops;i++) {
2203 for (j=0;j<nrofprops;j++) {
5697 int nrofprops = 0; local
5717 prop = ptp_get_new_object_prop_entry(&props,&nrofprops);
5729 prop = ptp_get_new_object_prop_entry(&props,&nrofprops);
5736 prop = ptp_get_new_object_prop_entry(&props,&nrofprops);
5743 prop = ptp_get_new_object_prop_entry(&props,&nrofprops);
5858 int nrofprops = 0; local
6275 int nrofprops = 0; local
7102 int nrofprops = 0; local
7387 int nrofprops = 0; local
[all...]
H A Dptp.c2573 ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int *nrofprops) argument
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) argument
2636 oplsize = ptp_pack_OPL(params,props,nrofprops,&opldata);
4619 ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops) { argument
4624 newprops = malloc(sizeof(MTPProperties)*(*nrofprops+1));
4626 newprops = realloc(*props,sizeof(MTPProperties)*(*nrofprops+1));
4630 prop = &newprops[*nrofprops];
2596 ptp_mtp_sendobjectproplist(PTPParams* params, uint32_t* store, uint32_t* parenthandle, uint32_t* handle, uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops) argument
4658 ptp_destroy_object_prop_list(MTPProperties *props, int nrofprops) argument
4844 int nrofprops = 0; local
[all...]
H A Dptp.h2123 uint16_t ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int *nrofprops);
2125 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops);
2126 uint16_t ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops);
2555 MTPProperties *ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops);
2557 void ptp_destroy_object_prop_list(MTPProperties *props, int nrofprops);
H A Dptp-pack.c976 ptp_pack_OPL (PTPParams *params, MTPProperties *props, int nrofprops, unsigned char** opldataptr) argument
992 while (nrofprops-- && noitems < MAX_MTP_PROPS) {

Completed in 133 milliseconds