Lines Matching refs:dpv
1024 unsigned char* dpv=NULL;
1032 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &dpv, &len);
1033 if (ret == PTP_RC_OK) ptp_unpack_DPV(params, dpv, &offset, len, value, datatype);
1034 free(dpv);
1045 unsigned char* dpv=NULL;
1051 size=ptp_pack_DPV(params, value, &dpv, datatype);
1052 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &dpv, NULL);
1053 free(dpv);
2532 unsigned char* dpv=NULL;
2539 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &dpv, &dpvlen);
2543 if ((dpv == NULL) || (dpvlen == 0)) {
2547 dpv, 0, ohArray);
2550 free(dpv);
2560 unsigned char* dpv=NULL;
2566 size = ptp_pack_uint32_t_array(params, ohArray, arraylen, &dpv);
2567 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, (unsigned char **)&dpv, NULL);
2568 free(dpv);