#include <stddef.h>
#include "compiler.h"
#include "debug.h"
#include "zstd_deps.h"
#include <limits.h>
Go to the source code of this file.
|
typedef unsigned char | BYTE |
|
typedef unsigned char | U8 |
|
typedef signed char | S8 |
|
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) |
|
MEM_STATIC unsigned | MEM_64bits (void) |
|
MEM_STATIC unsigned | MEM_isLittleEndian (void) |
|
MEM_STATIC U16 | MEM_read16 (const void *memPtr) |
|
MEM_STATIC U32 | MEM_read32 (const void *memPtr) |
|
MEM_STATIC U64 | MEM_read64 (const void *memPtr) |
|
MEM_STATIC size_t | MEM_readST (const void *memPtr) |
|
MEM_STATIC void | MEM_write16 (void *memPtr, U16 value) |
|
MEM_STATIC void | MEM_write32 (void *memPtr, U32 value) |
|
MEM_STATIC void | MEM_write64 (void *memPtr, U64 value) |
|
MEM_STATIC U16 | MEM_readLE16 (const void *memPtr) |
|
MEM_STATIC U32 | MEM_readLE24 (const void *memPtr) |
|
MEM_STATIC U32 | MEM_readLE32 (const void *memPtr) |
|
MEM_STATIC U64 | MEM_readLE64 (const void *memPtr) |
|
MEM_STATIC size_t | MEM_readLEST (const void *memPtr) |
|
MEM_STATIC void | MEM_writeLE16 (void *memPtr, U16 val) |
|
MEM_STATIC void | MEM_writeLE24 (void *memPtr, U32 val) |
|
MEM_STATIC void | MEM_writeLE32 (void *memPtr, U32 val32) |
|
MEM_STATIC void | MEM_writeLE64 (void *memPtr, U64 val64) |
|
MEM_STATIC void | MEM_writeLEST (void *memPtr, size_t val) |
|
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 void | MEM_writeBE32 (void *memPtr, U32 val32) |
|
MEM_STATIC void | MEM_writeBE64 (void *memPtr, U64 val64) |
|
MEM_STATIC void | MEM_writeBEST (void *memPtr, size_t val) |
|
MEM_STATIC U32 | MEM_swap32 (U32 in) |
|
MEM_STATIC U64 | MEM_swap64 (U64 in) |
|
MEM_STATIC size_t | MEM_swapST (size_t in) |
|
MEM_STATIC U32 | MEM_swap32_fallback (U32 in) |
|
MEM_STATIC U64 | MEM_swap64_fallback (U64 in) |
|
MEM_STATIC void | MEM_check (void) |
|
◆ BYTE
typedef unsigned char BYTE |
Definition at line 58 of file mem.h.
◆ S16
Definition at line 65 of file mem.h.
◆ S32
Definition at line 70 of file mem.h.
◆ S64
typedef signed long long S64 |
Definition at line 74 of file mem.h.
◆ S8
Definition at line 60 of file mem.h.
◆ U16
typedef unsigned short U16 |
Definition at line 64 of file mem.h.
◆ U32
Definition at line 69 of file mem.h.
◆ U64
typedef unsigned long long U64 |
Definition at line 73 of file mem.h.
◆ U8
Definition at line 59 of file mem.h.
◆ MEM_32bits()
◆ MEM_64bits()
◆ MEM_check()
◆ MEM_isLittleEndian()
◆ MEM_read16()
◆ MEM_read32()
◆ MEM_read64()
◆ MEM_readBE32()
◆ MEM_readBE64()
◆ MEM_readBEST()
MEM_STATIC size_t MEM_readBEST |
( |
const void * |
memPtr | ) |
|
◆ MEM_readLE16()
◆ MEM_readLE24()
◆ MEM_readLE32()
◆ MEM_readLE64()
◆ MEM_readLEST()
MEM_STATIC size_t MEM_readLEST |
( |
const void * |
memPtr | ) |
|
◆ MEM_readST()
MEM_STATIC size_t MEM_readST |
( |
const void * |
memPtr | ) |
|
◆ MEM_swap32()
◆ MEM_swap32_fallback()
◆ MEM_swap64()
◆ MEM_swap64_fallback()
◆ MEM_swapST()
◆ MEM_write16()
◆ MEM_write32()
◆ MEM_write64()
◆ MEM_writeBE32()
◆ MEM_writeBE64()
◆ MEM_writeBEST()
MEM_STATIC void MEM_writeBEST |
( |
void * |
memPtr, |
|
|
size_t |
val |
|
) |
| |
◆ MEM_writeLE16()
◆ MEM_writeLE24()
◆ MEM_writeLE32()
◆ MEM_writeLE64()
◆ MEM_writeLEST()
MEM_STATIC void MEM_writeLEST |
( |
void * |
memPtr, |
|
|
size_t |
val |
|
) |
| |