Home
last modified time | relevance | path

Searched refs:outleft (Results 1 – 2 of 2) sorted by relevance

/haiku/src/libs/iconv/
H A Dloop_unicode.h25 unsigned char* outptr, size_t outleft) in unicode_transliterate() argument
37 size_t backup_outleft = outleft; in unicode_transliterate()
40 if (outleft == 0) { in unicode_transliterate()
44 sub_outcount = cd->ofuncs.xxx_wctomb(cd,outptr,buf[i],outleft); in unicode_transliterate()
47 if (!(sub_outcount <= outleft)) abort(); in unicode_transliterate()
48 outptr += sub_outcount; outleft -= sub_outcount; in unicode_transliterate()
54 outleft = backup_outleft; in unicode_transliterate()
81 size_t backup_outleft = outleft; in unicode_transliterate()
84 if (outleft == 0) { in unicode_transliterate()
88 sub_outcount = cd->ofuncs.xxx_wctomb(cd,outptr,buf[i],outleft); in unicode_transliterate()
[all …]
H A Dloop_wchar.h202 size_t outleft = *outbytesleft; in wchar_from_loop_convert() local
205 &outptr,&outleft); in wchar_from_loop_convert()
225 *outbytesleft = outleft; in wchar_from_loop_convert()
254 size_t outleft = *outbytesleft; in wchar_from_loop_reset() local
257 &outptr,&outleft); in wchar_from_loop_reset()
264 res = unicode_loop_reset(&wcd->parent,&outptr,&outleft); in wchar_from_loop_reset()
271 *outbytesleft = outleft; in wchar_from_loop_reset()
437 size_t outleft = *outbytesleft / sizeof(wchar_t); in wchar_id_loop_convert() local
438 size_t count = (inleft <= outleft ? inleft : outleft); in wchar_id_loop_convert()