|
#define | USE_TOKEN_THREADED_VM 0 |
|
#define | ENC_DUMMY_FLAG (1<<24) |
|
#define | ONIGENC_IS_MBC_ASCII_WORD(enc, s, end) |
|
#define | ONIGENC_IS_MBC_CRNL(enc, p, end) |
|
#define | ONIGENC_IS_MBC_NEWLINE_EX(enc, p, start, end, option, check_prev) is_mbc_newline_ex((enc),(p),(start),(end),(option),(check_prev)) |
|
#define | RREGC_SIZE (sizeof(int) * from->num_regs) |
|
#define | INVALID_STACK_INDEX -1 |
| stack More...
|
|
#define | STK_ALT 0x0001 |
|
#define | STK_LOOK_BEHIND_NOT 0x0002 |
|
#define | STK_POS_NOT 0x0003 |
|
#define | STK_MEM_START 0x0100 |
|
#define | STK_MEM_END 0x8200 |
|
#define | STK_REPEAT_INC 0x0300 |
|
#define | STK_STATE_CHECK_MARK 0x1000 |
|
#define | STK_NULL_CHECK_START 0x3000 |
|
#define | STK_NULL_CHECK_END 0x5000 /* for recursive call */ |
|
#define | STK_MEM_END_MARK 0x8400 |
|
#define | STK_POS 0x0500 /* used when POP-POS */ |
|
#define | STK_STOP_BT 0x0600 /* mark for "(?>...)" */ |
|
#define | STK_REPEAT 0x0700 |
|
#define | STK_CALL_FRAME 0x0800 |
|
#define | STK_RETURN 0x0900 |
|
#define | STK_VOID 0x0a00 /* for fill a blank */ |
|
#define | STK_ABSENT_POS 0x0b00 /* for absent */ |
|
#define | STK_ABSENT 0x0c00 /* absent inner loop marker */ |
|
#define | STK_MASK_POP_USED 0x00ff |
|
#define | STK_MASK_TO_VOID_TARGET 0x10ff |
|
#define | STK_MASK_MEM_END_OR_MARK 0x8000 /* MEM_END or MEM_END_MARK */ |
|
#define | MATCH_ARG_INIT(msa, arg_option, arg_region, arg_start, arg_gpos) |
|
#define | MATCH_ARG_FREE(msa) if ((msa).stack_p) xfree((msa).stack_p) |
|
#define | MAX_PTR_NUM 100 |
|
#define | STACK_INIT(alloc_addr, heap_addr, ptr_num, stack_num) |
|
#define | STACK_SAVE |
|
#define | STACK_ENSURE(n) |
|
#define | STACK_AT(index) (stk_base + (index)) |
|
#define | GET_STACK_INDEX(stk) ((stk) - stk_base) |
|
#define | STACK_PUSH_TYPE(stack_type) |
|
#define | IS_TO_VOID_TARGET(stk) (((stk)->type & STK_MASK_TO_VOID_TARGET) != 0) |
|
#define | ELSE_IF_STATE_CHECK_MARK(stk) |
|
#define | STACK_PUSH(stack_type, pat, s, sprev, keep) |
|
#define | STACK_PUSH_ENSURED(stack_type, pat) |
|
#define | STACK_PUSH_ALT(pat, s, sprev, keep) STACK_PUSH(STK_ALT,pat,s,sprev,keep) |
|
#define | STACK_PUSH_POS(s, sprev, keep) STACK_PUSH(STK_POS,NULL_UCHARP,s,sprev,keep) |
|
#define | STACK_PUSH_POS_NOT(pat, s, sprev, keep) STACK_PUSH(STK_POS_NOT,pat,s,sprev,keep) |
|
#define | STACK_PUSH_ABSENT STACK_PUSH_TYPE(STK_ABSENT) |
|
#define | STACK_PUSH_STOP_BT STACK_PUSH_TYPE(STK_STOP_BT) |
|
#define | STACK_PUSH_LOOK_BEHIND_NOT(pat, s, sprev, keep) STACK_PUSH(STK_LOOK_BEHIND_NOT,pat,s,sprev,keep) |
|
#define | STACK_PUSH_REPEAT(id, pat) |
|
#define | STACK_PUSH_REPEAT_INC(sindex) |
|
#define | STACK_PUSH_MEM_START(mnum, s) |
|
#define | STACK_PUSH_MEM_END(mnum, s) |
|
#define | STACK_PUSH_MEM_END_MARK(mnum) |
|
#define | STACK_GET_MEM_START(mnum, k) |
|
#define | STACK_GET_MEM_RANGE(k, mnum, start, end) |
|
#define | STACK_PUSH_NULL_CHECK_START(cnum, s) |
|
#define | STACK_PUSH_NULL_CHECK_END(cnum) |
|
#define | STACK_PUSH_CALL_FRAME(pat) |
|
#define | STACK_PUSH_RETURN |
|
#define | STACK_PUSH_ABSENT_POS(start, end) |
|
#define | STACK_BASE_CHECK(p, at) |
|
#define | STACK_POP_ONE |
|
#define | STACK_POP |
|
#define | STACK_POP_TIL_POS_NOT |
|
#define | STACK_POP_TIL_LOOK_BEHIND_NOT |
|
#define | STACK_POP_TIL_ABSENT |
|
#define | STACK_POP_ABSENT_POS(start, end) |
|
#define | STACK_POS_END(k) |
|
#define | STACK_STOP_BT_END |
|
#define | STACK_NULL_CHECK(isnull, id, s) |
|
#define | STACK_NULL_CHECK_REC(isnull, id, s) |
|
#define | STACK_NULL_CHECK_MEMST(isnull, id, s, reg) |
|
#define | STACK_NULL_CHECK_MEMST_REC(isnull, id, s, reg) |
|
#define | STACK_GET_REPEAT(id, k) |
|
#define | STACK_RETURN(addr) |
|
#define | STRING_CMP(s1, s2, len) |
|
#define | STRING_CMP_IC(case_fold_flag, s1, ps2, len, text_end) |
|
#define | STRING_CMP_VALUE(s1, s2, len, is_fail) |
|
#define | STRING_CMP_VALUE_IC(case_fold_flag, s1, ps2, len, text_end, is_fail) |
|
#define | IS_EMPTY_STR (str == end) |
|
#define | ON_STR_BEGIN(s) ((s) == str) |
|
#define | ON_STR_END(s) ((s) == end) |
|
#define | DATA_ENSURE_CHECK1 (s < end) |
|
#define | DATA_ENSURE_CHECK(n) (s + (n) <= end) |
|
#define | DATA_ENSURE(n) if (s + (n) > end) goto fail |
|
#define | ABSENT_END_POS end |
|
#define | STACK_INC stk++ |
|
#define | MOP_IN(opcode) |
|
#define | MOP_OUT |
|
#define | OP_OFFSET 0 |
|
#define | VM_LOOP |
|
#define | VM_LOOP_END } sprev = sbegin; } |
|
#define | CASE(x) case x: |
|
#define | DEFAULT default: |
|
#define | NEXT break |
|
#define | JUMP continue; break |
|
#define | ADD_NUMMEM 1 |
|
#define | OPCODE_EXEC_HOOK ((void) 0) |
|
#define | BM_BACKWARD_SEARCH_LENGTH_THRESHOLD 100 |
|
#define | MATCH_AND_RETURN_CHECK(none) |
|
|
void | onig_region_clear (OnigRegion *region) |
|
int | onig_region_resize (OnigRegion *region, int n) |
|
int | onig_region_set (OnigRegion *region, int at, int beg, int end) |
|
void | onig_region_init (OnigRegion *region) |
|
OnigRegion * | onig_region_new (void) |
|
void | onig_region_free (OnigRegion *r, int free_self) |
|
void | onig_region_copy (OnigRegion *to, const OnigRegion *from) |
|
unsigned int | onig_get_match_stack_limit_size (void) |
|
int | onig_set_match_stack_limit_size (unsigned int size) |
|
OnigPosition | onig_match (regex_t *reg, const UChar *str, const UChar *end, const UChar *at, OnigRegion *region, OnigOptionType option) |
|
OnigPosition | onig_search (regex_t *reg, const UChar *str, const UChar *end, const UChar *start, const UChar *range, OnigRegion *region, OnigOptionType option) |
|
OnigPosition | onig_search_gpos (regex_t *reg, const UChar *str, const UChar *end, const UChar *global_pos, const UChar *start, const UChar *range, OnigRegion *region, OnigOptionType option) |
|
OnigPosition | onig_scan (regex_t *reg, const UChar *str, const UChar *end, OnigRegion *region, OnigOptionType option, int(*scan_callback)(OnigPosition, OnigPosition, OnigRegion *, void *), void *callback_arg) |
|
OnigEncoding | onig_get_encoding (const regex_t *reg) |
|
OnigOptionType | onig_get_options (const regex_t *reg) |
|
OnigCaseFoldType | onig_get_case_fold_flag (const regex_t *reg) |
|
const OnigSyntaxType * | onig_get_syntax (const regex_t *reg) |
|
int | onig_number_of_captures (const regex_t *reg) |
|
int | onig_number_of_capture_histories (const regex_t *reg) |
|
void | onig_copy_encoding (OnigEncodingType *to, OnigEncoding from) |
|