openMSX
|
Classes | |
struct | Big |
struct | Big< uint16_t > |
struct | Big< uint32_t > |
struct | Big< uint8_t > |
struct | ByteSwap |
struct | ConvBig |
struct | ConvBig< false > |
struct | ConvBig< true > |
struct | ConvLittle |
struct | ConvLittle< false > |
struct | ConvLittle< true > |
class | EndianT |
struct | Ident |
struct | Little |
struct | Little< uint16_t > |
struct | Little< uint32_t > |
struct | Little< uint8_t > |
class | UA_B16 |
class | UA_B32 |
class | UA_L16 |
class | UA_L32 |
Typedefs | |
using | B16 = EndianT< uint16_t, ConvBig< openmsx::OPENMSX_BIGENDIAN > > |
using | L16 = EndianT< uint16_t, ConvLittle< openmsx::OPENMSX_BIGENDIAN > > |
using | B32 = EndianT< uint32_t, ConvBig< openmsx::OPENMSX_BIGENDIAN > > |
using | L32 = EndianT< uint32_t, ConvLittle< openmsx::OPENMSX_BIGENDIAN > > |
using | B64 = EndianT< uint64_t, ConvBig< openmsx::OPENMSX_BIGENDIAN > > |
using | L64 = EndianT< uint64_t, ConvLittle< openmsx::OPENMSX_BIGENDIAN > > |
Functions | |
void | writeB16 (void *p, uint16_t x) |
void | writeL16 (void *p, uint16_t x) |
void | writeB32 (void *p, uint32_t x) |
void | writeL32 (void *p, uint32_t x) |
uint16_t | readB16 (const void *p) |
uint16_t | readL16 (const void *p) |
uint32_t | readB32 (const void *p) |
uint32_t | readL32 (const void *p) |
ALWAYS_INLINE void | write_UA_B16 (void *p, uint16_t x) |
ALWAYS_INLINE void | write_UA_L16 (void *p, uint16_t x) |
ALWAYS_INLINE void | write_UA_B32 (void *p, uint32_t x) |
ALWAYS_INLINE void | write_UA_L32 (void *p, uint32_t x) |
ALWAYS_INLINE void | write_UA_B64 (void *p, uint64_t x) |
ALWAYS_INLINE void | write_UA_L64 (void *p, uint64_t x) |
ALWAYS_INLINE uint16_t | read_UA_B16 (const void *p) |
ALWAYS_INLINE uint16_t | read_UA_L16 (const void *p) |
ALWAYS_INLINE uint32_t | read_UA_B32 (const void *p) |
ALWAYS_INLINE uint32_t | read_UA_L32 (const void *p) |
ALWAYS_INLINE uint64_t | read_UA_B64 (const void *p) |
ALWAYS_INLINE uint64_t | read_UA_L64 (const void *p) |
using Endian::B16 = typedef EndianT<uint16_t, ConvBig <openmsx::OPENMSX_BIGENDIAN> > |
using Endian::B32 = typedef EndianT<uint32_t, ConvBig <openmsx::OPENMSX_BIGENDIAN> > |
using Endian::B64 = typedef EndianT<uint64_t, ConvBig <openmsx::OPENMSX_BIGENDIAN> > |
using Endian::L16 = typedef EndianT<uint16_t, ConvLittle<openmsx::OPENMSX_BIGENDIAN> > |
using Endian::L32 = typedef EndianT<uint32_t, ConvLittle<openmsx::OPENMSX_BIGENDIAN> > |
using Endian::L64 = typedef EndianT<uint64_t, ConvLittle<openmsx::OPENMSX_BIGENDIAN> > |
ALWAYS_INLINE uint16_t Endian::read_UA_B16 | ( | const void * | p | ) |
Definition at line 209 of file endian.hh.
Referenced by Endian::UA_B16::operator uint16_t(), and TEST_CASE().
ALWAYS_INLINE uint32_t Endian::read_UA_B32 | ( | const void * | p | ) |
Definition at line 217 of file endian.hh.
Referenced by Endian::UA_B32::operator uint32_t(), and TEST_CASE().
ALWAYS_INLINE uint64_t Endian::read_UA_B64 | ( | const void * | p | ) |
ALWAYS_INLINE uint16_t Endian::read_UA_L16 | ( | const void * | p | ) |
Definition at line 213 of file endian.hh.
Referenced by LZ4::decompress(), Endian::UA_L16::operator uint16_t(), openmsx::CPUCore< openmsx::Z80TYPE >::RD_WORD_impl2(), and TEST_CASE().
ALWAYS_INLINE uint32_t Endian::read_UA_L32 | ( | const void * | p | ) |
Definition at line 221 of file endian.hh.
Referenced by Endian::UA_L32::operator uint32_t(), and TEST_CASE().
ALWAYS_INLINE uint64_t Endian::read_UA_L64 | ( | const void * | p | ) |
ALWAYS_INLINE void Endian::write_UA_B16 | ( | void * | p, |
uint16_t | x | ||
) |
Definition at line 177 of file endian.hh.
References openmsx::x.
Referenced by Endian::UA_B16::operator=(), and TEST_CASE().
ALWAYS_INLINE void Endian::write_UA_B32 | ( | void * | p, |
uint32_t | x | ||
) |
Definition at line 185 of file endian.hh.
References openmsx::x.
Referenced by Endian::UA_B32::operator=(), and TEST_CASE().
ALWAYS_INLINE void Endian::write_UA_B64 | ( | void * | p, |
uint64_t | x | ||
) |
Definition at line 193 of file endian.hh.
References openmsx::x.
ALWAYS_INLINE void Endian::write_UA_L16 | ( | void * | p, |
uint16_t | x | ||
) |
Definition at line 181 of file endian.hh.
References openmsx::x.
Referenced by LZ4::compress_impl(), Endian::UA_L16::operator=(), TEST_CASE(), openmsx::CPUCore< openmsx::Z80TYPE >::WR_WORD_rev2(), and openmsx::AviWriter::~AviWriter().
ALWAYS_INLINE void Endian::write_UA_L32 | ( | void * | p, |
uint32_t | x | ||
) |
Definition at line 189 of file endian.hh.
References openmsx::x.
Referenced by Endian::UA_L32::operator=(), TEST_CASE(), and openmsx::AviWriter::~AviWriter().
ALWAYS_INLINE void Endian::write_UA_L64 | ( | void * | p, |
uint64_t | x | ||
) |
|
inline |
Definition at line 131 of file endian.hh.
References openmsx::x.
|
inline |
Definition at line 139 of file endian.hh.
References openmsx::x.
|
inline |
Definition at line 135 of file endian.hh.
References openmsx::x.
|
inline |
Definition at line 143 of file endian.hh.
References openmsx::x.