Lines Matching refs:dpv
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()
891 htod32a(dpv,value->i32); in ptp_pack_DPV()
895 dpv=malloc(size); in ptp_pack_DPV()
896 htod32a(dpv,value->u32); in ptp_pack_DPV()
900 dpv=malloc(size); in ptp_pack_DPV()
901 htod64a(dpv,value->i64); in ptp_pack_DPV()
905 dpv=malloc(size); in ptp_pack_DPV()
906 htod64a(dpv,value->u64); in ptp_pack_DPV()
910 dpv=malloc(size); in ptp_pack_DPV()
911 htod32a(dpv,value->a.count); in ptp_pack_DPV()
913 htod8a(&dpv[sizeof(uint32_t)+i*sizeof(uint8_t)],value->a.v[i].u8); in ptp_pack_DPV()
917 dpv=malloc(size); in ptp_pack_DPV()
918 htod32a(dpv,value->a.count); in ptp_pack_DPV()
920 htod8a(&dpv[sizeof(uint32_t)+i*sizeof(int8_t)],value->a.v[i].i8); in ptp_pack_DPV()
924 dpv=malloc(size); in ptp_pack_DPV()
925 htod32a(dpv,value->a.count); in ptp_pack_DPV()
927 htod16a(&dpv[sizeof(uint32_t)+i*sizeof(uint16_t)],value->a.v[i].u16); in ptp_pack_DPV()
931 dpv=malloc(size); in ptp_pack_DPV()
932 htod32a(dpv,value->a.count); in ptp_pack_DPV()
934 htod16a(&dpv[sizeof(uint32_t)+i*sizeof(int16_t)],value->a.v[i].i16); in ptp_pack_DPV()
938 dpv=malloc(size); in ptp_pack_DPV()
939 htod32a(dpv,value->a.count); in ptp_pack_DPV()
941 htod32a(&dpv[sizeof(uint32_t)+i*sizeof(uint32_t)],value->a.v[i].u32); in ptp_pack_DPV()
945 dpv=malloc(size); in ptp_pack_DPV()
946 htod32a(dpv,value->a.count); in ptp_pack_DPV()
948 htod32a(&dpv[sizeof(uint32_t)+i*sizeof(int32_t)],value->a.v[i].i32); in ptp_pack_DPV()
952 dpv=malloc(size); in ptp_pack_DPV()
953 htod32a(dpv,value->a.count); in ptp_pack_DPV()
955 htod64a(&dpv[sizeof(uint32_t)+i*sizeof(uint64_t)],value->a.v[i].u64); in ptp_pack_DPV()
959 dpv=malloc(size); in ptp_pack_DPV()
960 htod32a(dpv,value->a.count); in ptp_pack_DPV()
962 htod64a(&dpv[sizeof(uint32_t)+i*sizeof(int64_t)],value->a.v[i].i64); in ptp_pack_DPV()
966 dpv=ptp_get_packed_stringcopy(params, value->str, &size); in ptp_pack_DPV()
970 *dpvptr=dpv; in ptp_pack_DPV()