Searched refs:convlen (Results 1 – 2 of 2) sorted by relevance
/external/libmtp/src/ |
D | unicode.c | 86 …size_t convlen = (ucs2_strlen(unicstr)+1) * sizeof(uint16_t); // UCS-2 is 16 bit wide, include ter… in utf16_to_utf8() local 91 nconv = iconv(params->cd_ucs2_to_locale, &stringp, &convlen, &locp, &convmax); in utf16_to_utf8() 119 size_t convlen = strlen(localstr)+1; // utf8 bytes, include terminator in utf8_to_utf16() local 126 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, &unip, &convmax); in utf8_to_utf16()
|
D | ptp-pack.c | 198 size_t convlen = strlen(string); in ptp_pack_string() local 208 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, in ptp_pack_string() 217 for (i=0;i<convlen;i++) { in ptp_pack_string() 220 ucs2str[convlen] = 0; in ptp_pack_string()
|