|
PostgreSQL Source Code git master
|
#include <ctype.h>#include <limits.h>#include <wctype.h>#include "lib/stringinfo.h"#include "mb/pg_wchar.h"#include "utils/pg_locale.h"

Go to the source code of this file.
Data Structures | |
| struct | tsearch_readline_state |
Macros | |
| #define | TOUCHAR(x) (*((const unsigned char *) (x))) |
| #define | t_iseq(x, c) (TOUCHAR(x) == (unsigned char) (c)) |
| #define | COPYCHAR ts_copychar_cstr |
| #define | GENERATE_T_ISCLASS_DECL(character_class) |
Functions | |
| static int | ts_copychar_with_len (void *dest, const void *src, int length) |
| static int | ts_copychar_cstr (void *dest, const void *src) |
| GENERATE_T_ISCLASS_DECL (alnum) | |
| GENERATE_T_ISCLASS_DECL (alpha) | |
| bool | tsearch_readline_begin (tsearch_readline_state *stp, const char *filename) |
| char * | tsearch_readline (tsearch_readline_state *stp) |
| void | tsearch_readline_end (tsearch_readline_state *stp) |
| #define COPYCHAR ts_copychar_cstr |
Definition at line 56 of file ts_locale.h.
| #define GENERATE_T_ISCLASS_DECL | ( | character_class | ) |
Definition at line 58 of file ts_locale.h.
Definition at line 38 of file ts_locale.h.
| GENERATE_T_ISCLASS_DECL | ( | alnum | ) |
| GENERATE_T_ISCLASS_DECL | ( | alpha | ) |
Definition at line 50 of file ts_locale.h.
References pg_mblen_cstr(), and ts_copychar_with_len().
Referenced by addCompoundAffixFlagValue(), getNextFlagFromString(), gettoken_tsvector(), infix(), and RS_compile().
Definition at line 42 of file ts_locale.h.
References fb().
Referenced by get_nextfield(), parse_affentry(), and ts_copychar_cstr().
|
extern |
Definition at line 108 of file ts_locale.c.
References fb(), pfree(), pg_any_to_server(), pg_get_line_buf(), PG_UTF8, and pstrdup().
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().
|
extern |
Definition at line 85 of file ts_locale.c.
References AllocateFile(), error_context_stack, fb(), filename, initStringInfo(), and tsearch_readline_callback().
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().
|
extern |
Definition at line 153 of file ts_locale.c.
References error_context_stack, fb(), FreeFile(), pfree(), and ErrorContextCallback::previous.
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().