Searched refs:srcLen (Results 1 - 8 of 8) sorted by relevance

/haiku/src/kits/textencoding/
H A Dutf8_conversions.cpp79 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 Dmail_util.h35 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 Dmbsrtowcs.cpp119 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 DTermParse.cpp407 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 Dmail_util.cpp211 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 DGrepper.cpp47 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 Diso9660.cpp39 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 Dencodings.cpp932 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...]

Completed in 181 milliseconds