ldbl_format.c File Reference

#include "qs_config.h"
#include "ldbl_format.h"
#include "ldbl_qsopt.h"
#include "ldbl_iqsutil.h"

Include dependency graph for ldbl_format.c:

Go to the source code of this file.

Functions

int ldbl_ILLadd_error_to_memory (void *dest, const ldbl_qsformat_error *error)
void ldbl_ILLerror_collector_free (ldbl_qserror_collector *c)
ldbl_qserror_collectorldbl_ILLerror_collector_new (ldbl_qsadd_error_fct fct, void *dest)
ldbl_qserror_collectorldbl_ILLerror_memory_collector_new (ldbl_qserror_memory *dest)
ldbl_qserror_memoryldbl_ILLerror_memory_create (int takeErrorLines)
void ldbl_ILLerror_memory_free (ldbl_qserror_memory *mem)
int ldbl_ILLformat_error_create (ldbl_qsformat_error *error, int mode, const char *desc, int lineNum, const char *theLine, int atPos)
void ldbl_ILLformat_error_delete (ldbl_qsformat_error *error)
void ldbl_ILLformat_error_print (EGioFile_t *out, ldbl_qsformat_error *error)


Function Documentation

int ldbl_ILLadd_error_to_memory ( void *  dest,
const ldbl_qsformat_error error 
)

Definition at line 192 of file ldbl_format.c.

References ldbl_qsformat_error::at, ldbl_qsformat_error::desc, ldbl_qserror_memory::error_list, ldbl_qserror_memory::has_error, ldbl_qserror_memory::hasErrorLines, ILL_CHECKnull, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_ILLformat_error_create(), ldbl_ILLformat_error_delete(), ldbl_qsformat_error::lineNumber, ldbl_qserror_memory::nerror, ldbl_qsformat_error::next, NULL, ldbl_qsformat_error::theLine, and ldbl_qsformat_error::type.

Referenced by ldbl_ILLerror_memory_collector_new().

Here is the call graph for this function:

void ldbl_ILLerror_collector_free ( ldbl_qserror_collector c  ) 

Definition at line 150 of file ldbl_format.c.

References ILL_IFFREE.

Referenced by ldbl_QSerror_collector_free().

ldbl_qserror_collector* ldbl_ILLerror_collector_new ( ldbl_qsadd_error_fct  fct,
void *  dest 
)

Definition at line 125 of file ldbl_format.c.

References ldbl_qserror_collector::add_error, ldbl_qserror_collector::dest, ILL_IFFREE, ILL_SAFE_MALLOC, and NULL.

Referenced by ldbl_ILLerror_memory_collector_new(), and ldbl_QSerror_collector_new().

ldbl_qserror_collector* ldbl_ILLerror_memory_collector_new ( ldbl_qserror_memory dest  ) 

Definition at line 144 of file ldbl_format.c.

References ldbl_ILLadd_error_to_memory(), and ldbl_ILLerror_collector_new().

Referenced by ldbl_QSerror_memory_collector_new().

Here is the call graph for this function:

ldbl_qserror_memory* ldbl_ILLerror_memory_create ( int  takeErrorLines  ) 

Definition at line 156 of file ldbl_format.c.

References ldbl_qserror_memory::error_list, ldbl_qserror_memory::has_error, ldbl_qserror_memory::hasErrorLines, ILL_SAFE_MALLOC, ldbl_qserror_memory::nerror, NULL, and QS_INPUT_NERROR.

Referenced by ldbl_QSerror_memory_create().

void ldbl_ILLerror_memory_free ( ldbl_qserror_memory mem  ) 

Definition at line 174 of file ldbl_format.c.

References ldbl_qserror_memory::error_list, ILL_IFFREE, ldbl_qsformat_error::next, and NULL.

Referenced by ldbl_QSerror_memory_free().

int ldbl_ILLformat_error_create ( ldbl_qsformat_error error,
int  mode,
const char *  desc,
int  lineNum,
const char *  theLine,
int  atPos 
)

Definition at line 30 of file ldbl_format.c.

References ldbl_qsformat_error::at, ldbl_qsformat_error::desc, ILL_FAILtrue, ILL_SAFE_MALLOC, ldbl_ILLformat_error_delete(), ldbl_qsformat_error::lineNumber, ldbl_qsformat_error::next, NULL, QS_INPUT_NERROR, ldbl_qsformat_error::theLine, and ldbl_qsformat_error::type.

Referenced by ldbl_ILLadd_error_to_memory(), ldbl_ILLmsg(), ldbl_lp_err(), and ldbl_mps_err().

Here is the call graph for this function:

void ldbl_ILLformat_error_delete ( ldbl_qsformat_error error  ) 

Definition at line 75 of file ldbl_format.c.

References ldbl_qsformat_error::desc, ILL_IFFREE, and ldbl_qsformat_error::theLine.

Referenced by ldbl_ILLadd_error_to_memory(), ldbl_ILLformat_error_create(), ldbl_ILLmsg(), ldbl_lp_err(), and ldbl_mps_err().

void ldbl_ILLformat_error_print ( EGioFile_t *  out,
ldbl_qsformat_error error 
)

Definition at line 82 of file ldbl_format.c.

References ldbl_qsformat_error::at, ldbl_QSerror_get_desc(), ldbl_QSerror_get_line(), ldbl_QSerror_get_line_number(), ldbl_QSformat_error_type_string(), NULL, and ldbl_qsformat_error::type.

Referenced by ldbl_QSerror_print().

Here is the call graph for this function:


Generated on Thu Mar 29 09:39:48 2012 for QSopt_ex by  doxygen 1.4.7