Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qendian.cpp File Reference
#include "qendian.h"
#include "qalgorithms.h"
#include <private/qsimd_p.h>
+ Include dependency graph for qendian.cpp:

Go to the source code of this file.

Functions

template<typename T >
static Q_ALWAYS_INLINE size_t simdSwapLoop (const uchar *, size_t, uchar *) noexcept
 
template<typename T >
static Q_ALWAYS_INLINE voidbswapLoop (const uchar *src, size_t n, uchar *dst) noexcept
 
template<>
voidqbswap< 2 > (const void *source, qsizetype n, void *dest) noexcept
 
template<>
voidqbswap< 4 > (const void *source, qsizetype n, void *dest) noexcept
 
template<>
voidqbswap< 8 > (const void *source, qsizetype n, void *dest) noexcept
 

Function Documentation

◆ bswapLoop()

template<typename T >
static Q_ALWAYS_INLINE void * bswapLoop ( const uchar src,
size_t  n,
uchar dst 
)
staticnoexcept

Definition at line 839 of file qendian.cpp.

References d, i, Q_ASSERT, and qbswap().

+ Here is the call graph for this function:

◆ qbswap< 2 >()

template<>
void * qbswap< 2 > ( const void source,
qsizetype  n,
void dest 
)
noexcept

Definition at line 860 of file qendian.cpp.

◆ qbswap< 4 >()

template<>
void * qbswap< 4 > ( const void source,
qsizetype  n,
void dest 
)
noexcept

Definition at line 869 of file qendian.cpp.

◆ qbswap< 8 >()

template<>
void * qbswap< 8 > ( const void source,
qsizetype  n,
void dest 
)
noexcept

Definition at line 878 of file qendian.cpp.

◆ simdSwapLoop()

template<typename T >
static Q_ALWAYS_INLINE size_t simdSwapLoop ( const uchar ,
size_t  ,
uchar  
)
staticnoexcept

Definition at line 832 of file qendian.cpp.