Lines Matching refs:ostart

445 	BYTE *const ostart = (BYTE * const)dst;  in ZSTD_noCompressLiterals()  local
452 case 1: /* 2 - 1 - 5 */ ostart[0] = (BYTE)((U32)set_basic + (srcSize << 3)); break; in ZSTD_noCompressLiterals()
453 …case 2: /* 2 - 2 - 12 */ ZSTD_writeLE16(ostart, (U16)((U32)set_basic + (1 << 2) + (srcSize << 4)))… in ZSTD_noCompressLiterals()
455 …case 3: /* 2 - 2 - 20 */ ZSTD_writeLE32(ostart, (U32)((U32)set_basic + (3 << 2) + (srcSize << 4)))… in ZSTD_noCompressLiterals()
458 memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals()
464 BYTE *const ostart = (BYTE * const)dst; in ZSTD_compressRleLiteralsBlock() local
470 case 1: /* 2 - 1 - 5 */ ostart[0] = (BYTE)((U32)set_rle + (srcSize << 3)); break; in ZSTD_compressRleLiteralsBlock()
471 …case 2: /* 2 - 2 - 12 */ ZSTD_writeLE16(ostart, (U16)((U32)set_rle + (1 << 2) + (srcSize << 4))); … in ZSTD_compressRleLiteralsBlock()
473 …case 3: /* 2 - 2 - 20 */ ZSTD_writeLE32(ostart, (U32)((U32)set_rle + (3 << 2) + (srcSize << 4))); … in ZSTD_compressRleLiteralsBlock()
476 ostart[flSize] = *(const BYTE *)src; in ZSTD_compressRleLiteralsBlock()
486 BYTE *const ostart = (BYTE *)dst; in ZSTD_compressLiterals() local
506 …cLitSize = singleStream ? HUF_compress1X_repeat(ostart + lhSize, dstCapacity - lhSize, src, srcSiz… in ZSTD_compressLiterals()
508 …: HUF_compress4X_repeat(ostart + lhSize, dstCapacity - lhSize, src, srcSize, 255, 11, zc->tmpCount… in ZSTD_compressLiterals()
532 ZSTD_writeLE24(ostart, lhc); in ZSTD_compressLiterals()
538 ZSTD_writeLE32(ostart, lhc); in ZSTD_compressLiterals()
545 ZSTD_writeLE32(ostart, lhc); in ZSTD_compressLiterals()
546 ostart[4] = (BYTE)(cLitSize >> 10); in ZSTD_compressLiterals()
598 BYTE *const ostart = (BYTE *)dst; in ZSTD_compressSequences_internal() local
599 BYTE *const oend = ostart + dstCapacity; in ZSTD_compressSequences_internal()
600 BYTE *op = ostart; in ZSTD_compressSequences_internal()
639 return op - ostart; in ZSTD_compressSequences_internal()
829 return op - ostart; in ZSTD_compressSequences_internal()
2360 BYTE *const ostart = (BYTE *)dst; in ZSTD_compress_generic() local
2361 BYTE *op = ostart; in ZSTD_compress_generic()
2426 if (lastFrameChunk && (op > ostart)) in ZSTD_compress_generic()
2428 return op - ostart; in ZSTD_compress_generic()
2767 BYTE *const ostart = (BYTE *)dst; in ZSTD_writeEpilogue() local
2768 BYTE *op = ostart; in ZSTD_writeEpilogue()
2803 return op - ostart; in ZSTD_writeEpilogue()
3135 char *const ostart = (char *)dst; in ZSTD_compressStream_generic() local
3136 char *const oend = ostart + *dstCapacityPtr; in ZSTD_compressStream_generic()
3137 char *op = ostart; in ZSTD_compressStream_generic()
3210 *dstCapacityPtr = op - ostart; in ZSTD_compressStream_generic()
3252 BYTE *const ostart = (BYTE *)(output->dst) + output->pos; in ZSTD_endStream() local
3254 BYTE *op = ostart; in ZSTD_endStream()
3264 …ZSTD_compressStream_generic(zcs, ostart, &sizeWritten, &srcSize, &srcSize, zsf_end); /* use a vali… in ZSTD_endStream()
3283 output->pos += op - ostart; in ZSTD_endStream()