OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rSize
(Results
1 - 20
of
20
) sorted by relevancy
/src/external/bsd/zstd/dist/examples/
simple_decompression.c
26
unsigned long long const
rSize
= ZSTD_getFrameContentSize(cBuff, cSize);
27
CHECK(
rSize
!= ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname);
28
CHECK(
rSize
!= ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname);
30
void* const rBuff = malloc_orDie((size_t)
rSize
);
37
size_t const dSize = ZSTD_decompress(rBuff,
rSize
, cBuff, cSize);
40
CHECK(dSize ==
rSize
, "Impossible because zstd will check this condition!");
43
printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)
rSize
);
dictionary_decompression.c
40
unsigned long long const
rSize
= ZSTD_getFrameContentSize(cBuff, cSize);
41
CHECK(
rSize
!= ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname);
42
CHECK(
rSize
!= ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname);
43
void* const rBuff = malloc_orDie((size_t)
rSize
);
64
size_t const dSize = ZSTD_decompress_usingDDict(dctx, rBuff,
rSize
, cBuff, cSize, ddict);
67
CHECK(dSize ==
rSize
, "Impossible because zstd will check this condition!");
70
printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)
rSize
);
/src/external/bsd/zstd/dist/tests/fuzz/
decompress_dstSize_tooSmall.c
58
size_t const
rSize
= ZSTD_decompressDCtx(dctx, rBuf, rBufSize, cBuf, cSize);
60
FUZZ_ASSERT(
rSize
== 0);
62
FUZZ_ASSERT(ZSTD_isError(
rSize
));
63
FUZZ_ASSERT(ZSTD_getErrorCode(
rSize
) == ZSTD_error_dstSize_tooSmall);
huf_round_trip.c
112
size_t
rSize
;
117
rSize
= HUF_decompress1X_usingDTable(rBuf, size, cBuf, cSize, dt, flags);
122
rSize
= HUF_decompress4X_usingDTable(rBuf, size, cBuf, cSize, dt, flags);
125
FUZZ_ZASSERT(
rSize
);
126
FUZZ_ASSERT_MSG(
rSize
== size, "Incorrect regenerated size");
dictionary_loader.c
95
size_t const
rSize
=
97
FUZZ_ASSERT_MSG(
rSize
== size, "Incorrect regenerated size");
dictionary_stream_round_trip.c
194
size_t const
rSize
=
196
FUZZ_ZASSERT(
rSize
);
197
FUZZ_ASSERT_MSG(
rSize
== size, "Incorrect regenerated size");
stream_round_trip.c
187
size_t const
rSize
= decompress(rBuf, neededBufSize, cBuf, cSize, producer);
188
FUZZ_ZASSERT(
rSize
);
189
FUZZ_ASSERT_MSG(
rSize
== size, "Incorrect regenerated size");
/src/external/bsd/zstd/dist/zlibWrapper/examples/
zwrapbench.c
243
size_t
rSize
;
246
rSize
= ZSTD_compress_usingCDict(ctx,
251
rSize
= ZSTD_compressCCtx (ctx,
255
if (ZSTD_isError(
rSize
)) EXM_THROW(1, "ZSTD_compress_usingCDict() failed : %s", ZSTD_getErrorName(
rSize
));
256
blockTable[blockNb].cSize =
rSize
;
266
size_t
rSize
;
286
rSize
= ZSTD_CCtx_reset(zbc, ZSTD_reset_session_only);
287
if (ZSTD_isError(
rSize
)) EXM_THROW(1, "ZSTD_CCtx_reset() failed : %s", ZSTD_getErrorName(
rSize
));
[
all
...]
/src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress.c
1342
{ size_t
rSize
;
1348
rSize
= ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize, is_streaming);
1353
rSize
= ZSTD_copyRawBlock(dst, dstCapacity, src, srcSize);
1354
FORWARD_IF_ERROR(
rSize
, "ZSTD_copyRawBlock failed");
1355
assert(
rSize
== srcSize);
1356
dctx->expected -=
rSize
;
1359
rSize
= ZSTD_setRleBlock(dst, dstCapacity, *(const BYTE*)src, dctx->rleSize);
1366
FORWARD_IF_ERROR(
rSize
, "");
1367
RETURN_ERROR_IF(
rSize
> dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size Exceeds Maximum");
1368
DEBUGLOG(5, "ZSTD_decompressContinue: decoded size from block : %u", (unsigned)
rSize
);
[
all
...]
/src/external/bsd/zstd/dist/lib/legacy/
zstd_v01.c
2102
size_t
rSize
;
2106
rSize
= ZSTD_decompressBlock(ctx, dst, maxDstSize, src, srcSize);
2109
rSize
= ZSTD_copyUncompressedBlock(dst, maxDstSize, src, srcSize);
2115
rSize
= 0;
2122
if (ZSTDv01_isError(
rSize
)) return
rSize
;
2123
ctx->previousDstEnd = (void*)( ((char*)dst) +
rSize
);
2124
return
rSize
;
zstd_v03.c
3041
size_t
rSize
;
3045
rSize
= ZSTD_decompressBlock(ctx, dst, maxDstSize, src, srcSize);
3048
rSize
= ZSTD_copyUncompressedBlock(dst, maxDstSize, src, srcSize);
3054
rSize
= 0;
3061
if (ZSTD_isError(
rSize
)) return
rSize
;
3062
ctx->previousDstEnd = (void*)( ((char*)dst) +
rSize
);
3063
return
rSize
;
zstd_v07.c
3990
{ size_t
rSize
;
3994
rSize
= ZSTDv07_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize);
3997
rSize
= ZSTDv07_copyRawBlock(dst, dstCapacity, src, srcSize);
4003
rSize
= 0;
4010
if (ZSTDv07_isError(
rSize
)) return
rSize
;
4011
dctx->previousDstEnd = (char*)dst +
rSize
;
4012
if (dctx->fParams.checksumFlag) XXH64_update(&dctx->xxhState, dst,
rSize
);
4013
return
rSize
;
zstd_v04.c
3193
size_t
rSize
;
3197
rSize
= ZSTD_decompressBlock_internal(ctx, dst, maxDstSize, src, srcSize);
3200
rSize
= ZSTD_copyRawBlock(dst, maxDstSize, src, srcSize);
3206
rSize
= 0;
3213
if (ZSTD_isError(
rSize
)) return
rSize
;
3214
ctx->previousDstEnd = (char*)dst +
rSize
;
3215
return
rSize
;
zstd_v02.c
3401
size_t
rSize
;
3405
rSize
= ZSTD_decompressBlock(ctx, dst, maxDstSize, src, srcSize);
3408
rSize
= ZSTD_copyUncompressedBlock(dst, maxDstSize, src, srcSize);
3414
rSize
= 0;
3421
if (ZSTD_isError(
rSize
)) return
rSize
;
3422
ctx->previousDstEnd = (void*)( ((char*)dst) +
rSize
);
3423
return
rSize
;
zstd_v05.c
3583
size_t
rSize
;
3587
rSize
= ZSTDv05_decompressBlock_internal(dctx, dst, maxDstSize, src, srcSize);
3590
rSize
= ZSTDv05_copyRawBlock(dst, maxDstSize, src, srcSize);
3596
rSize
= 0;
3603
if (ZSTDv05_isError(
rSize
)) return
rSize
;
3604
dctx->previousDstEnd = (char*)dst +
rSize
;
3605
return
rSize
;
zstd_v06.c
3720
{ size_t
rSize
;
3724
rSize
= ZSTDv06_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize);
3727
rSize
= ZSTDv06_copyRawBlock(dst, dstCapacity, src, srcSize);
3733
rSize
= 0;
3740
if (ZSTDv06_isError(
rSize
)) return
rSize
;
3741
dctx->previousDstEnd = (char*)dst +
rSize
;
3742
return
rSize
;
/src/external/bsd/zstd/dist/lib/compress/
zstd_compress_superblock.c
642
size_t const
rSize
= (size_t)((iend - ip));
643
size_t const cSize = ZSTD_noCompressBlock(op, (size_t)(oend - op), ip,
rSize
, lastBlock);
644
DEBUGLOG(5, "Generate last uncompressed sub-block of %u bytes", (unsigned)(
rSize
));
zstd_compress.c
7761
U64 const
rSize
= ZSTD_getCParamRowSize(srcSizeHint, dictSize, mode);
7762
U32 const tableID = (
rSize
<= 256 KB) + (
rSize
<= 128 KB) + (
rSize
<= 16 KB);
/src/external/bsd/zstd/dist/tests/
fuzzer.c
739
{ unsigned long long const
rSize
= ZSTD_getFrameContentSize(compressedBuffer, cSize);
740
if (
rSize
!= CNBuffSize) goto _output_error;
745
{ unsigned long long const
rSize
= ZSTD_getDecompressedSize(compressedBuffer, cSize);
746
if (
rSize
!= CNBuffSize) goto _output_error;
751
{ unsigned long long const
rSize
= ZSTD_findDecompressedSize(compressedBuffer, cSize);
752
if (
rSize
!= CNBuffSize) goto _output_error;
2223
{ unsigned long long const
rSize
= ZSTD_getFrameContentSize(compressedBuffer, cSize);
2224
if (
rSize
!= CNBuffSize) {
2225
DISPLAY("ZSTD_getFrameContentSize incorrect : %u != %u \n", (unsigned)
rSize
, (unsigned)CNBuffSize);
4782
{ unsigned long long const
rSize
= ZSTD_findDecompressedSize(cBuffer, cSize)
[
all
...]
/src/external/public-domain/sqlite/dist/
sqlite3.c
[
all
...]
Completed in 185 milliseconds
Indexes created Tue Jun 09 00:24:00 UTC 2026