summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-06-09 02:56:37 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-09 14:06:24 +0000
commit07be1b83a6b2d24b492356181ddf70e1c7917ae3 (patch)
treec0050e3a1ae2933d9871008a8bd127ba0b97b33f /proto.h
parentb23a565decf7acb33d46fc5bb7bed5ad79774efe (diff)
downloadperl-07be1b83a6b2d24b492356181ddf70e1c7917ae3.tar.gz
Re: [PATCH] Better version of the Aho-Corasick patch and lots of benchmarks.
Message-ID: <9b18b3110606081556t779de698r82f361d82a05fbc8@mail.gmail.com> (with tweaks) p4raw-id: //depot/perl@28373
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 5eea726b99..da4a1531cf 100644
--- a/proto.h
+++ b/proto.h
@@ -3549,7 +3549,7 @@ STATIC void S_regtail(pTHX_ struct RExC_state_t *state, regnode *p, const regnod
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);
-STATIC U8 S_regtail_study(pTHX_ struct RExC_state_t *state, regnode *p, const regnode *val, U32 depth)
+STATIC U32 S_join_exact(pTHX_ struct RExC_state_t *state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);
@@ -3620,6 +3620,11 @@ STATIC I32 S_make_trie(pTHX_ struct RExC_state_t* state, regnode *startbranch, r
__attribute__nonnull__(pTHX_4)
__attribute__nonnull__(pTHX_5);
+STATIC void S_make_trie_failtable(pTHX_ struct RExC_state_t* state, regnode *source, regnode *node, U32 depth)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+
# ifdef DEBUGGING
STATIC const regnode* S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, SV* sv, I32 l)
__attribute__nonnull__(pTHX_1)
@@ -3639,6 +3644,11 @@ STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, U3
STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, U32 next_alloc, U32 depth)
__attribute__nonnull__(pTHX_1);
+STATIC U8 S_regtail_study(pTHX_ struct RExC_state_t *state, regnode *p, const regnode *val, U32 depth)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+
# endif
#endif
@@ -3690,6 +3700,12 @@ STATIC void S_to_utf8_substr(pTHX_ regexp * prog)
STATIC void S_to_byte_substr(pTHX_ regexp * prog)
__attribute__nonnull__(pTHX_1);
+# ifdef DEBUGGING
+STATIC void S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const bool do_utf8)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2);
+
+# endif
#endif
#if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)