Modules | Macros | Typedefs | Enumerations | Functions
Implementation
Collaboration diagram for Implementation:

Modules

 XXH32 implementation
 
 XXH64 implementation
 

Macros

#define XXH_ASSERT(c)   ((void)0)
 
#define XXH_COMPILER_GUARD(var)   ((void)0)
 
#define XXH_FORCE_INLINE   static
 
#define XXH_GCC_VERSION   (__GNUC__ * 100 + __GNUC_MINOR__)
 
#define XXH_HAS_BUILTIN(x)   __has_builtin(x)
 
#define XXH_NO_INLINE   static
 
#define XXH_rotl32(x, r)   (((x) << (r)) | ((x) >> (32 - (r))))
 
#define XXH_rotl64(x, r)   (((x) << (r)) | ((x) >> (64 - (r))))
 
#define XXH_STATIC_ASSERT(c)   XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
 
#define XXH_STATIC_ASSERT_WITH_MESSAGE(c, m)   do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0)
 
#define ZSTD_DEPS_NEED_MALLOC
 
#define ZSTD_DEPS_NEED_MALLOC
 
#define ZSTD_DEPS_NEED_MALLOC
 
#define ZSTD_DEPS_NEED_MALLOC
 
#define ZSTD_DEPS_NEED_MALLOC
 
#define ZSTD_DEPS_NEED_MALLOC
 

Typedefs

typedef XXH32_hash_t xxh_u32
 
typedef unsigned char xxh_u8
 

Enumerations

enum  XXH_alignment { XXH_aligned, XXH_unaligned, XXH_aligned, XXH_unaligned }
 

Functions

static void XXH_free (void *p)
 
static int XXH_isLittleEndian (void)
 
static void * XXH_malloc (size_t s)
 
static void * XXH_memcpy (void *dest, const void *src, size_t size)
 
static xxh_u32 XXH_read32 (const void *memPtr)
 
static xxh_u32 XXH_readBE32 (const void *ptr)
 
XXH_FORCE_INLINE xxh_u32 XXH_readLE32 (const void *ptr)
 
XXH_FORCE_INLINE xxh_u32 XXH_readLE32_align (const void *ptr, XXH_alignment align)
 
static xxh_u32 XXH_swap32 (xxh_u32 x)
 
typedef XXH64_hash_t xxh_u64
 
static xxh_u64 XXH_read64 (const void *memPtr)
 
static xxh_u64 XXH_swap64 (xxh_u64 x)
 
XXH_FORCE_INLINE xxh_u64 XXH_readLE64 (const void *ptr)
 
static xxh_u64 XXH_readBE64 (const void *ptr)
 
XXH_FORCE_INLINE xxh_u64 XXH_readLE64_align (const void *ptr, XXH_alignment align)
 

Detailed Description

Macro Definition Documentation

◆ XXH_ASSERT

#define XXH_ASSERT (   c)    ((void)0)

Definition at line 6436 of file zstd.c.

◆ XXH_COMPILER_GUARD

#define XXH_COMPILER_GUARD (   var)    ((void)0)

Definition at line 6471 of file zstd.c.

◆ XXH_FORCE_INLINE

#define XXH_FORCE_INLINE   static

Definition at line 6407 of file zstd.c.

◆ XXH_GCC_VERSION

#define XXH_GCC_VERSION   (__GNUC__ * 100 + __GNUC_MINOR__)

Definition at line 6647 of file zstd.c.

◆ XXH_HAS_BUILTIN

#define XXH_HAS_BUILTIN (   x)    __has_builtin(x)

Definition at line 6650 of file zstd.c.

◆ XXH_NO_INLINE

#define XXH_NO_INLINE   static

Definition at line 6408 of file zstd.c.

◆ XXH_rotl32

#define XXH_rotl32 (   x,
 
)    (((x) << (r)) | ((x) >> (32 - (r))))

Definition at line 6677 of file zstd.c.

◆ XXH_rotl64

#define XXH_rotl64 (   x,
 
)    (((x) << (r)) | ((x) >> (64 - (r))))

Definition at line 6678 of file zstd.c.

◆ XXH_STATIC_ASSERT

#define XXH_STATIC_ASSERT (   c)    XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)

Definition at line 6449 of file zstd.c.

◆ XXH_STATIC_ASSERT_WITH_MESSAGE

#define XXH_STATIC_ASSERT_WITH_MESSAGE (   c,
 
)    do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0)

Definition at line 6447 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [1/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [2/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [3/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [4/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [5/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

◆ ZSTD_DEPS_NEED_MALLOC [6/6]

#define ZSTD_DEPS_NEED_MALLOC

Definition at line 11265 of file zstd.c.

Typedef Documentation

◆ xxh_u32

Definition at line 6485 of file zstd.c.

◆ xxh_u64

Definition at line 7180 of file zstd.c.

◆ xxh_u8

typedef unsigned char xxh_u8

Definition at line 6483 of file zstd.c.

Enumeration Type Documentation

◆ XXH_alignment

Enumerator
XXH_aligned 
XXH_unaligned 
XXH_aligned 

Aligned

XXH_unaligned 

Possibly unaligned

Definition at line 6712 of file zstd.c.

Function Documentation

◆ XXH_free()

static void XXH_free ( void *  p)
static

Definition at line 6377 of file zstd.c.

◆ XXH_isLittleEndian()

static int XXH_isLittleEndian ( void  )
static

Definition at line 6628 of file zstd.c.

◆ XXH_malloc()

static void* XXH_malloc ( size_t  s)
static

Definition at line 6376 of file zstd.c.

◆ XXH_memcpy()

static void* XXH_memcpy ( void *  dest,
const void *  src,
size_t  size 
)
static

Definition at line 6378 of file zstd.c.

◆ XXH_read32()

static xxh_u32 XXH_read32 ( const void *  memPtr)
static

Definition at line 6581 of file zstd.c.

◆ XXH_read64()

static xxh_u64 XXH_read64 ( const void *  memPtr)
static

Definition at line 7222 of file zstd.c.

◆ XXH_readBE32()

static xxh_u32 XXH_readBE32 ( const void *  ptr)
static

Definition at line 6748 of file zstd.c.

◆ XXH_readBE64()

static xxh_u64 XXH_readBE64 ( const void *  ptr)
static

Definition at line 7285 of file zstd.c.

◆ XXH_readLE32()

XXH_FORCE_INLINE xxh_u32 XXH_readLE32 ( const void *  ptr)

Definition at line 6743 of file zstd.c.

◆ XXH_readLE32_align()

XXH_FORCE_INLINE xxh_u32 XXH_readLE32_align ( const void *  ptr,
XXH_alignment  align 
)

Definition at line 6755 of file zstd.c.

◆ XXH_readLE64()

XXH_FORCE_INLINE xxh_u64 XXH_readLE64 ( const void *  ptr)

Definition at line 7280 of file zstd.c.

◆ XXH_readLE64_align()

XXH_FORCE_INLINE xxh_u64 XXH_readLE64_align ( const void *  ptr,
XXH_alignment  align 
)

Definition at line 7292 of file zstd.c.

◆ XXH_swap32()

static xxh_u32 XXH_swap32 ( xxh_u32  x)
static

Definition at line 6694 of file zstd.c.

◆ XXH_swap64()

static xxh_u64 XXH_swap64 ( xxh_u64  x)
static

Definition at line 7236 of file zstd.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50