![]() |
My Project
|
#include "misc/auxiliary.h"#include "reporter/reporter.h"#include "resources/feResource.h"#include "resources/feFopen.h"#include "omalloc/omalloc.h"#include <stdlib.h>#include <stdio.h>#include "misc/mylimits.h"#include <stdarg.h>#include <sys/stat.h>#include <ctype.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | fePutChar(c) |
| #define | INITIAL_PRINT_BUFFER 24*1024L |
| #define | MAX_FILE_BUFFER 4*4096 |
| #define | warn_str "// ** " |
Functions | |
| void | StringAppend (const char *fmt,...) |
| void | StringAppendS (const char *st) |
| void | StringSetS (const char *st) |
| char * | StringEndS () |
| void | WerrorS_batch (const char *s) |
| void | Werror (const char *fmt,...) |
| void | WarnS (const char *s) |
| void | Warn (const char *fmt,...) |
| void | SPrintStart () |
| static void | SPrintS (const char *s) |
| char * | SPrintEnd () |
| void | PrintS (const char *s) |
| void | PrintLn () |
| void | Print (const char *fmt,...) |
| void | PrintNSpaces (const int n) |
| const char * | eati (const char *s, int *i) |
| void | feStringAppendResources (int warn) |
Variables | |
| STATIC_VAR long | feBufferLength =0 |
| STATIC_VAR char * | feBuffer =NULL |
| STATIC_VAR long | feBufferLength_save [8] |
| STATIC_VAR char * | feBuffer_save [8] |
| STATIC_VAR int | feBuffer_cnt =0 |
| STATIC_VAR char * | feBufferStart_save [8] |
| VAR char * | feErrors =NULL |
| VAR int | feErrorsLen =0 |
| VAR BOOLEAN | feWarn = TRUE |
| VAR BOOLEAN | feOut = TRUE |
| const char | feNotImplemented [] ="not implemented" |
| VAR int | feProt = FALSE |
| VAR FILE * | feProtFile |
| STATIC_VAR char * | feBufferStart |
| VAR void(* | WarnS_callback )(const char *s) = NULL |
| STATIC_VAR char * | sprint = NULL |
| STATIC_VAR char * | sprint_backup = NULL |
| #define fePutChar | ( | c | ) |
Definition at line 30 of file reporter.cc.
| #define INITIAL_PRINT_BUFFER 24*1024L |
Definition at line 34 of file reporter.cc.
| #define MAX_FILE_BUFFER 4*4096 |
Definition at line 38 of file reporter.cc.
| #define warn_str "// ** " |
Definition at line 377 of file reporter.cc.
| void feStringAppendResources | ( | int | warn | ) |
Definition at line 402 of file reporter.cc.
| void Print | ( | const char * | fmt, |
| ... ) |
Definition at line 319 of file reporter.cc.
| void PrintLn | ( | ) |
Definition at line 314 of file reporter.cc.
| void PrintNSpaces | ( | const int | n | ) |
| void PrintS | ( | const char * | s | ) |
Definition at line 288 of file reporter.cc.
| char * SPrintEnd | ( | ) |
Definition at line 277 of file reporter.cc.
|
inlinestatic |
Definition at line 260 of file reporter.cc.
| void SPrintStart | ( | ) |
Definition at line 250 of file reporter.cc.
| void StringAppend | ( | const char * | fmt, |
| ... ) |
Definition at line 61 of file reporter.cc.
| void StringAppendS | ( | const char * | st | ) |
Definition at line 107 of file reporter.cc.
| char * StringEndS | ( | ) |
Definition at line 151 of file reporter.cc.
| void StringSetS | ( | const char * | st | ) |
Definition at line 128 of file reporter.cc.
| void Warn | ( | const char * | fmt, |
| ... ) |
Definition at line 231 of file reporter.cc.
| void WarnS | ( | const char * | s | ) |
Definition at line 206 of file reporter.cc.
| void Werror | ( | const char * | fmt, |
| ... ) |
| void WerrorS_batch | ( | const char * | s | ) |
Definition at line 168 of file reporter.cc.
| STATIC_VAR char* feBuffer =NULL |
Definition at line 40 of file reporter.cc.
| STATIC_VAR int feBuffer_cnt =0 |
Definition at line 43 of file reporter.cc.
| STATIC_VAR char* feBuffer_save[8] |
Definition at line 42 of file reporter.cc.
| STATIC_VAR long feBufferLength =0 |
Definition at line 39 of file reporter.cc.
| STATIC_VAR long feBufferLength_save[8] |
Definition at line 41 of file reporter.cc.
| STATIC_VAR char* feBufferStart |
Definition at line 59 of file reporter.cc.
| STATIC_VAR char* feBufferStart_save[8] |
Definition at line 44 of file reporter.cc.
Definition at line 47 of file reporter.cc.
| VAR int feErrorsLen =0 |
Definition at line 48 of file reporter.cc.
| const char feNotImplemented[] ="not implemented" |
Definition at line 54 of file reporter.cc.
Definition at line 50 of file reporter.cc.
Definition at line 56 of file reporter.cc.
| VAR FILE* feProtFile |
Definition at line 57 of file reporter.cc.
Definition at line 49 of file reporter.cc.
| STATIC_VAR char* sprint = NULL |
Definition at line 248 of file reporter.cc.
| STATIC_VAR char* sprint_backup = NULL |
Definition at line 249 of file reporter.cc.