Functions | Variables

lo-error.c File Reference

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "lo-error.h"
Include dependency graph for lo-error.c:

Go to the source code of this file.

Functions

void liboctave_fatal (const char *fmt,...)
void liboctave_fatal_with_id (const char *id, const char *fmt,...)
void liboctave_warning (const char *fmt,...)
void liboctave_warning_with_id (const char *id, const char *fmt,...)
void set_liboctave_error_handler (liboctave_error_handler f)
void set_liboctave_error_with_id_handler (liboctave_error_with_id_handler f)
void set_liboctave_warning_handler (liboctave_warning_handler f)
void set_liboctave_warning_with_id_handler (liboctave_warning_with_id_handler f)
static void verror (const char *name, const char *fmt, va_list args)

Variables

liboctave_error_handler current_liboctave_error_handler = liboctave_fatal
liboctave_error_with_id_handler current_liboctave_error_with_id_handler = liboctave_fatal_with_id
liboctave_warning_handler current_liboctave_warning_handler = liboctave_warning
liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler = liboctave_warning_with_id

Function Documentation

void liboctave_fatal ( const char fmt,
  ... 
)

Definition at line 100 of file lo-error.c.

References verror().

void liboctave_fatal_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 111 of file lo-error.c.

References verror().

void liboctave_warning ( const char fmt,
  ... 
)

Definition at line 122 of file lo-error.c.

References verror().

void liboctave_warning_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 131 of file lo-error.c.

References verror().

void set_liboctave_error_handler ( liboctave_error_handler  f  ) 

Definition at line 64 of file lo-error.c.

References current_liboctave_error_handler.

Referenced by initialize_error_handlers().

void set_liboctave_error_with_id_handler ( liboctave_error_with_id_handler  f  ) 

Definition at line 73 of file lo-error.c.

References current_liboctave_error_with_id_handler.

Referenced by initialize_error_handlers().

void set_liboctave_warning_handler ( liboctave_warning_handler  f  ) 

Definition at line 82 of file lo-error.c.

References current_liboctave_warning_handler.

Referenced by initialize_error_handlers().

void set_liboctave_warning_with_id_handler ( liboctave_warning_with_id_handler  f  ) 

Definition at line 91 of file lo-error.c.

References current_liboctave_warning_with_id_handler.

Referenced by initialize_error_handlers().

static void verror ( const char name,
const char fmt,
va_list  args 
) [static]

Definition at line 53 of file lo-error.c.


Variable Documentation

Definition at line 38 of file lo-error.c.

Referenced by atan2(), base_lu< lu_type >::base_lu(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), Sparse< T >::cat(), chol2inv(), chol2inv_internal(), ComplexMatrix::ComplexMatrix(), ComplexSCHUR::ComplexSCHUR(), Sparse< T >::compute_index(), idx_vector::copy_data(), FloatQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), ComplexQR::delete_col(), Sparse< T >::delete_elements(), FloatQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), ComplexQR::delete_row(), Sparse< T >::diag(), DiagArray2< T >::diag(), Array< T >::diag(), SparseMatrix::dinverse(), SparseComplexMatrix::dinverse(), do_bessel(), octave_rand::do_matrix(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), CHOL::downdate(), ComplexCHOL::downdate(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), command_editor::error(), F77_FUNC(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatSCHUR::FloatSCHUR(), FloatMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexMatrix::fsolve(), gammainc(), octave_rand::get_dist_id(), FloatEIG::hermitian_init(), EIG::hermitian_init(), ind2sub(), Sparse< T >::index(), FloatEIG::init(), EIG::init(), FloatComplexNDArray::insert(), ComplexNDArray::insert(), FloatQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), ComplexQR::insert_col(), FloatQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), ComplexQR::insert_row(), FloatCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), CHOL::insert_sym(), ComplexCHOL::insert_sym(), singleton_cleanup_list::instance_ok(), command_editor::instance_ok(), linspace(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), FloatMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), MatrixType::mark_as_permuted(), MatrixType::mark_as_symmetric(), matrix_norm(), FloatNDArray::matrix_value(), FloatComplexNDArray::matrix_value(), NDArray::matrix_value(), ComplexNDArray::matrix_value(), max(), min(), oct_md5_file(), octave_getcwd(), octave_putenv(), Array< T >::permute(), SCHUR::SCHUR(), FloatCHOL::set(), FloatComplexCHOL::set(), CHOL::set(), ComplexCHOL::set(), set_liboctave_error_handler(), Sparse< T >::Sparse(), oct_data_conv::string_to_data_type(), oct_mach_info::string_to_float_format(), sub2ind(), FloatEIG::symmetric_init(), EIG::symmetric_init(), SparseMatrix::tinverse(), SparseComplexMatrix::tinverse(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), FloatQR::update(), FloatCHOL::update(), FloatComplexQR::update(), FloatComplexCHOL::update(), QR::update(), CHOL::update(), ComplexQR::update(), ComplexCHOL::update(), FloatMatrix::utsolve(), FloatComplexMatrix::utsolve(), SparseMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), and base_lu< lu_type >::Y().

Definition at line 42 of file lo-error.c.

Referenced by set_liboctave_error_with_id_handler().

Definition at line 46 of file lo-error.c.

Referenced by MatrixType::MatrixType(), and set_liboctave_warning_handler().

Definition at line 50 of file lo-error.c.

Referenced by set_liboctave_warning_with_id_handler().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines