#include "octave-config.h"
Go to the source code of this file.
Functions | |
template<int n> | |
void | swap_bytes (void *ptr) |
template<int n> | |
void | swap_bytes (void *ptr, int len) |
static void | swap_bytes (void *ptr, unsigned int i, unsigned int j) |
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) |
void swap_bytes | ( | void * | ptr | ) |
Definition at line 43 of file byte-swap.h.
References n, and swap_bytes().
void swap_bytes | ( | void * | ptr, |
int | len | ||
) |
Definition at line 81 of file byte-swap.h.
|
inlinestatic |
Definition at line 32 of file byte-swap.h.
Referenced by Fhex2num(), Fnum2hex(), hex2num(), num2hex(), swap_bytes(), swap_bytes< 2 >(), swap_bytes< 4 >(), and swap_bytes< 8 >().
|
inline |
Definition at line 50 of file byte-swap.h.
|
inline |
Definition at line 93 of file byte-swap.h.
|
inline |
Definition at line 55 of file byte-swap.h.
References swap_bytes().
Referenced by octave_perm_matrix::load_binary(), and octave_base_int_matrix< T >::load_binary().
|
inline |
Definition at line 62 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::anonymous_fcn_handle::load_binary(), octave_bool_matrix::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_cell::load_binary(), octave_class::load_binary(), octave_complex_diag_matrix::load_binary(), octave_complex_matrix::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_fcn_handle::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_diag_matrix::load_binary(), octave_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_struct::load_binary(), octave_scalar_struct::load_binary(), octave_base_int_matrix< T >::load_binary(), load_inline_fcn(), read_binary_data(), read_int(), read_mat5_binary_element(), read_mat5_tag(), and read_mat_file_header().
|
inline |
Definition at line 70 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_perm_matrix::load_binary(), octave_range::load_binary(), octave_base_int_matrix< T >::load_binary(), and read_mat5_binary_file_header().