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 | PCRE2_CODE_UNIT_WIDTH 0 |
#define | MU (PCRE2_MULTILINE | PCRE2_UTF) |
#define | MUP (PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP) |
#define | CMU (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF) |
#define | CMUP (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP) |
#define | M (PCRE2_MULTILINE) |
#define | MP (PCRE2_MULTILINE | PCRE2_UCP) |
#define | U (PCRE2_UTF) |
#define | CM (PCRE2_CASELESS | PCRE2_MULTILINE) |
#define | BSR(x) ((x) << 16) |
#define | A PCRE2_NEWLINE_ANYCRLF |
#define | GET_NEWLINE(x) ((x) & 0xffff) |
#define | GET_BSR(x) ((x) >> 16) |
#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 | OVECTOR_SIZE 15 |
Functions | |
static int | regression_tests (void) |
static int | invalid_utf8_regression_tests (void) |
static int | invalid_utf16_regression_tests (void) |
static int | invalid_utf32_regression_tests (void) |
int | main (void) |
static int | check_ascii (const char *input) |
Variables | |
static struct regression_test_case | regression_test_cases [] |
#define A PCRE2_NEWLINE_ANYCRLF |
Definition at line 136 of file pcre2_jit_test.c.
#define BSR | ( | x | ) | ((x) << 16) |
Definition at line 135 of file pcre2_jit_test.c.
#define CM (PCRE2_CASELESS | PCRE2_MULTILINE) |
Definition at line 133 of file pcre2_jit_test.c.
#define CMU (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF) |
Definition at line 128 of file pcre2_jit_test.c.
#define CMUP (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP) |
Definition at line 129 of file pcre2_jit_test.c.
#define F_DIFF 0x080000 |
Definition at line 146 of file pcre2_jit_test.c.
#define F_FORCECONV 0x100000 |
Definition at line 147 of file pcre2_jit_test.c.
#define F_NO16 0x020000 |
Definition at line 143 of file pcre2_jit_test.c.
#define F_NO32 0x020000 |
Definition at line 144 of file pcre2_jit_test.c.
#define F_NO8 0x010000 |
Definition at line 142 of file pcre2_jit_test.c.
#define F_NOMATCH 0x040000 |
Definition at line 145 of file pcre2_jit_test.c.
#define F_PROPERTY 0x200000 |
Definition at line 148 of file pcre2_jit_test.c.
#define GET_BSR | ( | x | ) | ((x) >> 16) |
Definition at line 139 of file pcre2_jit_test.c.
#define GET_NEWLINE | ( | x | ) | ((x) & 0xffff) |
Definition at line 138 of file pcre2_jit_test.c.
#define M (PCRE2_MULTILINE) |
Definition at line 130 of file pcre2_jit_test.c.
#define MP (PCRE2_MULTILINE | PCRE2_UCP) |
Definition at line 131 of file pcre2_jit_test.c.
#define MU (PCRE2_MULTILINE | PCRE2_UTF) |
Definition at line 126 of file pcre2_jit_test.c.
#define MUP (PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP) |
Definition at line 127 of file pcre2_jit_test.c.
#define OFFSET_MASK 0x00ffff |
Definition at line 141 of file pcre2_jit_test.c.
#define OVECTOR_SIZE 15 |
Definition at line 1162 of file pcre2_jit_test.c.
#define PCRE2_CODE_UNIT_WIDTH 0 |
Definition at line 48 of file pcre2_jit_test.c.
#define U (PCRE2_UTF) |
Definition at line 132 of file pcre2_jit_test.c.
Definition at line 1151 of file pcre2_jit_test.c.
References input().
Referenced by regression_tests().
Definition at line 2334 of file pcre2_jit_test.c.
Definition at line 2521 of file pcre2_jit_test.c.
Definition at line 2126 of file pcre2_jit_test.c.
int main | ( | void | ) |
Definition at line 100 of file pcre2_jit_test.c.
Definition at line 1164 of file pcre2_jit_test.c.
References check_ascii(), regression_test_case::compile_options, F_DIFF, F_FORCECONV, F_NO16, F_NO32, F_NO8, F_NOMATCH, F_PROPERTY, GET_BSR, GET_NEWLINE, i, regression_test_case::input, regression_test_case::match_options, regression_test_case::newline, NULL, OFFSET_MASK, OVECTOR_SIZE, regression_test_case::pattern, pcre2_code_free_16(), pcre2_code_free_32(), pcre2_code_free_8(), pcre2_compile_16(), pcre2_compile_32(), pcre2_compile_8(), pcre2_compile_context_create_16(), pcre2_compile_context_create_32(), pcre2_compile_context_create_8(), pcre2_compile_context_free_16(), pcre2_compile_context_free_32(), pcre2_compile_context_free_8(), pcre2_config_16(), pcre2_config_32(), pcre2_config_8(), PCRE2_CONFIG_JITTARGET, PCRE2_CONFIG_UNICODE, PCRE2_ERROR_PARTIAL, pcre2_get_mark_16(), pcre2_get_mark_32(), pcre2_get_mark_8(), pcre2_get_ovector_pointer_16(), pcre2_get_ovector_pointer_32(), pcre2_get_ovector_pointer_8(), pcre2_jit_compile_16(), pcre2_jit_compile_32(), pcre2_jit_compile_8(), PCRE2_JIT_COMPLETE, pcre2_jit_match_16(), pcre2_jit_match_32(), pcre2_jit_match_8(), PCRE2_JIT_PARTIAL_HARD, PCRE2_JIT_PARTIAL_SOFT, pcre2_jit_stack_assign_16(), pcre2_jit_stack_assign_32(), pcre2_jit_stack_assign_8(), pcre2_match_16(), pcre2_match_32(), pcre2_match_8(), pcre2_match_context_create_16(), pcre2_match_context_create_32(), pcre2_match_context_create_8(), pcre2_match_context_free_16(), pcre2_match_context_free_32(), pcre2_match_context_free_8(), pcre2_match_data_create_16(), pcre2_match_data_create_32(), pcre2_match_data_create_8(), pcre2_match_data_free_16(), pcre2_match_data_free_32(), pcre2_match_data_free_8(), PCRE2_PARTIAL_HARD, PCRE2_PARTIAL_SOFT, pcre2_set_bsr_16(), pcre2_set_bsr_32(), pcre2_set_bsr_8(), pcre2_set_match_limit_16(), pcre2_set_match_limit_32(), pcre2_set_match_limit_8(), pcre2_set_newline_16(), pcre2_set_newline_32(), pcre2_set_newline_8(), PCRE2_SIZE, PCRE2_UNSET, PCRE2_UTF, PCRE2_ZERO_TERMINATED, regression_test_cases, return_value, regression_test_case::start_offset, and utf.
|
static |
Definition at line 100 of file pcre2_jit_test.c.
Referenced by regression_tests().