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

/external/libmtp/src/
H A Dptp-pack.c106 uint16_t string[PTP_MAXSTRLEN+1];
108 char loclstr[PTP_MAXSTRLEN*3+1];
112 length = dtoh8a(&data[offset]); /* PTP_MAXSTRLEN == 255, 8 bit len */
163 uint16_t ucs2str[PTP_MAXSTRLEN+1];
167 /* Cannot exceed 255 (PTP_MAXSTRLEN) since it is a single byte, duh ... */
172 size_t convmax = PTP_MAXSTRLEN * 2; /* Includes the terminator */
194 if (packedlen > PTP_MAXSTRLEN-1) {
211 uint8_t packed[PTP_MAXSTRLEN*2+3], len;
456 #define PTP_oi_MaxLen PTP_oi_Filename+(PTP_MAXSTRLEN+1)*2+3
491 for (i=0;i<filenamelen && i< PTP_MAXSTRLEN;
[all...]
H A Dptp.h758 #define PTP_MAXSTRLEN 255 macro

Completed in 39 milliseconds