OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hSize
(Results
1 - 15
of
15
) sorted by relevancy
/src/external/bsd/zstd/dist/lib/dictBuilder/
zdict.c
863
size_t
hSize
;
884
hSize
= 8;
889
{ size_t const eSize = ZDICT_analyzeEntropy(header+
hSize
, HBUFFSIZE-
hSize
,
895
hSize
+= eSize;
899
if (
hSize
+ dictContentSize > dictBufferCapacity) {
900
dictContentSize = dictBufferCapacity -
hSize
;
905
RETURN_ERROR_IF(
hSize
+ minContentSize > dictBufferCapacity, dstSize_tooSmall,
913
size_t const dictSize =
hSize
+ paddingSize + dictContentSize;
920
BYTE* const outDictPadding = outDictHeader +
hSize
;
[
all
...]
/src/external/bsd/zstd/dist/lib/decompress/
huf_decompress.c
936
size_t const
hSize
= HUF_readDTableX1_wksp(dctx, cSrc, cSrcSize, workSpace, wkspSize, flags);
937
if (HUF_isError(
hSize
)) return
hSize
;
938
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
939
ip +=
hSize
; cSrcSize -=
hSize
;
1760
size_t const
hSize
= HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize,
1762
if (HUF_isError(
hSize
)) return
hSize
;
1763
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong)
[
all
...]
zstd_decompress.c
1467
size_t const
hSize
= HUF_readDTableX1_wksp(entropy->hufTable,
1471
size_t const
hSize
= HUF_readDTableX2_wksp(entropy->hufTable,
1475
RETURN_ERROR_IF(HUF_isError(
hSize
), dictionary_corrupted, "");
1476
dictPtr +=
hSize
;
2135
{ size_t const
hSize
= ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSize, zds->format);
2139
if (ZSTD_isError(
hSize
)) {
2158
return
hSize
; /* error */
2160
if (
hSize
!= 0) { /* need more input */
2161
size_t const toLoad =
hSize
- zds->lhSize; /* if
hSize
!=0, hSize > zds->lhSize *
[
all
...]
/src/external/bsd/zstd/dist/lib/compress/
huf_compress.c
174
{ CHECK_V_F(
hSize
, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) );
175
op +=
hSize
;
275
{ CHECK_V_F(
hSize
, HUF_compressWeights(op+1, maxDstSize-1, wksp->huffWeight, maxSymbolValue, &wksp->wksp, sizeof(wksp->wksp)) );
276
if ((
hSize
>1) & (
hSize
< maxSymbolValue/2)) { /* FSE compressed */
277
op[0] = (BYTE)
hSize
;
278
return
hSize
+1;
1291
size_t
hSize
, newSize;
1308
hSize
= HUF_writeCTable_wksp(dst, dstSize, table, maxSymbolValue, (U32)maxBits, workSpace, wkspSize);
1311
if (ERR_isError(
hSize
)) continue
[
all
...]
zstd_compress.c
1653
size_t const
hSize
= ((size_t)1) << cParams->hashLog;
1659
+
hSize
* sizeof(U32)
1669
? ZSTD_cwksp_aligned_alloc_size(
hSize
)
1680
DEBUGLOG(4, "chainSize: %u -
hSize
: %u - h3Size: %u",
1681
(U32)chainSize, (U32)
hSize
, (U32)h3Size);
1988
size_t const
hSize
= ((size_t)1) << cParams->hashLog;
2010
ms->hashTable = (U32*)ZSTD_cwksp_reserve_table(ws,
hSize
* sizeof(U32));
2024
size_t const tagTableSize =
hSize
;
2424
size_t const
hSize
= (size_t)1 << cdict_cParams->hashLog;
2428
hSize
, cdict_cParams)
[
all
...]
zstdmt_compress.c
738
size_t const
hSize
= ZSTD_compressContinue_public(cctx, dstBuff.start, dstBuff.capacity, job->src.start, 0);
739
if (ZSTD_isError(
hSize
)) JOB_ERROR(
hSize
);
740
DEBUGLOG(5, "ZSTDMT_compressionJob: flush and overwrite %u bytes of frame header (not first job)", (U32)
hSize
);
/src/external/bsd/zstd/dist/lib/legacy/
zstd_v07.c
1850
size_t const
hSize
= HUFv07_readDTableX2 (DCtx, cSrc, cSrcSize);
1851
if (HUFv07_isError(
hSize
)) return
hSize
;
1852
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
1853
ip +=
hSize
; cSrcSize -=
hSize
;
1973
size_t const
hSize
= HUFv07_readDTableX2 (dctx, cSrc, cSrcSize);
1974
if (HUFv07_isError(
hSize
)) return
hSize
;
1975
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong)
[
all
...]
zstd_v06.c
2441
size_t const
hSize
= HUFv06_readDTableX4 (DTable, cSrc, cSrcSize);
2442
if (HUFv06_isError(
hSize
)) return
hSize
;
2443
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
2444
ip +=
hSize
;
2445
cSrcSize -=
hSize
;
2549
size_t
hSize
= HUFv06_readDTableX4 (DTable, cSrc, cSrcSize);
2550
if (HUFv06_isError(
hSize
)) return
hSize
;
2551
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong)
[
all
...]
zstd_v05.c
2317
size_t
hSize
= HUFv05_readDTableX4 (DTable, cSrc, cSrcSize);
2318
if (HUFv05_isError(
hSize
)) return
hSize
;
2319
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
2320
ip +=
hSize
;
2321
cSrcSize -=
hSize
;
2426
size_t
hSize
= HUFv05_readDTableX4 (DTable, cSrc, cSrcSize);
2427
if (HUFv05_isError(
hSize
)) return
hSize
;
2428
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong)
[
all
...]
zstd_v02.c
2120
size_t
hSize
= HUF_readDTableX4 (DTable, cSrc, cSrcSize);
2121
if (HUF_isError(
hSize
)) return
hSize
;
2122
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
2123
ip +=
hSize
;
2124
cSrcSize -=
hSize
;
2477
size_t
hSize
= HUF_readDTableX6 (DTable, cSrc, cSrcSize);
2478
if (HUF_isError(
hSize
)) return
hSize
;
2479
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong)
[
all
...]
zstd_v03.c
2116
size_t
hSize
= HUF_readDTableX4 (DTable, cSrc, cSrcSize);
2117
if (HUF_isError(
hSize
)) return
hSize
;
2118
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
2119
ip +=
hSize
;
2120
cSrcSize -=
hSize
;
zstd_v04.c
2269
size_t
hSize
= HUF_readDTableX4 (DTable, cSrc, cSrcSize);
2270
if (HUF_isError(
hSize
)) return
hSize
;
2271
if (
hSize
>= cSrcSize) return ERROR(srcSize_wrong);
2272
ip +=
hSize
;
2273
cSrcSize -=
hSize
;
/src/external/apache2/mDNSResponder/dist/mDNSShared/
DebugServices.c
1152
unsigned
hSize
: 1;
1232
case 'h': F.
hSize
= 1; c = *++fmt; goto conv;
1264
if (F.
hSize
) n = (short) n;
1283
if (F.
hSize
) n = (unsigned short) n;
1388
if (F.
hSize
) n = (unsigned short) n;
1497
if (F.
hSize
) err = (short)err;
1529
if (F.
hSize
) *(short *) s = (short)nwritten;
/src/external/bsd/zstd/dist/tests/
decodecorpus.c
464
{ size_t const
hSize
= HUF_writeCTable_wksp (op, dstSize, hufTable, maxSymbolValue, huffLog, WKSP, sizeof(WKSP));
465
if (
hSize
+ 12 >= srcSize) return 0; /* not useful to try compression */
466
op +=
hSize
;
/src/external/apache2/mDNSResponder/dist/mDNSCore/
DNSCommon.c
5708
unsigned
hSize
: 1;
5787
case 'h': F.
hSize
= 1; c = *++fmt; goto conv;
5793
if (F.
hSize
) n = (short) n;
5799
if (F.
hSize
) n = (unsigned short) n;
5820
if (F.
hSize
) n = (unsigned short) n;
5941
if (F.
hSize
) n = (unsigned short) n;
6036
if (F.
hSize
) *(short *) s = (short)nwritten;
Completed in 114 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026