| 280 |
struct real_pcre16_jit_stack; /* declaration; the definition is private */ |
struct real_pcre16_jit_stack; /* declaration; the definition is private */ |
| 281 |
typedef struct real_pcre16_jit_stack pcre16_jit_stack; |
typedef struct real_pcre16_jit_stack pcre16_jit_stack; |
| 282 |
|
|
| 283 |
/* If PCRE is compiled with 16 bit character support, PCRE_SCHAR16 must contain |
/* If PCRE is compiled with 16 bit character support, PCRE_UCHAR16 must contain |
| 284 |
a 16 bit wide signed data type. Otherwise it can be a dummy data type since |
a 16 bit wide signed data type. Otherwise it can be a dummy data type since |
| 285 |
pcre16 functions are not implemented. There is a check for this in pcre_internal.h. */ |
pcre16 functions are not implemented. There is a check for this in pcre_internal.h. */ |
| 286 |
#ifndef PCRE_SCHAR16 |
#ifndef PCRE_UCHAR16 |
| 287 |
#define PCRE_SCHAR16 unsigned short |
#define PCRE_UCHAR16 unsigned short |
| 288 |
#endif |
#endif |
| 289 |
|
|
| 290 |
#ifndef PCRE_SPTR16 |
#ifndef PCRE_SPTR16 |
| 291 |
#define PCRE_SPTR16 const PCRE_SCHAR16 * |
#define PCRE_SPTR16 const PCRE_UCHAR16 * |
| 292 |
#endif |
#endif |
| 293 |
|
|
| 294 |
/* When PCRE is compiled as a C++ library, the subject pointer type can be |
/* When PCRE is compiled as a C++ library, the subject pointer type can be |
| 323 |
void *callout_data; /* Data passed back in callouts */ |
void *callout_data; /* Data passed back in callouts */ |
| 324 |
const unsigned char *tables; /* Pointer to character tables */ |
const unsigned char *tables; /* Pointer to character tables */ |
| 325 |
unsigned long int match_limit_recursion; /* Max recursive calls to match() */ |
unsigned long int match_limit_recursion; /* Max recursive calls to match() */ |
| 326 |
PCRE_SCHAR16 **mark; /* For passing back a mark pointer */ |
PCRE_UCHAR16 **mark; /* For passing back a mark pointer */ |
| 327 |
void *executable_jit; /* Contains a pointer to a compiled jit code */ |
void *executable_jit; /* Contains a pointer to a compiled jit code */ |
| 328 |
} pcre16_extra; |
} pcre16_extra; |
| 329 |
|
|
| 370 |
int pattern_position; /* Offset to next item in the pattern */ |
int pattern_position; /* Offset to next item in the pattern */ |
| 371 |
int next_item_length; /* Length of next item in the pattern */ |
int next_item_length; /* Length of next item in the pattern */ |
| 372 |
/* ------------------- Added for Version 2 -------------------------- */ |
/* ------------------- Added for Version 2 -------------------------- */ |
| 373 |
const PCRE_SCHAR16 *mark; /* Pointer to current mark or NULL */ |
const PCRE_UCHAR16 *mark; /* Pointer to current mark or NULL */ |
| 374 |
/* ------------------------------------------------------------------ */ |
/* ------------------------------------------------------------------ */ |
| 375 |
} pcre16_callout_block; |
} pcre16_callout_block; |
| 376 |
|
|
| 426 |
PCRE_EXP_DECL int pcre_copy_named_substring(const pcre *, const char *, |
PCRE_EXP_DECL int pcre_copy_named_substring(const pcre *, const char *, |
| 427 |
int *, int, const char *, char *, int); |
int *, int, const char *, char *, int); |
| 428 |
PCRE_EXP_DECL int pcre16_copy_named_substring(const pcre16 *, PCRE_SPTR16, |
PCRE_EXP_DECL int pcre16_copy_named_substring(const pcre16 *, PCRE_SPTR16, |
| 429 |
int *, int, PCRE_SPTR16, PCRE_SCHAR16 *, int); |
int *, int, PCRE_SPTR16, PCRE_UCHAR16 *, int); |
| 430 |
PCRE_EXP_DECL int pcre_copy_substring(const char *, int *, int, int, |
PCRE_EXP_DECL int pcre_copy_substring(const char *, int *, int, int, |
| 431 |
char *, int); |
char *, int); |
| 432 |
PCRE_EXP_DECL int pcre16_copy_substring(PCRE_SPTR16, int *, int, int, |
PCRE_EXP_DECL int pcre16_copy_substring(PCRE_SPTR16, int *, int, int, |
| 433 |
PCRE_SCHAR16 *, int); |
PCRE_UCHAR16 *, int); |
| 434 |
PCRE_EXP_DECL int pcre_dfa_exec(const pcre *, const pcre_extra *, |
PCRE_EXP_DECL int pcre_dfa_exec(const pcre *, const pcre_extra *, |
| 435 |
const char *, int, int, int, int *, int , int *, int); |
const char *, int, int, int, int *, int , int *, int); |
| 436 |
PCRE_EXP_DECL int pcre16_dfa_exec(const pcre16 *, const pcre16_extra *, |
PCRE_EXP_DECL int pcre16_dfa_exec(const pcre16 *, const pcre16_extra *, |
| 456 |
PCRE_EXP_DECL int pcre_get_stringtable_entries(const pcre *, const char *, |
PCRE_EXP_DECL int pcre_get_stringtable_entries(const pcre *, const char *, |
| 457 |
char **, char **); |
char **, char **); |
| 458 |
PCRE_EXP_DECL int pcre16_get_stringtable_entries(const pcre16 *, PCRE_SPTR16, |
PCRE_EXP_DECL int pcre16_get_stringtable_entries(const pcre16 *, PCRE_SPTR16, |
| 459 |
PCRE_SCHAR16 **, PCRE_SCHAR16 **); |
PCRE_UCHAR16 **, PCRE_UCHAR16 **); |
| 460 |
PCRE_EXP_DECL int pcre_get_substring(const char *, int *, int, int, |
PCRE_EXP_DECL int pcre_get_substring(const char *, int *, int, int, |
| 461 |
const char **); |
const char **); |
| 462 |
PCRE_EXP_DECL int pcre16_get_substring(PCRE_SPTR16, int *, int, int, |
PCRE_EXP_DECL int pcre16_get_substring(PCRE_SPTR16, int *, int, int, |
| 481 |
const unsigned char *); |
const unsigned char *); |
| 482 |
PCRE_EXP_DECL int pcre16_pattern_to_host_byte_order(pcre16 *, pcre16_extra *, |
PCRE_EXP_DECL int pcre16_pattern_to_host_byte_order(pcre16 *, pcre16_extra *, |
| 483 |
const unsigned char *); |
const unsigned char *); |
| 484 |
PCRE_EXP_DECL int pcre16_utf16_to_host_byte_order(PCRE_SCHAR16 *, |
PCRE_EXP_DECL int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *, |
| 485 |
PCRE_SPTR16, int, int *, int); |
PCRE_SPTR16, int, int *, int); |
| 486 |
|
|
| 487 |
/* JIT compiler related functions. */ |
/* JIT compiler related functions. */ |