#include "octave-config.h"
Go to the source code of this file.
Functions | |
static void | swap_bytes (void *ptr, unsigned int i, unsigned int j) |
template<int n> | |
void | swap_bytes (void *ptr) |
template<int n> | |
void | swap_bytes (void *ptr, int len) |
template<> | |
void | swap_bytes< 1 > (void *) |
template<> | |
void | swap_bytes< 1 > (void *, int) |
template<> | |
void | swap_bytes< 2 > (void *ptr) |
template<> | |
void | swap_bytes< 4 > (void *ptr) |
template<> | |
void | swap_bytes< 8 > (void *ptr) |
|
inlinestatic |
Definition at line 29 of file byte-swap.h.
Referenced by hex2num(), swap_bytes(), swap_bytes< 2 >(), swap_bytes< 4 >(), and swap_bytes< 8 >().
void swap_bytes | ( | void * | ptr | ) |
Definition at line 40 of file byte-swap.h.
References i, and swap_bytes().
void swap_bytes | ( | void * | ptr, |
int | len | ||
) |
Definition at line 78 of file byte-swap.h.
|
inline |
Definition at line 48 of file byte-swap.h.
|
inline |
Definition at line 91 of file byte-swap.h.
|
inline |
Definition at line 53 of file byte-swap.h.
References swap_bytes().
Referenced by octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::load_binary(), octave_base_int_scalar< OCTAVE_INT_T >::load_binary(), and octave_perm_matrix::load_binary().
|
inline |
Definition at line 60 of file byte-swap.h.
References swap_bytes().
Referenced by IEEE_big_float_to_IEEE_little_float(), IEEE_little_float_to_IEEE_big_float(), octave_fcn_inline::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::load_binary(), octave_diag_matrix::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_fcn_handle::load_binary(), octave_struct::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_cell::load_binary(), octave_char_matrix_str::load_binary(), octave_complex_matrix::load_binary(), octave_base_int_scalar< OCTAVE_INT_T >::load_binary(), octave_class::load_binary(), octave_float_matrix::load_binary(), octave_bool_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_matrix::load_binary(), octave_scalar_struct::load_binary(), read_binary_data(), read_int(), read_mat5_binary_element(), read_mat5_tag(), and read_mat_file_header().
|
inline |
Definition at line 68 of file byte-swap.h.
References swap_bytes().
Referenced by IEEE_big_double_to_IEEE_little_double(), IEEE_little_double_to_IEEE_big_double(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::load_binary(), octave_base_int_scalar< OCTAVE_INT_T >::load_binary(), octave_perm_matrix::load_binary(), octave_range::load_binary(), and read_mat5_binary_file_header().