Searched refs:opldata (Results 1 – 2 of 2) sorted by relevance
/external/libmtp/src/ |
D | ptp-pack.c | 978 unsigned char* opldata; in ptp_pack_OPL() local 1010 opldata = malloc(totalsize); in ptp_pack_OPL() 1012 htod32a(&opldata[bufp],noitems); in ptp_pack_OPL() 1018 htod32a(&opldata[bufp],packedobjecthandles[i]); in ptp_pack_OPL() 1020 htod16a(&opldata[bufp],packedpropsids[i]); in ptp_pack_OPL() 1022 htod16a(&opldata[bufp],packedpropstypes[i]); in ptp_pack_OPL() 1025 memcpy(&opldata[bufp], packedprops[i], packedpropslens[i]); in ptp_pack_OPL() 1029 *opldataptr = opldata; in ptp_pack_OPL()
|
D | ptp.c | 2577 unsigned char* opldata = NULL; in ptp_mtp_getobjectproplist() local 2588 ret = ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &opldata, &oplsize); in ptp_mtp_getobjectproplist() 2589 if (ret == PTP_RC_OK) *nrofprops = ptp_unpack_OPL(params, opldata, props, oplsize); in ptp_mtp_getobjectproplist() 2590 if (opldata != NULL) in ptp_mtp_getobjectproplist() 2591 free(opldata); in ptp_mtp_getobjectproplist() 2601 unsigned char* opldata=NULL; in ptp_mtp_sendobjectproplist() local 2614 oplsize = ptp_pack_OPL(params,props,nrofprops,&opldata); in ptp_mtp_sendobjectproplist() 2615 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, oplsize, &opldata, NULL); in ptp_mtp_sendobjectproplist() 2616 free(opldata); in ptp_mtp_sendobjectproplist() 2629 unsigned char* opldata=NULL; in ptp_mtp_setobjectproplist() local [all …]
|