2557 |
cb.version = 1; /* Version 1 of the callout block */ |
cb.version = 1; /* Version 1 of the callout block */ |
2558 |
cb.callout_number = code[LINK_SIZE+2]; |
cb.callout_number = code[LINK_SIZE+2]; |
2559 |
cb.offset_vector = offsets; |
cb.offset_vector = offsets; |
2560 |
|
#ifdef COMPILE_PCRE8 |
2561 |
cb.subject = (PCRE_SPTR)start_subject; |
cb.subject = (PCRE_SPTR)start_subject; |
2562 |
|
#else |
2563 |
|
cb.subject = (PCRE_SPTR16)start_subject; |
2564 |
|
#endif |
2565 |
cb.subject_length = (int)(end_subject - start_subject); |
cb.subject_length = (int)(end_subject - start_subject); |
2566 |
cb.start_match = (int)(current_subject - start_subject); |
cb.start_match = (int)(current_subject - start_subject); |
2567 |
cb.current_position = (int)(ptr - start_subject); |
cb.current_position = (int)(ptr - start_subject); |
2900 |
cb.version = 1; /* Version 1 of the callout block */ |
cb.version = 1; /* Version 1 of the callout block */ |
2901 |
cb.callout_number = code[1]; |
cb.callout_number = code[1]; |
2902 |
cb.offset_vector = offsets; |
cb.offset_vector = offsets; |
2903 |
|
#ifdef COMPILE_PCRE8 |
2904 |
cb.subject = (PCRE_SPTR)start_subject; |
cb.subject = (PCRE_SPTR)start_subject; |
2905 |
|
#else |
2906 |
|
cb.subject = (PCRE_SPTR16)start_subject; |
2907 |
|
#endif |
2908 |
cb.subject_length = (int)(end_subject - start_subject); |
cb.subject_length = (int)(end_subject - start_subject); |
2909 |
cb.start_match = (int)(current_subject - start_subject); |
cb.start_match = (int)(current_subject - start_subject); |
2910 |
cb.current_position = (int)(ptr - start_subject); |
cb.current_position = (int)(ptr - start_subject); |
3021 |
int offsetcount, int *workspace, int wscount) |
int offsetcount, int *workspace, int wscount) |
3022 |
#else |
#else |
3023 |
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION |
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION |
3024 |
pcre16_dfa_exec(const pcre *argument_re, const pcre16_extra *extra_data, |
pcre16_dfa_exec(const pcre16 *argument_re, const pcre16_extra *extra_data, |
3025 |
PCRE_SPTR16 subject, int length, int start_offset, int options, int *offsets, |
PCRE_SPTR16 subject, int length, int start_offset, int options, int *offsets, |
3026 |
int offsetcount, int *workspace, int wscount) |
int offsetcount, int *workspace, int wscount) |
3027 |
#endif |
#endif |
3028 |
{ |
{ |
3029 |
real_pcre *re = (real_pcre *)argument_re; |
REAL_PCRE *re = (REAL_PCRE *)argument_re; |
3030 |
dfa_match_data match_block; |
dfa_match_data match_block; |
3031 |
dfa_match_data *md = &match_block; |
dfa_match_data *md = &match_block; |
3032 |
BOOL utf, anchored, startline, firstline; |
BOOL utf, anchored, startline, firstline; |