Home
last modified time | relevance | path

Searched refs:outs_len (Results 1 – 4 of 4) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dunistr.c471 static int utf16_to_utf8_size(const ntfschar *ins, const int ins_len, int outs_len) in utf16_to_utf8_size() argument
478 for (i = 0; i < ins_len && ins[i] && count <= outs_len; i++) { in utf16_to_utf8_size()
521 if (surrog && count <= outs_len) { in utf16_to_utf8_size()
529 if (count > outs_len) { in utf16_to_utf8_size()
552 char **outs, int outs_len) in ntfs_utf16_to_utf8() argument
557 int original_outs_len = outs_len; in ntfs_utf16_to_utf8()
570 outs_len = PATH_MAX; in ntfs_utf16_to_utf8()
575 size = utf16_to_utf8_size(ins, ins_len, outs_len - 1); in ntfs_utf16_to_utf8()
581 outs_len = size + 1; in ntfs_utf16_to_utf8()
582 *outs = ntfs_malloc(outs_len); in ntfs_utf16_to_utf8()
[all …]
/third_party/ntfs-3g/include/ntfs-3g/
Dunistr.h57 int outs_len);
/third_party/ntfs-3g/ntfsprogs/
Dutils.h130 ntfschar **outs, int outs_len);
Dutils.c153 ntfschar **outs, int outs_len) in ntfs_mbstoucs_libntfscompat() argument
169 if((tmpstr_len + 1) > outs_len) { in ntfs_mbstoucs_libntfscompat()