Searched refs:spaceUsed32 (Results 1 – 6 of 6) sorted by relevance
94 size_t spaceUsed32 = 0; in HUF_compressWeights_wksp() local98 CTable = (FSE_CTable *)((U32 *)workspace + spaceUsed32); in HUF_compressWeights_wksp()99 spaceUsed32 += FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX); in HUF_compressWeights_wksp()100 count = (U32 *)workspace + spaceUsed32; in HUF_compressWeights_wksp()101 spaceUsed32 += HUF_TABLELOG_MAX + 1; in HUF_compressWeights_wksp()102 norm = (S16 *)((U32 *)workspace + spaceUsed32); in HUF_compressWeights_wksp()103 spaceUsed32 += ALIGN(sizeof(S16) * (HUF_TABLELOG_MAX + 1), sizeof(U32)) >> 2; in HUF_compressWeights_wksp()105 if ((spaceUsed32 << 2) > workspaceSize) in HUF_compressWeights_wksp()107 workspace = (U32 *)workspace + spaceUsed32; in HUF_compressWeights_wksp()108 workspaceSize -= (spaceUsed32 << 2); in HUF_compressWeights_wksp()[all …]
297 size_t spaceUsed32 = 0; in FSE_decompress_wksp() local301 dt = (FSE_DTable *)((U32 *)workspace + spaceUsed32); in FSE_decompress_wksp()302 spaceUsed32 += FSE_DTABLE_SIZE_U32(maxLog); in FSE_decompress_wksp()303 counting = (short *)((U32 *)workspace + spaceUsed32); in FSE_decompress_wksp()304 spaceUsed32 += ALIGN(sizeof(short) * (FSE_MAX_SYMBOL_VALUE + 1), sizeof(U32)) >> 2; in FSE_decompress_wksp()306 if ((spaceUsed32 << 2) > workspaceSize) in FSE_decompress_wksp()308 workspace = (U32 *)workspace + spaceUsed32; in FSE_decompress_wksp()309 workspaceSize -= (spaceUsed32 << 2); in FSE_decompress_wksp()
100 size_t spaceUsed32 = 0; in HUF_readDTableX2_wksp() local102 rankVal = (U32 *)workspace + spaceUsed32; in HUF_readDTableX2_wksp()103 spaceUsed32 += HUF_TABLELOG_ABSOLUTEMAX + 1; in HUF_readDTableX2_wksp()104 huffWeight = (BYTE *)((U32 *)workspace + spaceUsed32); in HUF_readDTableX2_wksp()105 spaceUsed32 += ALIGN(HUF_SYMBOLVALUE_MAX + 1, sizeof(U32)) >> 2; in HUF_readDTableX2_wksp()107 if ((spaceUsed32 << 2) > workspaceSize) in HUF_readDTableX2_wksp()109 workspace = (U32 *)workspace + spaceUsed32; in HUF_readDTableX2_wksp()110 workspaceSize -= (spaceUsed32 << 2); in HUF_readDTableX2_wksp()497 size_t spaceUsed32 = 0; in HUF_readDTableX4_wksp() local501 rankVal = (rankValCol_t *)((U32 *)workspace + spaceUsed32); in HUF_readDTableX4_wksp()[all …]
105 size_t spaceUsed32 = 0; in FSE_buildCTable_wksp() local107 cumul = (U32 *)workspace + spaceUsed32; in FSE_buildCTable_wksp()108 spaceUsed32 += FSE_MAX_SYMBOL_VALUE + 2; in FSE_buildCTable_wksp()109 tableSymbol = (FSE_FUNCTION_TYPE *)((U32 *)workspace + spaceUsed32); in FSE_buildCTable_wksp()110 spaceUsed32 += ALIGN(sizeof(FSE_FUNCTION_TYPE) * ((size_t)1 << tableLog), sizeof(U32)) >> 2; in FSE_buildCTable_wksp()112 if ((spaceUsed32 << 2) > workspaceSize) in FSE_buildCTable_wksp()114 workspace = (U32 *)workspace + spaceUsed32; in FSE_buildCTable_wksp()115 workspaceSize -= (spaceUsed32 << 2); in FSE_buildCTable_wksp()
609 size_t spaceUsed32 = 0; in ZSTD_compressSequences_internal() local610 count = (U32 *)zc->tmpCounters + spaceUsed32; in ZSTD_compressSequences_internal()611 spaceUsed32 += MaxSeq + 1; in ZSTD_compressSequences_internal()612 norm = (S16 *)((U32 *)zc->tmpCounters + spaceUsed32); in ZSTD_compressSequences_internal()613 spaceUsed32 += ALIGN(sizeof(S16) * (MaxSeq + 1), sizeof(U32)) >> 2; in ZSTD_compressSequences_internal()615 workspace = (U32 *)zc->tmpCounters + spaceUsed32; in ZSTD_compressSequences_internal()616 workspaceSize -= (spaceUsed32 << 2); in ZSTD_compressSequences_internal()
774 size_t const spaceUsed32 = ALIGN(sizeof(S16) * (MaxSeq + 1), sizeof(U32)) >> 2; in ZSTD_buildSeqTable() local776 if ((spaceUsed32 << 2) > workspaceSize) in ZSTD_buildSeqTable()778 workspace = (U32 *)workspace + spaceUsed32; in ZSTD_buildSeqTable()779 workspaceSize -= (spaceUsed32 << 2); in ZSTD_buildSeqTable()