pcre  8.44
About: The PCRE library implements Perl compatible regular expression pattern matching.
  Fossies Dox: pcre-8.44.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pcre_jit_test.c File Reference
#include <stdio.h>
#include <string.h>
#include "pcre.h"
#include "pcre_internal.h"
Include dependency graph for pcre_jit_test.c:

Go to the source code of this file.

Data Structures

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 []
 

Macro Definition Documentation

◆ CMA

#define CMA   (PCRE_CASELESS | PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF)

Definition at line 129 of file pcre_jit_test.c.

◆ CMUA

#define CMUA   (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF)

Definition at line 125 of file pcre_jit_test.c.

◆ CMUAP

#define CMUAP   (PCRE_CASELESS | PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP)

Definition at line 126 of file pcre_jit_test.c.

◆ F_DIFF

#define F_DIFF   0x080000

Definition at line 136 of file pcre_jit_test.c.

◆ F_FORCECONV

#define F_FORCECONV   0x100000

Definition at line 137 of file pcre_jit_test.c.

◆ F_NO16

#define F_NO16   0x020000

Definition at line 133 of file pcre_jit_test.c.

◆ F_NO32

#define F_NO32   0x020000

Definition at line 134 of file pcre_jit_test.c.

◆ F_NO8

#define F_NO8   0x010000

Definition at line 132 of file pcre_jit_test.c.

◆ F_NOMATCH

#define F_NOMATCH   0x040000

Definition at line 135 of file pcre_jit_test.c.

◆ F_PROPERTY

#define F_PROPERTY   0x200000

Definition at line 138 of file pcre_jit_test.c.

◆ F_STUDY

#define F_STUDY   0x400000

Definition at line 139 of file pcre_jit_test.c.

◆ MA

#define MA   (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF)

Definition at line 127 of file pcre_jit_test.c.

◆ MAP

#define MAP   (PCRE_MULTILINE | PCRE_NEWLINE_ANYCRLF | PCRE_UCP)

Definition at line 128 of file pcre_jit_test.c.

◆ MUA

#define MUA   (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF)

Definition at line 123 of file pcre_jit_test.c.

◆ MUAP

#define MUAP   (PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_ANYCRLF | PCRE_UCP)

Definition at line 124 of file pcre_jit_test.c.

◆ OFFSET_MASK

#define OFFSET_MASK   0x00ffff

Definition at line 131 of file pcre_jit_test.c.

Function Documentation

◆ check_ascii()

static int check_ascii ( const char *  input)
static

Definition at line 1140 of file pcre_jit_test.c.

References regression_test_case::input.

Referenced by regression_tests().

◆ main()

int main ( void  )

Definition at line 100 of file pcre_jit_test.c.

References pcre_config(), and regression_tests().

◆ regression_tests()

◆ tables()

static const unsigned char* tables ( int  mode)
static

Variable Documentation

◆ regression_test_cases

struct regression_test_case regression_test_cases[]
static

Definition at line 148 of file pcre_jit_test.c.

Referenced by regression_tests().