#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
| uint8_t * | lre_compile (int *plen, char *error_msg, int error_msg_size, const char *buf, size_t buf_len, int re_flags, void *opaque) |
| |
| int | lre_get_alloc_count (const uint8_t *bc_buf) |
| |
| int | lre_get_capture_count (const uint8_t *bc_buf) |
| |
| int | lre_get_flags (const uint8_t *bc_buf) |
| |
| const char * | lre_get_groupnames (const uint8_t *bc_buf) |
| |
| int | lre_exec (uint8_t **capture, const uint8_t *bc_buf, const uint8_t *cbuf, int cindex, int clen, int cbuf_type, void *opaque) |
| |
| int | lre_parse_escape (const uint8_t **pp, int allow_utf16) |
| |
| int | lre_check_stack_overflow (void *opaque, size_t alloca_size) |
| |
| int | lre_check_timeout (void *opaque) |
| |
| void * | lre_realloc (void *opaque, void *ptr, size_t size) |
| |
◆ LRE_FLAG_DOTALL
| #define LRE_FLAG_DOTALL (1 << 3) |
◆ LRE_FLAG_GLOBAL
| #define LRE_FLAG_GLOBAL (1 << 0) |
◆ LRE_FLAG_IGNORECASE
| #define LRE_FLAG_IGNORECASE (1 << 1) |
◆ LRE_FLAG_INDICES
| #define LRE_FLAG_INDICES (1 << 6) /* Unused by libregexp, just recorded. */ |
◆ LRE_FLAG_MULTILINE
| #define LRE_FLAG_MULTILINE (1 << 2) |
◆ LRE_FLAG_NAMED_GROUPS
| #define LRE_FLAG_NAMED_GROUPS (1 << 7) /* named groups are present in the regexp */ |
◆ LRE_FLAG_STICKY
| #define LRE_FLAG_STICKY (1 << 5) |
◆ LRE_FLAG_UNICODE
| #define LRE_FLAG_UNICODE (1 << 4) |
◆ LRE_FLAG_UNICODE_SETS
| #define LRE_FLAG_UNICODE_SETS (1 << 8) |
◆ LRE_GROUP_NAME_TRAILER_LEN
| #define LRE_GROUP_NAME_TRAILER_LEN 2 |
◆ LRE_RET_MEMORY_ERROR
| #define LRE_RET_MEMORY_ERROR (-1) |
◆ LRE_RET_TIMEOUT
| #define LRE_RET_TIMEOUT (-2) |
◆ lre_check_stack_overflow()
| int lre_check_stack_overflow |
( |
void * |
opaque, |
|
|
size_t |
alloca_size |
|
) |
| |
◆ lre_check_timeout()
| int lre_check_timeout |
( |
void * |
opaque | ) |
|
◆ lre_compile()
| uint8_t * lre_compile |
( |
int * |
plen, |
|
|
char * |
error_msg, |
|
|
int |
error_msg_size, |
|
|
const char * |
buf, |
|
|
size_t |
buf_len, |
|
|
int |
re_flags, |
|
|
void * |
opaque |
|
) |
| |
◆ lre_exec()
| int lre_exec |
( |
uint8_t ** |
capture, |
|
|
const uint8_t * |
bc_buf, |
|
|
const uint8_t * |
cbuf, |
|
|
int |
cindex, |
|
|
int |
clen, |
|
|
int |
cbuf_type, |
|
|
void * |
opaque |
|
) |
| |
◆ lre_get_alloc_count()
| int lre_get_alloc_count |
( |
const uint8_t * |
bc_buf | ) |
|
◆ lre_get_capture_count()
| int lre_get_capture_count |
( |
const uint8_t * |
bc_buf | ) |
|
◆ lre_get_flags()
| int lre_get_flags |
( |
const uint8_t * |
bc_buf | ) |
|
◆ lre_get_groupnames()
| const char * lre_get_groupnames |
( |
const uint8_t * |
bc_buf | ) |
|
◆ lre_parse_escape()
| int lre_parse_escape |
( |
const uint8_t ** |
pp, |
|
|
int |
allow_utf16 |
|
) |
| |
◆ lre_realloc()
| void * lre_realloc |
( |
void * |
opaque, |
|
|
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |