| 737 |
"JIT stack limit reached", |
"JIT stack limit reached", |
| 738 |
"pattern compiled in wrong mode: 8-bit/16-bit error", |
"pattern compiled in wrong mode: 8-bit/16-bit error", |
| 739 |
"pattern compiled with other endianness", |
"pattern compiled with other endianness", |
| 740 |
"invalid data in workspace for DFA restart" |
"invalid data in workspace for DFA restart" |
| 741 |
}; |
}; |
| 742 |
|
|
| 743 |
|
|
| 2600 |
int do_showcaprest = 0; |
int do_showcaprest = 0; |
| 2601 |
int do_flip = 0; |
int do_flip = 0; |
| 2602 |
int erroroffset, len, delimiter, poffset; |
int erroroffset, len, delimiter, poffset; |
| 2603 |
|
|
| 2604 |
#if !defined NODFA |
#if !defined NODFA |
| 2605 |
int dfa_matched = 0; |
int dfa_matched = 0; |
| 2606 |
#endif |
#endif |
| 2607 |
|
|
| 2608 |
use_utf = 0; |
use_utf = 0; |
| 2609 |
debug_lengths = 1; |
debug_lengths = 1; |
| 3946 |
{ |
{ |
| 3947 |
fprintf(outfile, "Timing DFA restarts is not supported\n"); |
fprintf(outfile, "Timing DFA restarts is not supported\n"); |
| 3948 |
break; |
break; |
| 3949 |
} |
} |
| 3950 |
if (dfa_workspace == NULL) |
if (dfa_workspace == NULL) |
| 3951 |
dfa_workspace = (int *)malloc(DFA_WS_DIMENSION*sizeof(int)); |
dfa_workspace = (int *)malloc(DFA_WS_DIMENSION*sizeof(int)); |
| 3952 |
for (i = 0; i < timeitm; i++) |
for (i = 0; i < timeitm; i++) |
| 3953 |
{ |
{ |
| 3954 |
PCRE_DFA_EXEC(count, re, extra, bptr, len, start_offset, |
PCRE_DFA_EXEC(count, re, extra, bptr, len, start_offset, |
| 4019 |
#if !defined NODFA |
#if !defined NODFA |
| 4020 |
else if (all_use_dfa || use_dfa) |
else if (all_use_dfa || use_dfa) |
| 4021 |
{ |
{ |
| 4022 |
if (dfa_workspace == NULL) |
if (dfa_workspace == NULL) |
| 4023 |
dfa_workspace = (int *)malloc(DFA_WS_DIMENSION*sizeof(int)); |
dfa_workspace = (int *)malloc(DFA_WS_DIMENSION*sizeof(int)); |
| 4024 |
if (dfa_matched++ == 0) |
if (dfa_matched++ == 0) |
| 4025 |
dfa_workspace[0] = -1; /* To catch bad restart */ |
dfa_workspace[0] = -1; /* To catch bad restart */ |
| 4026 |
PCRE_DFA_EXEC(count, re, extra, bptr, len, start_offset, |
PCRE_DFA_EXEC(count, re, extra, bptr, len, start_offset, |
| 4027 |
(options | g_notempty), use_offsets, use_size_offsets, dfa_workspace, |
(options | g_notempty), use_offsets, use_size_offsets, dfa_workspace, |