HomeSort by: relevance | last modified time | path
    Searched defs:inBuff (Results 1 - 13 of 13) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/deprecated/
zbuff_compress.c 119 ZSTD_inBuffer inBuff;
123 inBuff.src = src;
124 inBuff.pos = 0;
125 inBuff.size = *srcSizePtr;
126 result = ZSTD_compressStream(zbc, &outBuff, &inBuff);
128 *srcSizePtr = inBuff.pos;
zbuff_decompress.c 58 ZSTD_inBuffer inBuff;
63 inBuff.src = src;
64 inBuff.pos = 0;
65 inBuff.size = *srcSizePtr;
66 result = ZSTD_decompressStream(zbd, &outBuff, &inBuff);
68 *srcSizePtr = inBuff.pos;
  /src/external/bsd/zstd/dist/examples/
streaming_memory_usage.c 89 ZSTD_inBuffer inBuff = { dataToCompress, sizeof(dataToCompress), 0 };
91 CHECK_ZSTD( ZSTD_compressStream(cctx, &outBuff, &inBuff) );
108 { ZSTD_inBuffer inBuff = { compressedData, compressedSize, 0 };
110 size_t const remaining = ZSTD_decompressStream(dctx, &outBuff, &inBuff);
  /src/external/bsd/zstd/dist/contrib/seekable_format/
zstdseek_decompress.c 220 BYTE inBuff[SEEKABLE_BUFF_SIZE]; /* need to do our own input buffering */
380 CHECK_IO(src.read(src.opaque, zs->inBuff, ZSTD_seekTableFooterSize));
382 if (MEM_readLE32(zs->inBuff + 5) != ZSTD_SEEKABLE_MAGICNUMBER) {
386 { BYTE const sfd = zs->inBuff[4];
394 { U32 const numFrames = MEM_readLE32(zs->inBuff);
402 CHECK_IO(src.read(src.opaque, zs->inBuff, toRead));
406 if (MEM_readLE32(zs->inBuff) != (ZSTD_MAGIC_SKIPPABLE_START | 0xE)) {
409 if (MEM_readLE32(zs->inBuff+4) + ZSTD_SKIPPABLEHEADERSIZE != frameSize) {
430 memmove(zs->inBuff, zs->inBuff + pos, offset); /* move any data we haven't read yet *
    [all...]
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress_internal.h 174 char* inBuff;
  /src/external/bsd/zstd/dist/lib/compress/
zstdmt_compress.c 840 size_t pos; /* The position of the current inBuff in the round
841 * buffer. Updated past the end if the inBuff once
842 * the inBuff is sent to the worker thread.
876 InBuff_t inBuff;
1024 mtctx->inBuff.buffer = g_nullBuffer;
1025 mtctx->inBuff.filled = 0;
1117 fps.ingested = mtctx->consumed + mtctx->inBuff.filled;
1311 DEBUGLOG(4, "inBuff Size : %u KB", (U32)(mtctx->targetSectionSize>>10));
1341 mtctx->inBuff.buffer = g_nullBuffer;
1342 mtctx->inBuff.filled = 0
    [all...]
zstd_compress_internal.h 508 char* inBuff;
  /src/external/bsd/zstd/dist/tests/
zstreamtest.c 280 ZSTD_inBuffer inBuff, inBuff2;
310 inBuff.src = CNBuffer;
311 inBuff.size = CNBufferSize;
312 inBuff.pos = 0;
313 CHECK_Z( ZSTD_compressStream(zc, &outBuff, &inBuff) );
314 if (inBuff.pos != inBuff.size) goto _output_error; /* entire input should be consumed */
333 inBuff.src = CNBuffer;
334 inBuff.size = CNBufferSize;
335 inBuff.pos = 0
    [all...]
  /src/external/bsd/zstd/dist/programs/
fileio.c 1551 ZSTD_inBuffer inBuff = setInBuffer( ress.readCtx->srcBuffer, ress.readCtx->srcBufferLoaded, 0 );
1559 while ((inBuff.pos != inBuff.size) /* input buffer must be entirely ingested */
1562 size_t const oldIPos = inBuff.pos;
1565 CHECK_V(stillToFlush, ZSTD_compressStream2(ress.cctx, &outBuff, &inBuff, directive));
1566 AIO_ReadPool_consumeBytes(ress.readCtx, inBuff.pos - oldIPos);
1570 if (oldIPos == inBuff.pos) inputBlocked++; /* input buffer is full and can't take any more : input speed is faster than consumption rate */
1575 (unsigned)directive, (unsigned)inBuff.pos, (unsigned)inBuff.size, (unsigned)outBuff.pos);
1713 } /* while ((inBuff.pos != inBuff.size) *
    [all...]
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v04.c 3307 char* inBuff;
3338 free(zbc->inBuff);
3430 free(zbc->inBuff);
3432 zbc->inBuff = (char*)malloc(neededInSize);
3433 if (zbc->inBuff == NULL) return ERROR(memory_allocation);
3444 /* some data already loaded into headerBuffer : transfer into inBuff */
3445 memcpy(zbc->inBuff, zbc->headerBuffer, zbc->hPos);
3482 size_t toLoad = neededInSize - zbc->inPos; /* should always be <= remaining space within inBuff */
3485 loadedSize = ZBUFF_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip);
3492 zbc->inBuff, neededInSize)
    [all...]
zstd_v05.c 3791 char* inBuff;
3818 free(zbc->inBuff);
3899 free(zbc->inBuff);
3901 zbc->inBuff = (char*)malloc(neededInSize);
3902 if (zbc->inBuff == NULL) return ERROR(memory_allocation);
3911 /* some data already loaded into headerBuffer : transfer into inBuff */
3912 memcpy(zbc->inBuff, zbc->headerBuffer, zbc->hPos);
3947 size_t toLoad = neededInSize - zbc->inPos; /* should always be <= remaining space within inBuff */
3950 loadedSize = ZBUFFv05_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip);
3957 zbc->inBuff, neededInSize)
    [all...]
zstd_v06.c 3903 char* inBuff;
3934 free(zbd->inBuff);
4017 free(zbd->inBuff);
4019 zbd->inBuff = (char*)malloc(blockSize);
4020 if (zbd->inBuff == NULL) return ERROR(memory_allocation);
4055 size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within inBuff */
4058 loadedSize = ZBUFFv06_limitCopy(zbd->inBuff + zbd->inPos, toLoad, ip, iend-ip);
4066 zbd->inBuff, neededInSize);
zstd_v07.c 4265 char* inBuff;
4309 if (zbd->inBuff) zbd->customMem.customFree(zbd->customMem.opaque, zbd->inBuff);
4394 zbd->customMem.customFree(zbd->customMem.opaque, zbd->inBuff);
4396 zbd->inBuff = (char*)zbd->customMem.customAlloc(zbd->customMem.opaque, blockSize);
4397 if (zbd->inBuff == NULL) return ERROR(memory_allocation);
4434 size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within inBuff */
4437 loadedSize = ZBUFFv07_limitCopy(zbd->inBuff + zbd->inPos, toLoad, ip, iend-ip);
4446 zbd->inBuff, neededInSize);

Completed in 79 milliseconds