Home
last modified time | relevance | path

Searched refs:wksp (Results 1 – 10 of 10) sorted by relevance

/external/zstd/contrib/linux-kernel/test/
Dstatic_test.c35 void* wksp = malloc(wkspSize); in test_decompress_unzstd() local
36 CONTROL(wksp != NULL); in test_decompress_unzstd()
37 ZSTD_DCtx* dctx = zstd_init_dctx(wksp, wkspSize); in test_decompress_unzstd()
42 free(wksp); in test_decompress_unzstd()
Dtest.c149 void* wksp = malloc(wkspSize); in test_decompress_unzstd() local
150 CONTROL(wksp != NULL); in test_decompress_unzstd()
151 zstd_cctx* cctx = zstd_init_cctx(wksp, wkspSize); in test_decompress_unzstd()
155 free(wksp); in test_decompress_unzstd()
159 void* wksp = malloc(wkspSize); in test_decompress_unzstd() local
160 CONTROL(wksp != NULL); in test_decompress_unzstd()
161 zstd_dctx* dctx = zstd_init_dctx(wksp, wkspSize); in test_decompress_unzstd()
167 free(wksp); in test_decompress_unzstd()
/external/zstd/lib/decompress/
Dhuf_decompress.c154 HUF_ReadDTableX1_Workspace* wksp = (HUF_ReadDTableX1_Workspace*)workSpace; in HUF_readDTableX1_wksp_bmi2() local
156 DEBUG_STATIC_ASSERT(HUF_DECOMPRESS_WORKSPACE_SIZE >= sizeof(*wksp)); in HUF_readDTableX1_wksp_bmi2()
157 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2()
162 …readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &tableLog, sr… in HUF_readDTableX1_wksp_bmi2()
192 nextRankStart += wksp->rankVal[n]; in HUF_readDTableX1_wksp_bmi2()
193 wksp->rankStart[n] = curr; in HUF_readDTableX1_wksp_bmi2()
198 size_t const w = wksp->huffWeight[n+u]; in HUF_readDTableX1_wksp_bmi2()
199 wksp->symbols[wksp->rankStart[w]++] = (BYTE)(n+u); in HUF_readDTableX1_wksp_bmi2()
203 size_t const w = wksp->huffWeight[n]; in HUF_readDTableX1_wksp_bmi2()
204 wksp->symbols[wksp->rankStart[w]++] = (BYTE)n; in HUF_readDTableX1_wksp_bmi2()
[all …]
Dzstd_decompress_block.h58 unsigned tableLog, void* wksp, size_t wkspSize,
Dzstd_decompress_block.c371 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body() argument
377 U16* symbolNext = (U16*)wksp; in ZSTD_buildFSETable_body()
491 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_default() argument
494 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_default()
501 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_bmi2() argument
504 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_bmi2()
511 unsigned tableLog, void* wksp, size_t wkspSize, int bmi2) in ZSTD_buildFSETable() argument
516 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
522 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
534 int ddictIsCold, int nbSeq, U32* wksp, size_t wkspSize, in ZSTD_buildSeqTable() argument
[all …]
/external/zstd/lib/common/
Dfse_decompress.c380 U32 wksp[FSE_BUILD_DTABLE_WKSP_SIZE_U32(FSE_TABLELOG_ABSOLUTE_MAX, FSE_MAX_SYMBOL_VALUE)]; in FSE_buildDTable() local
381 … return FSE_buildDTable_wksp(dt, normalizedCounter, maxSymbolValue, tableLog, wksp, sizeof(wksp)); in FSE_buildDTable()
387 U32 wksp[FSE_DECOMPRESS_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_SYMBOL_VALUE)]; in FSE_decompress() local
388 …return FSE_decompress_wksp(dst, dstCapacity, cSrc, cSrcSize, FSE_MAX_TABLELOG, wksp, sizeof(wksp)); in FSE_decompress()
Dentropy_common.c260 U32 wksp[HUF_READ_STATS_WORKSPACE_SIZE_U32]; in HUF_readStats() local
261 …Weight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, wksp, sizeof(wksp), /* bmi2 */… in HUF_readStats()
/external/zstd/lib/compress/
Dzstd_compress_sequences.c73 BYTE wksp[FSE_NCOUNTBOUND]; in ZSTD_NCountCost() local
77 return FSE_writeNCount(wksp, sizeof(wksp), norm, max, tableLog); in ZSTD_NCountCost()
/external/zstd/lib/dictBuilder/
Dzdict.c110 U32* wksp = (U32*)malloc(HUF_WORKSPACE_SIZE); in ZDICT_getDictHeaderSize() local
111 if (!bs || !wksp) { in ZDICT_getDictHeaderSize()
115 headerSize = ZSTD_loadCEntropy(bs, wksp, dictBuffer, dictSize); in ZDICT_getDictHeaderSize()
119 free(wksp); in ZDICT_getDictHeaderSize()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_fused_batch_norm_op.cc749 MklDnnData<U> wksp(&cpu_engine_); in Compute() local
796 wksp.SetUsrMem(workspace_md, reserved_space_tensor); in Compute()
797 ws_data = static_cast<U*>(wksp.GetOpMem().get_data_handle()); in Compute()