Searched refs:nconv (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/fs/doio/ |
D | bytes_by_prefix.c | 76 int nconv; in bytes_by_prefix() local 80 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in bytes_by_prefix() 81 if (nconv == 0 || nconv == 3) in bytes_by_prefix() 84 if (nconv == 1) { in bytes_by_prefix() 124 int nconv; in lbytes_by_prefix() local 128 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in lbytes_by_prefix() 129 if (nconv == 0 || nconv == 3) in lbytes_by_prefix() 132 if (nconv == 1) { in lbytes_by_prefix() 176 int nconv; in llbytes_by_prefix() local 180 nconv = sscanf(s, "%lf%c%c", &num, &mult, &junk); in llbytes_by_prefix() [all …]
|
/external/libmtp/src/ |
D | unicode.c | 85 size_t nconv; in utf16_to_utf8() local 91 nconv = iconv(params->cd_ucs2_to_locale, &stringp, &convlen, &locp, &convmax); in utf16_to_utf8() 92 if (nconv == (size_t) -1) { in utf16_to_utf8() 118 size_t nconv = 0; in utf8_to_utf16() local 126 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, &unip, &convmax); in utf8_to_utf16() 128 if (nconv == (size_t) -1) { in utf8_to_utf16()
|
D | ptp-pack.c | 136 size_t nconv, srclen, destlen; in ptp_unpack_string() local 160 nconv = (size_t)-1; in ptp_unpack_string() 163 nconv = iconv(params->cd_ucs2_to_locale, &src, &srclen, &dest, &destlen); in ptp_unpack_string() 165 if (nconv == (size_t) -1) { /* do it the hard way */ in ptp_unpack_string() 204 size_t nconv; in ptp_pack_string() local 208 nconv = iconv(params->cd_locale_to_ucs2, &stringp, &convlen, in ptp_pack_string() 210 if (nconv == (size_t) -1) in ptp_pack_string()
|