Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qendian.cpp File Reference

(4f3142bfce0c64d023299f142d14e60ec577b698)

#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.