|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | loc_chunk |
Macros | |
| #define | LOC_CHUNK_OVERHEAD MAXALIGN(offsetof(loc_chunk, data)) |
| #define | LOC_CHUNK_MIN_SIZE 8192 |
Typedefs | |
| typedef struct loc_chunk | loc_chunk |
Functions | |
| static void | vmmerror (int error_code, enum errortype type, const char *error, va_list ap) pg_attribute_printf(3 |
| void | mmerror (int error_code, enum errortype type, const char *error,...) |
| void | mmfatal (int error_code, const char *error,...) |
| void * | mm_alloc (size_t size) |
| char * | mm_strdup (const char *string) |
| void * | loc_alloc (size_t size) |
| char * | loc_strdup (const char *string) |
| void | reclaim_local_storage (void) |
| char * | cat2_str (const char *str1, const char *str2) |
| char * | cat_str (int count,...) |
| char * | make2_str (const char *str1, const char *str2) |
| char * | make3_str (const char *str1, const char *str2, const char *str3) |
Variables | |
| static loc_chunk * | loc_chunks = NULL |
Definition at line 205 of file util.c.
References fb(), and loc_alloc().
Referenced by cat_str().
Definition at line 138 of file util.c.
References loc_chunk::data, data, fb(), LOC_CHUNK_MIN_SIZE, LOC_CHUNK_OVERHEAD, loc_chunks, Max, MAXALIGN, and mm_alloc().
Referenced by cat2_str(), hashline_number(), loc_nstrdup(), loc_strdup(), make2_str(), make3_str(), and sqlda_variable().
Definition at line 170 of file util.c.
References fb(), and loc_alloc().
Referenced by base_yylex_location(), filtered_base_yylex(), process_integer_literal(), and sqlda_variable().
Definition at line 256 of file util.c.
References fb(), and loc_alloc().
Referenced by filtered_base_yylex().
Definition at line 85 of file util.c.
References fb(), malloc, mmfatal(), and OUT_OF_MEMORY.
Referenced by add_descriptor(), add_include_path(), add_preprocessor_define(), add_variable_to_head(), add_variable_to_tail(), ECPGdump_a_simple(), ECPGdump_a_struct(), ECPGmake_simple_type(), ECPGmake_struct_member(), isdefine(), isinformixdefine(), lex_init(), loc_alloc(), main(), new_variable(), parse_include(), and push_assignment().
Definition at line 97 of file util.c.
References fb(), mmfatal(), and OUT_OF_MEMORY.
Referenced by add_descriptor(), add_preprocessor_define(), dump_variables(), ECPGdump_a_type(), ECPGmake_simple_type(), ECPGmake_struct_member(), ECPGmake_struct_type(), isdefine(), isinformixdefine(), lookup_descriptor(), main(), new_variable(), output_get_descr(), output_set_descr(), parse_include(), and push_assignment().
Definition at line 61 of file util.c.
References _, base_yyin, base_yyout, error(), ET_ERROR, fb(), fprintf, output_filename, and vmmerror().
Referenced by mm_alloc(), and mm_strdup().
Definition at line 182 of file util.c.
References fb(), free, loc_chunks, and loc_chunk::next.
|
static |
Definition at line 16 of file util.c.
References _, base_yylineno, error(), ET_ERROR, ET_WARNING, fb(), fprintf, input_filename, ret_value, type, and vfprintf.
Definition at line 130 of file util.c.
Referenced by loc_alloc(), and reclaim_local_storage().