QtBase  v6.3.1
Classes | Macros | Typedefs
pcre2_intmodedep.h File Reference

Go to the source code of this file.

Classes

struct  pcre2_real_general_context
 
struct  pcre2_real_compile_context
 
struct  pcre2_real_match_context
 
struct  pcre2_real_convert_context
 
struct  pcre2_real_code
 
struct  pcre2_real_match_data
 
struct  recurse_check
 
struct  parsed_recurse_check
 
struct  recurse_cache
 
struct  branch_chain
 
struct  named_group
 
struct  compile_block
 
struct  pcre2_real_jit_stack
 
struct  dfa_recursion_info
 
struct  heapframe
 
struct  heapframe_align
 
struct  match_block
 
struct  dfa_match_block
 

Macros

#define IMM2_SIZE   1
 
#define GET2(a, n)   a[n]
 
#define PUT2(a, n, d)   a[n] = d
 
#define CHMAX_255(c)   ((c) <= 255u)
 
#define MAX_255(c)   ((c) <= 255u)
 
#define MAX_MARK   ((1u << 16) - 1)
 
#define SUPPORT_WIDE_CHARS
 
#define TABLE_GET(c, table, default)   (MAX_255(c)? ((table)[c]):(default))
 
#define UCHAR21(eptr)   (*(eptr))
 
#define UCHAR21TEST(eptr)   (*(eptr))
 
#define UCHAR21INC(eptr)   (*(eptr)++)
 
#define UCHAR21INCTEST(eptr)   (*(eptr)++)
 
#define GETCHAR(c, eptr)   c = *eptr;
 
#define GETCHARTEST(c, eptr)   c = *eptr;
 
#define GETCHARINC(c, eptr)   c = *eptr++;
 
#define GETCHARINCTEST(c, eptr)   c = *eptr++;
 
#define GETCHARLEN(c, eptr, len)   c = *eptr;
 
#define PUTCHAR(c, p)   (*p = c, 1)
 
#define CU2BYTES(x)   ((x)*((PCRE2_CODE_UNIT_WIDTH/8)))
 
#define BYTES2CU(x)   ((x)/((PCRE2_CODE_UNIT_WIDTH/8)))
 
#define PUTINC(a, n, d)   PUT(a,n,d), a += LINK_SIZE
 
#define PUT2INC(a, n, d)   PUT2(a,n,d), a += IMM2_SIZE
 
#define CODE_BLOCKSIZE_TYPE   size_t
 
#define LOOKBEHIND_MAX   UINT16_MAX
 
#define HEAPFRAME_ALIGNMENT   offsetof(heapframe_align, frame)
 

Typedefs

typedef struct pcre2_real_general_context pcre2_real_general_context
 
typedef struct pcre2_real_compile_context pcre2_real_compile_context
 
typedef struct pcre2_real_match_context pcre2_real_match_context
 
typedef struct pcre2_real_convert_context pcre2_real_convert_context
 
typedef struct pcre2_real_code pcre2_real_code
 
typedef struct pcre2_real_match_data pcre2_real_match_data
 
typedef struct recurse_check recurse_check
 
typedef struct parsed_recurse_check parsed_recurse_check
 
typedef struct recurse_cache recurse_cache
 
typedef struct branch_chain branch_chain
 
typedef struct named_group named_group
 
typedef struct compile_block compile_block
 
typedef struct pcre2_real_jit_stack pcre2_real_jit_stack
 
typedef struct dfa_recursion_info dfa_recursion_info
 
typedef struct heapframe heapframe
 
typedef char check_heapframe_size[((sizeof(heapframe) % sizeof(PCRE2_SIZE))==0)?(+1):(-1)]
 
typedef struct heapframe_align heapframe_align
 
typedef struct match_block match_block
 
typedef struct dfa_match_block dfa_match_block
 

Macro Definition Documentation

◆ BYTES2CU

#define BYTES2CU (   x)    ((x)/((PCRE2_CODE_UNIT_WIDTH/8)))

Definition at line 546 of file pcre2_intmodedep.h.

◆ CHMAX_255

#define CHMAX_255 (   c)    ((c) <= 255u)

Definition at line 223 of file pcre2_intmodedep.h.

◆ CODE_BLOCKSIZE_TYPE

#define CODE_BLOCKSIZE_TYPE   size_t

Definition at line 613 of file pcre2_intmodedep.h.

◆ CU2BYTES

#define CU2BYTES (   x)    ((x)*((PCRE2_CODE_UNIT_WIDTH/8)))

Definition at line 545 of file pcre2_intmodedep.h.

◆ GET2

#define GET2 (   a,
  n 
)    a[n]

Definition at line 199 of file pcre2_intmodedep.h.

◆ GETCHAR

#define GETCHAR (   c,
  eptr 
)    c = *eptr;

Definition at line 261 of file pcre2_intmodedep.h.

◆ GETCHARINC

#define GETCHARINC (   c,
  eptr 
)    c = *eptr++;

Definition at line 263 of file pcre2_intmodedep.h.

◆ GETCHARINCTEST

#define GETCHARINCTEST (   c,
  eptr 
)    c = *eptr++;

Definition at line 264 of file pcre2_intmodedep.h.

◆ GETCHARLEN

#define GETCHARLEN (   c,
  eptr,
  len 
)    c = *eptr;

Definition at line 265 of file pcre2_intmodedep.h.

◆ GETCHARTEST

#define GETCHARTEST (   c,
  eptr 
)    c = *eptr;

Definition at line 262 of file pcre2_intmodedep.h.

◆ HEAPFRAME_ALIGNMENT

#define HEAPFRAME_ALIGNMENT   offsetof(heapframe_align, frame)

Definition at line 850 of file pcre2_intmodedep.h.

◆ IMM2_SIZE

#define IMM2_SIZE   1

Definition at line 198 of file pcre2_intmodedep.h.

◆ LOOKBEHIND_MAX

#define LOOKBEHIND_MAX   UINT16_MAX

Definition at line 616 of file pcre2_intmodedep.h.

◆ MAX_255

#define MAX_255 (   c)    ((c) <= 255u)

Definition at line 224 of file pcre2_intmodedep.h.

◆ MAX_MARK

#define MAX_MARK   ((1u << 16) - 1)

Definition at line 225 of file pcre2_intmodedep.h.

◆ PUT2

#define PUT2 (   a,
  n,
  d 
)    a[n] = d

Definition at line 200 of file pcre2_intmodedep.h.

◆ PUT2INC

#define PUT2INC (   a,
  n,
  d 
)    PUT2(a,n,d), a += IMM2_SIZE

Definition at line 548 of file pcre2_intmodedep.h.

◆ PUTCHAR

#define PUTCHAR (   c,
  p 
)    (*p = c, 1)

Definition at line 266 of file pcre2_intmodedep.h.

◆ PUTINC

#define PUTINC (   a,
  n,
  d 
)    PUT(a,n,d), a += LINK_SIZE

Definition at line 547 of file pcre2_intmodedep.h.

◆ SUPPORT_WIDE_CHARS

#define SUPPORT_WIDE_CHARS

Definition at line 226 of file pcre2_intmodedep.h.

◆ TABLE_GET

#define TABLE_GET (   c,
  table,
  default 
)    (MAX_255(c)? ((table)[c]):(default))

Definition at line 227 of file pcre2_intmodedep.h.

◆ UCHAR21

#define UCHAR21 (   eptr)    (*(eptr))

Definition at line 243 of file pcre2_intmodedep.h.

◆ UCHAR21INC

#define UCHAR21INC (   eptr)    (*(eptr)++)

Definition at line 245 of file pcre2_intmodedep.h.

◆ UCHAR21INCTEST

#define UCHAR21INCTEST (   eptr)    (*(eptr)++)

Definition at line 246 of file pcre2_intmodedep.h.

◆ UCHAR21TEST

#define UCHAR21TEST (   eptr)    (*(eptr))

Definition at line 244 of file pcre2_intmodedep.h.

Typedef Documentation

◆ branch_chain

typedef struct branch_chain branch_chain

◆ check_heapframe_size

typedef char check_heapframe_size[((sizeof(heapframe) % sizeof(PCRE2_SIZE))==0)?(+1):(-1)]

Definition at line 838 of file pcre2_intmodedep.h.

◆ compile_block

typedef struct compile_block compile_block

◆ dfa_match_block

◆ dfa_recursion_info

◆ heapframe

typedef struct heapframe heapframe

◆ heapframe_align

◆ match_block

typedef struct match_block match_block

◆ named_group

typedef struct named_group named_group

◆ parsed_recurse_check

◆ pcre2_real_code

◆ pcre2_real_compile_context

◆ pcre2_real_convert_context

◆ pcre2_real_general_context

◆ pcre2_real_jit_stack

◆ pcre2_real_match_context

◆ pcre2_real_match_data

◆ recurse_cache

typedef struct recurse_cache recurse_cache

◆ recurse_check

typedef struct recurse_check recurse_check