Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c133 uint16_t string[PTP_MAXSTRLEN+1]; in ptp_unpack_string()
135 char loclstr[PTP_MAXSTRLEN*3+1]; in ptp_unpack_string()
196 uint16_t ucs2str[PTP_MAXSTRLEN+1]; in ptp_pack_string()
205 size_t convmax = PTP_MAXSTRLEN * 2; /* Includes the terminator */ in ptp_pack_string()
227 if (packedlen > PTP_MAXSTRLEN-1) { in ptp_pack_string()
244 uint8_t packed[PTP_MAXSTRLEN*2+3], len; in ptp_get_packed_stringcopy()
572 #define PTP_oi_MaxLen PTP_oi_Filename+(PTP_MAXSTRLEN+1)*2+3
623 for (i=0;i<capturedatelen && i< PTP_MAXSTRLEN; i++) { in ptp_pack_OI()
628 for (i=0;i<capturedatelen && i< PTP_MAXSTRLEN; i++) { in ptp_pack_OI()
Dptp.h988 #define PTP_MAXSTRLEN 255 macro