|
GNU libmicrohttpd 0.9.77
|
macros for bits manipulations More...


Go to the source code of this file.
Macros | |
| #define | __has_builtin(x) 0 |
| #define | _MHD_BYTES_SWAP32(value32) |
| #define | _MHD_BYTES_SWAP64(value64) |
| #define | _MHD_PUT_64BIT_LE_SLOW(addr, value64) |
| #define | _MHD_PUT_64BIT_LE(addr, value64) |
| #define | _MHD_PUT_64BIT_LE_UNALIGNED 1 |
| #define | _MHD_PUT_32BIT_LE(addr, value32) |
| #define | _MHD_PUT_32BIT_LE_UNALIGNED 1 |
| #define | _MHD_GET_32BIT_LE(addr) |
| #define | _MHD_GET_32BIT_LE_UNALIGNED 1 |
| #define | _MHD_PUT_64BIT_BE_SLOW(addr, value64) |
| #define | _MHD_PUT_64BIT_BE(addr, value64) _MHD_PUT_64BIT_BE_SLOW(addr, value64) |
| #define | _MHD_PUT_64BIT_BE_UNALIGNED 1 |
| #define | _MHD_PUT_32BIT_BE(addr, value32) |
| #define | _MHD_PUT_32BIT_BE_UNALIGNED 1 |
| #define | _MHD_GET_32BIT_BE(addr) |
| #define | _MHD_GET_32BIT_BE_UNALIGNED 1 |
Functions | |
| _MHD_static_inline void | _MHD_PUT_64BIT_LE_SAFE (void *dst, uint64_t value) |
| _MHD_static_inline void | _MHD_PUT_64BIT_BE_SAFE (void *dst, uint64_t value) |
| _MHD_static_inline uint32_t | _MHD_ROTR32 (uint32_t value32, int bits) |
| _MHD_static_inline uint32_t | _MHD_ROTL32 (uint32_t value32, int bits) |
macros for bits manipulations
Definition in file mhd_bithelpers.h.
| #define __has_builtin | ( | x | ) | 0 |
Definition at line 44 of file mhd_bithelpers.h.
| #define _MHD_BYTES_SWAP32 | ( | value32 | ) |
Definition at line 63 of file mhd_bithelpers.h.
| #define _MHD_BYTES_SWAP64 | ( | value64 | ) |
Definition at line 85 of file mhd_bithelpers.h.
| #define _MHD_GET_32BIT_BE | ( | addr | ) |
Definition at line 266 of file mhd_bithelpers.h.
| #define _MHD_GET_32BIT_BE_UNALIGNED 1 |
Definition at line 272 of file mhd_bithelpers.h.
| #define _MHD_GET_32BIT_LE | ( | addr | ) |
Definition at line 181 of file mhd_bithelpers.h.
| #define _MHD_GET_32BIT_LE_UNALIGNED 1 |
Definition at line 187 of file mhd_bithelpers.h.
| #define _MHD_PUT_32BIT_BE | ( | addr, | |
| value32 | |||
| ) |
Definition at line 244 of file mhd_bithelpers.h.
| #define _MHD_PUT_32BIT_BE_UNALIGNED 1 |
Definition at line 251 of file mhd_bithelpers.h.
| #define _MHD_PUT_32BIT_LE | ( | addr, | |
| value32 | |||
| ) |
Definition at line 159 of file mhd_bithelpers.h.
| #define _MHD_PUT_32BIT_LE_UNALIGNED 1 |
Definition at line 166 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_BE | ( | addr, | |
| value64 | |||
| ) | _MHD_PUT_64BIT_BE_SLOW(addr, value64) |
Definition at line 214 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_BE_SLOW | ( | addr, | |
| value64 | |||
| ) |
Definition at line 196 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_BE_UNALIGNED 1 |
Definition at line 216 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_LE | ( | addr, | |
| value64 | |||
| ) |
Definition at line 120 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_LE_SLOW | ( | addr, | |
| value64 | |||
| ) |
Definition at line 102 of file mhd_bithelpers.h.
| #define _MHD_PUT_64BIT_LE_UNALIGNED 1 |
Definition at line 131 of file mhd_bithelpers.h.
| _MHD_static_inline void _MHD_PUT_64BIT_BE_SAFE | ( | void * | dst, |
| uint64_t | value | ||
| ) |
Definition at line 221 of file mhd_bithelpers.h.
References _MHD_PUT_64BIT_BE, _MHD_PUT_64BIT_BE_SLOW, and _MHD_UINT64_ALIGN.
Referenced by MHD_SHA1_finish(), and MHD_SHA256_finish().

| _MHD_static_inline void _MHD_PUT_64BIT_LE_SAFE | ( | void * | dst, |
| uint64_t | value | ||
| ) |
Definition at line 136 of file mhd_bithelpers.h.
References _MHD_PUT_64BIT_LE, _MHD_PUT_64BIT_LE_SLOW, and _MHD_UINT64_ALIGN.
Referenced by MHD_MD5Final().

| _MHD_static_inline uint32_t _MHD_ROTL32 | ( | uint32_t | value32, |
| int | bits | ||
| ) |
Rotate left 32-bit value by number of bits. bits parameter must be more than zero and must be less than 32.
Definition at line 321 of file mhd_bithelpers.h.
| _MHD_static_inline uint32_t _MHD_ROTR32 | ( | uint32_t | value32, |
| int | bits | ||
| ) |
Rotate right 32-bit value by number of bits. bits parameter must be more than zero and must be less than 32.
Definition at line 293 of file mhd_bithelpers.h.