Home
last modified time | relevance | path

Searched refs:psize1 (Results 1 – 1 of 1) sorted by relevance

/external/libmtp/src/
Dptp.c2885 unsigned int xsize, psize1 = 0, psize2 = 0; in ptp_sony_get_vendorpropcodes() local
2897 psize1 = ptp_unpack_uint16_t_array (params, xdata+2, 0, xsize, &props1); in ptp_sony_get_vendorpropcodes()
2898 ptp_debug (params, "xsize %d, got size %d\n", xsize, psize1*2 + 2 + 4); in ptp_sony_get_vendorpropcodes()
2899 if (psize1*2 + 2 + 4 < xsize) { in ptp_sony_get_vendorpropcodes()
2900 psize2 = ptp_unpack_uint16_t_array(params,xdata+2+psize1*2+4, 0, xsize, &props2); in ptp_sony_get_vendorpropcodes()
2902 *props = calloc(psize1+psize2, sizeof(uint16_t)); in ptp_sony_get_vendorpropcodes()
2910 *size = psize1+psize2; in ptp_sony_get_vendorpropcodes()
2911 memcpy (*props, props1, psize1*sizeof(uint16_t)); in ptp_sony_get_vendorpropcodes()
2912 memcpy ((*props)+psize1, props2, psize2*sizeof(uint16_t)); in ptp_sony_get_vendorpropcodes()