Searched refs:nconv (Results 1 – 2 of 2) sorted by relevance
/external/libmtp/src/ |
D | unicode.c | 84 size_t nconv; in utf16_to_utf8() local 90 nconv = iconv(params->cd_ucs2_to_locale, &stringp, &convlen, &locp, &convmax); in utf16_to_utf8() 91 if (nconv == (size_t) -1) { in utf16_to_utf8() 117 size_t nconv = 0; in utf8_to_utf16() local 125 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, &unip, &convmax); in utf8_to_utf16() 127 if (nconv == (size_t) -1) { in utf8_to_utf16()
|
D | ptp-pack.c | 109 size_t nconv, srclen, destlen; in ptp_unpack_string() local 127 nconv = (size_t)-1; in ptp_unpack_string() 129 nconv = iconv(params->cd_ucs2_to_locale, &src, &srclen, in ptp_unpack_string() 132 if (nconv == (size_t) -1) { /* do it the hard way */ in ptp_unpack_string() 171 size_t nconv; in ptp_pack_string() local 175 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, in ptp_pack_string() 177 if (nconv == (size_t) -1) in ptp_pack_string()
|