ReactOS 0.4.16-dev-336-gb667d82
|
#include <stddef.h>
#include <string.h>
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | MEM_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */ |
#define | __has_builtin(x) 0 /* compat. with non-clang compilers */ |
#define | MEM_STATIC_ASSERT(c) { enum { MEM_static_assert = 1/(int)(!!(c)) }; } |
Typedefs | |
typedef unsigned char | BYTE |
typedef unsigned short | U16 |
typedef signed short | S16 |
typedef unsigned int | U32 |
typedef signed int | S32 |
typedef unsigned long long | U64 |
typedef signed long long | S64 |
MEM_STATIC unsigned MEM_32bits | ( | void | ) |
Definition at line 183 of file mem.h.
Referenced by HUF_decodeStreamX1(), MEM_readBEST(), MEM_readLEST(), MEM_swapST(), MEM_writeBEST(), MEM_writeLEST(), and ZSTD_encodeSequences_body().
MEM_STATIC unsigned MEM_64bits | ( | void | ) |
MEM_STATIC void MEM_check | ( | void | ) |
MEM_STATIC unsigned MEM_isLittleEndian | ( | void | ) |
Definition at line 186 of file mem.h.
Referenced by MEM_readBE32(), MEM_readBE64(), MEM_readLE16(), MEM_readLE32(), MEM_readLE64(), MEM_writeBE32(), MEM_writeBE64(), MEM_writeLE16(), MEM_writeLE32(), MEM_writeLE64(), and ZSTD_readMINMATCH().
MEM_STATIC U16 MEM_read16 | ( | const void * | memPtr | ) |
Definition at line 237 of file mem.h.
Referenced by MEM_readLE16(), and ZSTD_getFSEMaxSymbolValue().
MEM_STATIC U32 MEM_read32 | ( | const void * | memPtr | ) |
Definition at line 242 of file mem.h.
Referenced by HIST_count_parallel_wksp(), MEM_readBE32(), MEM_readLE32(), ZSTD_compressBlock_doubleFast_extDict_generic(), ZSTD_compressBlock_doubleFast_generic(), ZSTD_compressBlock_fast_dictMatchState_generic(), ZSTD_compressBlock_fast_extDict_generic(), ZSTD_compressBlock_fast_generic(), ZSTD_compressBlock_lazy_extDict_generic(), ZSTD_compressBlock_lazy_generic(), ZSTD_HcFindBestMatch_generic(), and ZSTD_readMINMATCH().
MEM_STATIC U64 MEM_read64 | ( | const void * | memPtr | ) |
Definition at line 247 of file mem.h.
Referenced by MEM_readBE64(), MEM_readLE64(), ZSTD_compressBlock_doubleFast_extDict_generic(), and ZSTD_compressBlock_doubleFast_generic().
MEM_STATIC U32 MEM_readBE32 | ( | const void * | memPtr | ) |
MEM_STATIC U64 MEM_readBE64 | ( | const void * | memPtr | ) |
MEM_STATIC size_t MEM_readBEST | ( | const void * | memPtr | ) |
MEM_STATIC U16 MEM_readLE16 | ( | const void * | memPtr | ) |
Definition at line 314 of file mem.h.
Referenced by HUF_decompress4X1_usingDTable_internal_body(), HUF_decompress4X2_usingDTable_internal_body(), MEM_readLE24(), and ZSTD_getFrameHeader_advanced().
MEM_STATIC U32 MEM_readLE24 | ( | const void * | memPtr | ) |
MEM_STATIC U32 MEM_readLE32 | ( | const void * | memPtr | ) |
Definition at line 346 of file mem.h.
Referenced by FSE_readNCount(), MEM_readLEST(), readSkippableFrameSize(), ZSTD_compress_insertDictionary(), ZSTD_decompress_insertDictionary(), ZSTD_decompressContinue(), ZSTD_decompressFrame(), ZSTD_decompressMultiFrame(), ZSTD_decompressStream(), ZSTD_findDecompressedSize(), ZSTD_findFrameSizeInfo(), ZSTD_getDictID_fromDict(), ZSTD_getFrameHeader_advanced(), ZSTD_isFrame(), ZSTD_loadCEntropy(), ZSTD_loadDEntropy(), ZSTD_loadEntropy_intoDDict(), and ZSTD_loadZstdDictionary().
MEM_STATIC U64 MEM_readLE64 | ( | const void * | memPtr | ) |
Definition at line 362 of file mem.h.
Referenced by MEM_readLEST(), ZSTD_getFrameHeader_advanced(), and ZSTD_hashPtr().
MEM_STATIC size_t MEM_readLEST | ( | const void * | memPtr | ) |
Definition at line 378 of file mem.h.
Referenced by BIT_initDStream(), BIT_reloadDStream(), and BIT_reloadDStreamFast().
MEM_STATIC size_t MEM_readST | ( | const void * | memPtr | ) |
MEM_STATIC U32 MEM_swap32 | ( | U32 | in | ) |
Definition at line 274 of file mem.h.
Referenced by MEM_readBE32(), MEM_readLE32(), MEM_swapST(), MEM_writeBE32(), and MEM_writeLE32().
MEM_STATIC U64 MEM_swap64 | ( | U64 | in | ) |
Definition at line 287 of file mem.h.
Referenced by MEM_readBE64(), MEM_readLE64(), MEM_swapST(), MEM_writeBE64(), and MEM_writeLE64().
MEM_STATIC size_t MEM_swapST | ( | size_t | in | ) |
MEM_STATIC void MEM_write16 | ( | void * | memPtr, |
U16 | value | ||
) |
Definition at line 257 of file mem.h.
Referenced by MEM_writeLE16().
MEM_STATIC void MEM_write32 | ( | void * | memPtr, |
U32 | value | ||
) |
Definition at line 262 of file mem.h.
Referenced by MEM_writeBE32(), and MEM_writeLE32().
MEM_STATIC void MEM_write64 | ( | void * | memPtr, |
U64 | value | ||
) |
Definition at line 267 of file mem.h.
Referenced by MEM_writeBE64(), and MEM_writeLE64().
MEM_STATIC void MEM_writeBE32 | ( | void * | memPtr, |
U32 | val32 | ||
) |
Definition at line 404 of file mem.h.
Referenced by MEM_writeBEST().
MEM_STATIC void MEM_writeBE64 | ( | void * | memPtr, |
U64 | val64 | ||
) |
Definition at line 420 of file mem.h.
Referenced by MEM_writeBEST().
MEM_STATIC void MEM_writeBEST | ( | void * | memPtr, |
size_t | val | ||
) |
MEM_STATIC void MEM_writeLE16 | ( | void * | memPtr, |
U16 | val | ||
) |
Definition at line 324 of file mem.h.
Referenced by HUF_compress4X_usingCTable_internal(), HUF_fillDTableX2(), HUF_fillDTableX2Level2(), MEM_writeLE24(), ZSTD_compressRleLiteralsBlock(), ZSTD_compressSequences_internal(), ZSTD_compressSubBlock_sequences(), ZSTD_noCompressLiterals(), and ZSTD_writeFrameHeader().
MEM_STATIC void MEM_writeLE24 | ( | void * | memPtr, |
U32 | val | ||
) |
Definition at line 340 of file mem.h.
Referenced by ZSTD_compress_frameChunk(), ZSTD_compressLiterals(), ZSTD_compressSubBlock(), ZSTD_compressSubBlock_literal(), and ZSTD_writeLastEmptyBlock().
MEM_STATIC void MEM_writeLE32 | ( | void * | memPtr, |
U32 | val32 | ||
) |
Definition at line 354 of file mem.h.
Referenced by MEM_writeLEST(), ZSTD_compressLiterals(), ZSTD_compressRleLiteralsBlock(), ZSTD_compressSubBlock_literal(), ZSTD_noCompressLiterals(), ZSTD_writeEpilogue(), and ZSTD_writeFrameHeader().
MEM_STATIC void MEM_writeLE64 | ( | void * | memPtr, |
U64 | val64 | ||
) |
Definition at line 370 of file mem.h.
Referenced by MEM_writeLEST(), and ZSTD_writeFrameHeader().
MEM_STATIC void MEM_writeLEST | ( | void * | memPtr, |
size_t | val | ||
) |
Definition at line 386 of file mem.h.
Referenced by BIT_flushBits(), and BIT_flushBitsFast().