#include "hashtable.h"


Go to the source code of this file.
Data Types | |
| type | dummy |
| type | cpp_macro |
| type | _cpp_buff |
| type | search_path |
| union | utoken |
| type | tokenrun |
| type | cpp_context |
| type | lexer_state |
| type | spec_nodes |
| type | printer |
| type | cpp_buffer |
| type | cpp_reader |
Defines | |
| #define | U (const uchar *) |
| #define | BITS_PER_CPPCHAR_T (CHAR_BIT * sizeof (cppchar_t)) |
| #define | VALID_SIGN(c, prevc) |
| #define | CPP_OPTION(PFILE, OPTION) ((PFILE)->opts.OPTION) |
| #define | CPP_BUFFER(PFILE) ((PFILE)->buffer) |
| #define | CPP_BUF_COLUMN(BUF, CUR) ((CUR) - (BUF)->line_base + (BUF)->col_adjust) |
| #define | CPP_BUF_COL(BUF) CPP_BUF_COLUMN(BUF, (BUF)->cur) |
| #define | CPP_STACK_MAX 200 |
| #define | DEFAULT_ALIGNMENT offsetof (struct dummy, u) |
| #define | CPP_ALIGN2(size, align) (((size) + ((align) - 1)) & ~((align) - 1)) |
| #define | CPP_ALIGN(size) CPP_ALIGN2 (size, DEFAULT_ALIGNMENT) |
| #define | _cpp_mark_macro_used(NODE) |
| #define | BUFF_ROOM(BUFF) (size_t) ((BUFF)->limit - (BUFF)->cur) |
| #define | BUFF_FRONT(BUFF) ((BUFF)->cur) |
| #define | BUFF_LIMIT(BUFF) ((BUFF)->limit) |
| #define | FIRST(c) ((c)->u.iso.first) |
| #define | LAST(c) ((c)->u.iso.last) |
| #define | CUR(c) ((c)->u.trad.cur) |
| #define | RLIMIT(c) ((c)->u.trad.rlimit) |
| #define | _dollar_ok(x) ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident)) |
| #define | is_idchar(x) (ISIDNUM(x) || _dollar_ok(x)) |
| #define | is_numchar(x) ISIDNUM(x) |
| #define | is_idstart(x) (ISIDST(x) || _dollar_ok(x)) |
| #define | is_numstart(x) ISDIGIT(x) |
| #define | is_hspace(x) ISBLANK(x) |
| #define | is_vspace(x) IS_VSPACE(x) |
| #define | is_nvspace(x) IS_NVSPACE(x) |
| #define | is_space(x) IS_SPACE_OR_NUL(x) |
| #define | CPP_IN_SYSTEM_HEADER(PFILE) ((PFILE)->map && (PFILE)->map->sysp) |
| #define | CPP_PEDANTIC(PF) CPP_OPTION (PF, pedantic) |
| #define | CPP_WTRADITIONAL(PF) CPP_OPTION (PF, warn_traditional) |
| #define | DSC(str) (const uchar *)str, sizeof str - 1 |
| #define | xnew(T) (T *) xmalloc (sizeof(T)) |
| #define | xcnew(T) (T *) xcalloc (1, sizeof(T)) |
| #define | xnewvec(T, N) (T *) xmalloc (sizeof(T) * (N)) |
| #define | xcnewvec(T, N) (T *) xcalloc (N, sizeof(T)) |
| #define | xobnew(O, T) (T *) obstack_alloc (O, sizeof(T)) |
Typedefs | |
| typedef unsigned char | uchar |
| typedef struct _cpp_buff | _cpp_buff |
| typedef struct tokenrun | tokenrun |
| typedef struct cpp_context | cpp_context |
Enumerations | |
| enum | include_type { IT_INCLUDE, IT_INCLUDE_NEXT, IT_IMPORT, IT_CMDLINE, IT_INCLUDE, IT_INCLUDE_NEXT, IT_IMPORT, IT_CMDLINE, IT_INCLUDE, IT_INCLUDE_NEXT, IT_IMPORT, IT_CMDLINE, IT_INCLUDE, IT_INCLUDE_NEXT, IT_IMPORT, IT_CMDLINE } |
Functions/Subroutines | |
| _cpp_buff *_cpp_get_buff | PARAMS ((cpp_reader *, size_t)) |
| void _cpp_release_buff | PARAMS ((cpp_reader *, _cpp_buff *)) |
| void _cpp_extend_buff | PARAMS ((cpp_reader *, _cpp_buff **, size_t)) |
| _cpp_buff *_cpp_append_extend_buff | PARAMS ((cpp_reader *, _cpp_buff *, size_t)) |
| void _cpp_free_buff | PARAMS ((_cpp_buff *)) |
| int _cpp_begin_message | PARAMS ((cpp_reader *, int, unsigned int, unsigned int)) |
| void _cpp_free_definition | PARAMS ((cpp_hashnode *)) |
| bool _cpp_create_definition | PARAMS ((cpp_reader *, cpp_hashnode *)) |
| void _cpp_pop_context | PARAMS ((cpp_reader *)) |
| void _cpp_push_text_context | PARAMS ((cpp_reader *, cpp_hashnode *, const uchar *, size_t)) |
| bool _cpp_save_parameter | PARAMS ((cpp_reader *, cpp_macro *, cpp_hashnode *)) |
| bool _cpp_arguments_ok | PARAMS ((cpp_reader *, cpp_macro *, const cpp_hashnode *, unsigned int)) |
| int _cpp_warn_if_unused_macro | PARAMS ((cpp_reader *, cpp_hashnode *, void *)) |
| void _cpp_init_hashtable | PARAMS ((cpp_reader *, hash_table *)) |
| void _cpp_fake_include | PARAMS ((cpp_reader *, const char *)) |
| void _cpp_never_reread | PARAMS ((struct include_file *)) |
| char *_cpp_simplify_pathname | PARAMS ((char *)) |
| bool _cpp_execute_include | PARAMS ((cpp_reader *, const cpp_token *, enum include_type)) |
| int _cpp_compare_file_date | PARAMS ((cpp_reader *, const cpp_token *)) |
| void _cpp_pop_file_buffer | PARAMS ((cpp_reader *, struct include_file *)) |
| int _cpp_equiv_tokens | PARAMS ((const cpp_token *, const cpp_token *)) |
| void _cpp_init_tokenrun | PARAMS ((tokenrun *, unsigned int)) |
| int _cpp_test_assertion | PARAMS ((cpp_reader *, unsigned int *)) |
| int _cpp_handle_directive | PARAMS ((cpp_reader *, int)) |
| void _cpp_do_file_change | PARAMS ((cpp_reader *, enum lc_reason, const char *, unsigned int, unsigned int)) |
| void _cpp_overlay_buffer | PARAMS ((cpp_reader *pfile, const uchar *, size_t)) |
| bool _cpp_create_trad_definition | PARAMS ((cpp_reader *, cpp_macro *)) |
| bool _cpp_expansions_different_trad | PARAMS ((const cpp_macro *, const cpp_macro *)) |
| uchar *_cpp_copy_replacement_text | PARAMS ((const cpp_macro *, uchar *)) |
| size_t _cpp_replacement_text_len | PARAMS ((const cpp_macro *)) |
| static int ustrcmp | PARAMS ((const uchar *, const uchar *)) |
| static int ustrncmp | PARAMS ((const uchar *, const uchar *, size_t)) |
| static size_t ustrlen | PARAMS ((const uchar *)) |
| static uchar *ustrchr | PARAMS ((const uchar *, int)) |
| static int ufputs | PARAMS ((const uchar *, FILE *)) |
| static int | ustrcmp (s1, s2) const uchar *s1 |
Variables | |
| unsigned char | _cpp_trigraph_map [UCHAR_MAX+1] |
| static int * | s2 |
| size_t | n |
| int | c |
| FILE * | f |
| #define _cpp_mark_macro_used | ( | NODE | ) |
| #define _dollar_ok | ( | x | ) | ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident)) |
| #define CPP_OPTION | ( | PFILE, | |||
| OPTION | ) | ((PFILE)->opts.OPTION) |
| #define CPP_WTRADITIONAL | ( | PF | ) | CPP_OPTION (PF, warn_traditional) |
| #define CUR | ( | c | ) | ((c)->u.trad.cur) |
| #define LAST | ( | c | ) | ((c)->u.iso.last) |
| #define VALID_SIGN | ( | c, | |||
| prevc | ) |
Value:
(((c) == '+' || (c) == '-') && \ ((prevc) == 'e' || (prevc) == 'E' \ || (((prevc) == 'p' || (prevc) == 'P') \ && CPP_OPTION (pfile, extended_numbers))))
| typedef struct cpp_context cpp_context |
| enum include_type |
| bool _cpp_create_trad_definition PARAMS | ( | (cpp_reader *, cpp_macro *) | ) |
| void _cpp_overlay_buffer PARAMS | ( | (cpp_reader *pfile, const uchar *, size_t) | ) |
| void _cpp_do_file_change PARAMS | ( | (cpp_reader *, enum lc_reason, const char *, unsigned int, unsigned int) | ) |
| int _cpp_handle_directive PARAMS | ( | (cpp_reader *, int) | ) |
| int _cpp_test_assertion PARAMS | ( | (cpp_reader *, unsigned int *) | ) |
| void _cpp_pop_file_buffer PARAMS | ( | (cpp_reader *, struct include_file *) | ) |
| int _cpp_compare_file_date PARAMS | ( | (cpp_reader *, const cpp_token *) | ) |
| bool _cpp_execute_include PARAMS | ( | (cpp_reader *, const cpp_token *, enum include_type) | ) |
| char* _cpp_simplify_pathname PARAMS | ( | (char *) | ) |
| void _cpp_never_reread PARAMS | ( | (struct include_file *) | ) |
| void _cpp_fake_include PARAMS | ( | (cpp_reader *, const char *) | ) |
| void _cpp_init_hashtable PARAMS | ( | (cpp_reader *, hash_table *) | ) |
| int _cpp_warn_if_unused_macro PARAMS | ( | (cpp_reader *, cpp_hashnode *, void *) | ) |
| bool _cpp_arguments_ok PARAMS | ( | (cpp_reader *, cpp_macro *, const cpp_hashnode *, unsigned int) | ) |
| bool _cpp_save_parameter PARAMS | ( | (cpp_reader *, cpp_macro *, cpp_hashnode *) | ) |
| void _cpp_push_text_context PARAMS | ( | (cpp_reader *, cpp_hashnode *, const uchar *, size_t) | ) |
| void _cpp_pop_context PARAMS | ( | (cpp_reader *) | ) |
| bool _cpp_create_definition PARAMS | ( | (cpp_reader *, cpp_hashnode *) | ) |
| void _cpp_free_definition PARAMS | ( | (cpp_hashnode *) | ) |
| int _cpp_begin_message PARAMS | ( | (cpp_reader *, int, unsigned int, unsigned int) | ) |
| _cpp_buff* _cpp_append_extend_buff PARAMS | ( | (cpp_reader *, _cpp_buff *, size_t) | ) |
| void _cpp_extend_buff PARAMS | ( | (cpp_reader *, _cpp_buff **, size_t) | ) |
| void _cpp_release_buff PARAMS | ( | (cpp_reader *, _cpp_buff *) | ) |
| _cpp_buff* _cpp_get_buff PARAMS | ( | (cpp_reader *, size_t) | ) |
| unsigned char _cpp_trigraph_map[UCHAR_MAX+1] |
1.5.6