NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | regression_test_case |
Macros | |
#define | MUA (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF) |
#define | MUAP (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
#define | CMUA (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF) |
#define | CMUAP (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
#define | MA (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF) |
#define | MAP (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
#define | CMA (PCRE_CASELESS | PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF) |
#define | OFFSET_MASK 0x00ffff |
#define | F_NO8 0x010000 |
#define | F_NO16 0x020000 |
#define | F_NO32 0x020000 |
#define | F_NOMATCH 0x040000 |
#define | F_DIFF 0x080000 |
#define | F_FORCECONV 0x100000 |
#define | F_PROPERTY 0x200000 |
#define | F_STUDY 0x400000 |
Functions | |
static int | regression_tests (void) |
int | main (void) |
static const unsigned char * | tables (int mode) |
static int | check_ascii (const char *input) |
Variables | |
static struct regression_test_case | regression_test_cases [] |
#define CMA (PCRE_CASELESS | PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF) |
Definition at line 129 of file pcre_jit_test.c.
#define CMUA (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF) |
Definition at line 125 of file pcre_jit_test.c.
#define CMUAP (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
Definition at line 126 of file pcre_jit_test.c.
#define F_DIFF 0x080000 |
Definition at line 136 of file pcre_jit_test.c.
#define F_FORCECONV 0x100000 |
Definition at line 137 of file pcre_jit_test.c.
#define F_NO16 0x020000 |
Definition at line 133 of file pcre_jit_test.c.
#define F_NO32 0x020000 |
Definition at line 134 of file pcre_jit_test.c.
#define F_NO8 0x010000 |
Definition at line 132 of file pcre_jit_test.c.
#define F_NOMATCH 0x040000 |
Definition at line 135 of file pcre_jit_test.c.
#define F_PROPERTY 0x200000 |
Definition at line 138 of file pcre_jit_test.c.
#define F_STUDY 0x400000 |
Definition at line 139 of file pcre_jit_test.c.
#define MA (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF) |
Definition at line 127 of file pcre_jit_test.c.
#define MAP (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
Definition at line 128 of file pcre_jit_test.c.
#define MUA (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF) |
Definition at line 123 of file pcre_jit_test.c.
#define MUAP (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP) |
Definition at line 124 of file pcre_jit_test.c.
#define OFFSET_MASK 0x00ffff |
Definition at line 131 of file pcre_jit_test.c.
Definition at line 1140 of file pcre_jit_test.c.
References input().
Referenced by regression_tests().
int main | ( | void | ) |
Definition at line 100 of file pcre_jit_test.c.
Definition at line 1151 of file pcre_jit_test.c.
References check_ascii(), F_DIFF, F_FORCECONV, F_NO16, F_NO32, F_NO8, F_NOMATCH, F_PROPERTY, F_STUDY, pcre_extra::flags, pcre16_extra::flags, pcre32_extra::flags, regression_test_case::flags, i, regression_test_case::input, pcre_extra::mark, pcre16_extra::mark, pcre32_extra::mark, NULL, OFFSET_MASK, regression_test_case::pattern, pcre16_compile(), pcre16_config(), pcre16_exec(), pcre16_free, pcre16_free_study(), pcre16_jit_exec(), pcre16_study(), pcre32_compile(), pcre32_config(), pcre32_exec(), pcre32_free, pcre32_free_study(), pcre32_jit_exec(), pcre32_study(), pcre_compile(), pcre_config(), PCRE_CONFIG_JITTARGET, PCRE_CONFIG_UNICODE_PROPERTIES, PCRE_CONFIG_UTF16, PCRE_CONFIG_UTF32, PCRE_CONFIG_UTF8, PCRE_ERROR_PARTIAL, pcre_exec(), PCRE_EXTRA_EXECUTABLE_JIT, PCRE_EXTRA_MARK, PCRE_EXTRA_STUDY_DATA, pcre_free, pcre_free_study(), pcre_jit_exec(), PCRE_NO_UTF8_CHECK, PCRE_NOTBOL, PCRE_NOTEMPTY, PCRE_NOTEMPTY_ATSTART, PCRE_NOTEOL, PCRE_PARTIAL_HARD, PCRE_PARTIAL_SOFT, pcre_study(), PCRE_STUDY_JIT_COMPILE, PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE, PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE, PCRE_UCHAR16, PCRE_UCHAR32, PCRE_UCP, PCRE_UTF16, PCRE_UTF32, PCRE_UTF8, regression_test_cases, return_value, regression_test_case::start_offset, pcre_extra::study_data, pcre16_extra::study_data, pcre32_extra::study_data, and tables().
Definition at line 855 of file pcre_jit_test.c.
References free(), malloc(), NULL, pcre16_compile(), pcre16_free, pcre16_fullinfo(), pcre32_compile(), pcre32_free, pcre32_fullinfo(), pcre_compile(), pcre_free, pcre_fullinfo(), PCRE_INFO_DEFAULT_TABLES, PCRE_UCHAR16, and PCRE_UCHAR32.
Referenced by CLDS2_Database::Dump(), main(), pcre_compile(), pcre_compile2(), pcre_exec(), pcre_pattern_to_host_byte_order(), pcre_study(), regression_tests(), and CSeqVectorTypes::sx_GetConvertTable().
|
static |
Definition at line 100 of file pcre_jit_test.c.
Referenced by regression_tests().