php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
endianness.h File Reference

Go to the source code of this file.

Macros

#define NO_SANITIZE_ALIGNMENT
 

Functions

FORCE_INLINE int IsBigEndian (void)
 
FORCE_INLINE uint32_t BSWAP32 (uint32_t u)
 
FORCE_INLINE uint64_t BSWAP64 (uint64_t u)
 
NO_SANITIZE_ALIGNMENT FORCE_INLINE uint32_t getblock32 (const uint32_t *const p, const int i)
 
NO_SANITIZE_ALIGNMENT FORCE_INLINE uint64_t getblock64 (const uint64_t *const p, const int i)
 

Macro Definition Documentation

◆ NO_SANITIZE_ALIGNMENT

#define NO_SANITIZE_ALIGNMENT

Definition at line 61 of file endianness.h.

Function Documentation

◆ BSWAP32()

FORCE_INLINE uint32_t BSWAP32 ( uint32_t u)

Definition at line 36 of file endianness.h.

◆ BSWAP64()

FORCE_INLINE uint64_t BSWAP64 ( uint64_t u)

Definition at line 45 of file endianness.h.

◆ getblock32()

NO_SANITIZE_ALIGNMENT FORCE_INLINE uint32_t getblock32 ( const uint32_t *const p,
const int i )

Definition at line 65 of file endianness.h.

◆ getblock64()

NO_SANITIZE_ALIGNMENT FORCE_INLINE uint64_t getblock64 ( const uint64_t *const p,
const int i )

Definition at line 75 of file endianness.h.

◆ IsBigEndian()

FORCE_INLINE int IsBigEndian ( void )

Definition at line 5 of file endianness.h.

Variable Documentation

◆ u16

uint16_t u16

Definition at line 3 of file endianness.h.

◆ u8

uint8_t u8[2]

Definition at line 2 of file endianness.h.