Functions

byte-swap.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void swap_bytes (volatile void *ptr, unsigned int i, unsigned int j)
template<int n>
void swap_bytes (volatile void *ptr)
template<int n>
void swap_bytes (volatile void *ptr, int len)
template<>
void swap_bytes< 1 > (volatile void *, int)
template<>
void swap_bytes< 1 > (volatile void *)
template<>
void swap_bytes< 2 > (volatile void *ptr)
template<>
void swap_bytes< 4 > (volatile void *ptr)
template<>
void swap_bytes< 8 > (volatile void *ptr)

Function Documentation

static void swap_bytes ( volatile void *  ptr,
unsigned int  i,
unsigned int  j 
) [inline, static]

Definition at line 30 of file byte-swap.h.

Referenced by swap_bytes().

template<int n>
void swap_bytes ( volatile void *  ptr  ) 

Definition at line 41 of file byte-swap.h.

References swap_bytes().

template<int n>
void swap_bytes ( volatile void *  ptr,
int  len 
)

Definition at line 80 of file byte-swap.h.

template<>
void swap_bytes< 1 > ( volatile void *  ,
int   
) [inline]
template<>
void swap_bytes< 1 > ( volatile void *   )  [inline]
template<>
void swap_bytes< 2 > ( volatile void *  ptr  )  [inline]
template<>
void swap_bytes< 4 > ( volatile void *  ptr  )  [inline]
template<>
void swap_bytes< 8 > ( volatile void *  ptr  )  [inline]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines