Searched refs:dpv (Results 1 – 2 of 2) sorted by relevance
/external/libmtp/src/ |
D | ptp-pack.c | 863 unsigned char* dpv=NULL; in ptp_pack_DPV() local 870 dpv=malloc(size); in ptp_pack_DPV() 871 htod8a(dpv,value->i8); in ptp_pack_DPV() 875 dpv=malloc(size); in ptp_pack_DPV() 876 htod8a(dpv,value->u8); in ptp_pack_DPV() 880 dpv=malloc(size); in ptp_pack_DPV() 881 htod16a(dpv,value->i16); in ptp_pack_DPV() 885 dpv=malloc(size); in ptp_pack_DPV() 886 htod16a(dpv,value->u16); in ptp_pack_DPV() 890 dpv=malloc(size); in ptp_pack_DPV() [all …]
|
D | ptp.c | 1024 unsigned char* dpv=NULL; in ptp_getdevicepropvalue() local 1032 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &dpv, &len); in ptp_getdevicepropvalue() 1033 if (ret == PTP_RC_OK) ptp_unpack_DPV(params, dpv, &offset, len, value, datatype); in ptp_getdevicepropvalue() 1034 free(dpv); in ptp_getdevicepropvalue() 1045 unsigned char* dpv=NULL; in ptp_setdevicepropvalue() local 1051 size=ptp_pack_DPV(params, value, &dpv, datatype); in ptp_setdevicepropvalue() 1052 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &dpv, NULL); in ptp_setdevicepropvalue() 1053 free(dpv); in ptp_setdevicepropvalue() 2532 unsigned char* dpv=NULL; in ptp_mtp_getobjectreferences() local 2539 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &dpv, &dpvlen); in ptp_mtp_getobjectreferences() [all …]
|