Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c106 uint16_t string[PTP_MAXSTRLEN+1]; in ptp_unpack_string()
108 char loclstr[PTP_MAXSTRLEN*3+1]; in ptp_unpack_string()
163 uint16_t ucs2str[PTP_MAXSTRLEN+1]; in ptp_pack_string()
172 size_t convmax = PTP_MAXSTRLEN * 2; /* Includes the terminator */ in ptp_pack_string()
194 if (packedlen > PTP_MAXSTRLEN-1) { in ptp_pack_string()
211 uint8_t packed[PTP_MAXSTRLEN*2+3], len; in ptp_get_packed_stringcopy()
456 #define PTP_oi_MaxLen PTP_oi_Filename+(PTP_MAXSTRLEN+1)*2+3
504 for (i=0;i<capturedatelen && i< PTP_MAXSTRLEN; i++) { in ptp_pack_OI()
509 for (i=0;i<capturedatelen && i< PTP_MAXSTRLEN; i++) { in ptp_pack_OI()
Dptp.h758 #define PTP_MAXSTRLEN 255 macro