/haiku/src/kits/textencoding/ |
H A D | utf8_conversions.cpp | 79 int32* srcLen, char* dst, int32* dstLen, int32* state, 82 if (*srcLen == 0) { 105 size_t inputLeft = *srcLen; 161 *srcLen -= inputLeft; 170 convert_to_utf8(uint32 srcEncoding, const char* src, int32* srcLen, argument 180 for (int i = 0 ; i < *srcLen ; i++) { 186 return convert_encoding(charset->GetName(), "UTF-8", src, srcLen, 192 convert_from_utf8(uint32 dstEncoding, const char* src, int32* srcLen, argument 202 for (int i = 0 ; i < *srcLen ; i++) { 208 return convert_encoding("UTF-8", charset->GetName(), src, srcLen, 78 convert_encoding(const char* from, const char* to, const char* src, int32* srcLen, char* dst, int32* dstLen, int32* state, char substitute) argument [all...] |
/haiku/headers/private/mail/ |
H A D | mail_util.h | 35 int32 *srcLen, char *dst, int32 *dstLen, int32 *state, 39 int32 *srcLen, char *dst, int32 *dstLen, int32 *state,
|
/haiku/src/system/libroot/posix/wchar/ |
H A D | mbsrtowcs.cpp | 119 size_t srcLen = backend == NULL ? strlen(*src) + 1 : (size_t)-1; local 121 return __mbsnrtowcs(dst, src, srcLen, len, ps);
|
/haiku/src/apps/terminal/ |
H A D | TermParse.cpp | 407 int32 srcLen = 0; local 435 cbuf[srcLen++] = c; 437 cbuf[srcLen++] = c; 441 cbuf[srcLen++] = c; 445 cbuf[srcLen++] = c; 449 if (srcLen == 2 && (c < 0x30 || c > 0x39)) 451 } while (srcLen < 4); 455 cbuf[srcLen++] = c; 459 if (srcLen > 0) { 463 convert_to_utf8(encoding, cbuf, &srcLen, [all...] |
/haiku/src/kits/mail/ |
H A D | mail_util.cpp | 211 mail_convert_to_utf8(uint32 srcEncoding, const char *src, int32 *srcLen, argument 219 copyAmount = *srcLen; 223 *srcLen = copyAmount; 229 copyAmount = *srcLen; 243 *srcLen = copyAmount; 247 returnCode = convert_to_utf8 (srcEncoding, src, srcLen, 269 mail_convert_from_utf8(uint32 dstEncoding, const char *src, int32 *srcLen, argument 279 copyAmount = *srcLen; 283 *srcLen = copyAmount; 292 int32 srcRemaining = *srcLen; 467 int32 srcLen = end - 2 - src; local [all...] |
/haiku/src/apps/text_search/ |
H A D | Grepper.cpp | 47 int32 srcLen = length; local 48 int32 dstLen = 2 * srcLen; 50 // dst (and allocate with malloc() instead of new)? Is 2 * srcLen 57 convert_to_utf8(encode, src, &srcLen, dst, &dstLen, &cookie); 61 if (srcLen != length) { 72 int32 srcLen = length; local 73 int32 dstLen = srcLen; 78 convert_from_utf8(encode, src, &srcLen, dst, &dstLen, &cookie); 83 if (srcLen != length) {
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.cpp | 39 static status_t unicode_to_utf8(const char *src, int32 *srcLen, char *dst, 95 unicode_to_utf8(const char *src, int32 *srcLen, char *dst, int32 *dstLen) argument 97 int32 srcLimit = *srcLen; 120 *srcLen = srcCount;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | encodings.cpp | 932 int32 *srcLen, 936 int32 srcLimit = *srcLen; 959 *srcLen = srcCount; 969 int32 *srcLen, 973 int32 srcLimit = *srcLen; 998 *srcLen = srcCount; 1009 int32 *srcLen, 1013 int32 srcLimit = *srcLen; 1037 *srcLen = srcCount; 1047 int32 *srcLen, 930 _lendian_unicode_to_utf8( const char *src, int32 *srcLen, char *dst, int32 *dstLen) argument 967 _utf8_to_lendian_unicode( const char *src, int32 *srcLen, char *dst, int32 *dstLen) argument 1006 _one_to_utf8( const uint16 *table, const char *src, int32 *srcLen, char *dst, int32 *dstLen) argument 1045 _utf8_to_sjis_bendian( const char *src, int32 *srcLen, char *dst, int32 *dstLen) argument [all...] |