Home
last modified time | relevance | path

Searched refs:srcLim (Results 1 – 6 of 6) sorted by relevance

/third_party/lzma/C/
DBcj2Enc.c9 …ip=%8x tempPos=%d src= %8x\n", s, (unsigned)p->ip64, p->tempPos, (unsigned)(p->srcLim - p->src));
197 const Byte *srcLim; in Bcj2Enc_Encode_2() local
200 const SizeT remSrc = (SizeT)(p->srcLim - src); in Bcj2Enc_Encode_2()
204 srcLim = src + rem; in Bcj2Enc_Encode_2()
220 src++; if (src == srcLim) { break; } } in Bcj2Enc_Encode_2()
222 if (src != srcLim) in Bcj2Enc_Encode_2()
236 if (src == srcLim) in Bcj2Enc_Encode_2()
239 if (src != p->srcLim) in Bcj2Enc_Encode_2()
269 if ((SizeT)(p->srcLim - src) >= 4) in Bcj2Enc_Encode_2()
403 const Byte *srcLim = p->srcLim; in Bcj2Enc_Encode() local
[all …]
DBcj2.c111 const Byte *srcLim; in Bcj2Dec_Decode() local
124 srcLim = src + num; in Bcj2Dec_Decode()
137 if (src != srcLim) in Bcj2Dec_Decode()
166 if (src == srcLim) in Bcj2Dec_Decode()
170 if (src == srcLim) in Bcj2Dec_Decode()
DBcj2.h259 const Byte *srcLim; member
/third_party/lzma/CPP/Common/
DUTFConvert.cpp339 static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const char *srcLim, unsi… in Utf8_To_Utf16() argument
346 if (src == srcLim) in Utf8_To_Utf16()
375 if (src + pos == srcLim) in Utf8_To_Utf16()
473 static size_t Utf16_To_Utf8_Calc(const wchar_t *src, const wchar_t *srcLim, unsigned flags) in Utf16_To_Utf8_Calc() argument
475 size_t size = (size_t)(srcLim - src); in Utf16_To_Utf8_Calc()
478 if (src == srcLim) in Utf16_To_Utf8_Calc()
510 if (val < 0xdc00 && src != srcLim) in Utf16_To_Utf8_Calc()
542 static char *Utf16_To_Utf8(char *dest, const wchar_t *src, const wchar_t *srcLim, unsigned flags) in Utf16_To_Utf8() argument
546 if (src == srcLim) in Utf16_To_Utf8()
597 if (val < 0xdc00 && src != srcLim) in Utf16_To_Utf8()
/third_party/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp160 enc.srcLim = enc.src; in CodeReal()
192 if (readWasFinished && enc.srcLim == srcLim_Read) in CodeReal()
225 if (enc.src != enc.srcLim) in CodeReal()
244 enc.srcLim = srcLim_Read; in CodeReal()
374 if ((size_t)(enc.srcLim - enc.src) < rem) in CodeReal()
376 enc.srcLim -= rem; in CodeReal()
/third_party/lzma/C/Util/7z/
D7zMain.c70 static size_t Utf16_To_Utf8_Calc(const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8_Calc() argument
76 if (src == srcLim) in Utf16_To_Utf8_Calc()
91 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8_Calc()
106 static Byte *Utf16_To_Utf8(Byte *dest, const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8() argument
111 if (src == srcLim) in Utf16_To_Utf8()
130 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8()