HomeSort by relevance Sort by last modified time
    Searched refs:Prefilter (Results 1 - 5 of 5) sorted by null

  /external/regex-re2/re2/
prefilter.h 5 // Prefilter is the class used to extract string guards from regexps.
6 // Rather than using Prefilter class directly, use FilteredRE2.
20 class Prefilter {
21 // Instead of using Prefilter directly, use FilteredRE2; see filtered_re2.h
31 explicit Prefilter(Op op);
32 ~Prefilter();
39 // The children of the Prefilter node.
40 vector<Prefilter*>* subs() {
45 // Set the children vector. Prefilter takes ownership of subs and
46 // subs_ will be deleted when Prefilter is deleted
    [all...]
prefilter_tree.h 6 // that would trigger each regexp. The 'prefilter' of each regexp is
26 class Prefilter;
33 // Adds the prefilter for the next regexp. Note that we assume that
36 void Add(Prefilter* prefilter);
54 // Print debug prefilter. Also prints unique ids associated with
55 // nodes of the prefilter of the regexp.
83 // prefilter, by looking at if these nodes are already in the
91 // Returns the prefilter node that has the same NodeString as this
93 Prefilter* CanonicalNode(Prefilter* node)
    [all...]
prefilter.cc 6 #include "re2/prefilter.h"
19 // Initializes a Prefilter, allocating subs_ as necessary.
20 Prefilter::Prefilter(Op op) {
24 subs_ = new vector<Prefilter*>;
30 // Destroys a Prefilter.
31 Prefilter::~Prefilter() {
42 Prefilter* Prefilter::Simplify()
    [all...]
prefilter_tree.cc 7 #include "re2/prefilter.h"
31 static bool KeepPart(Prefilter* prefilter, int level) {
32 if (prefilter == NULL)
35 switch (prefilter->op()) {
38 << prefilter->op();
41 case Prefilter::ALL:
44 case Prefilter::ATOM:
45 return prefilter->atom().size() >=
48 case Prefilter::AND:
213 Prefilter* prefilter = v[i]; local
226 Prefilter* prefilter = v[i]; local
    [all...]
filtered_re2.cc 8 #include "re2/prefilter.h"
50 Prefilter* prefilter = Prefilter::FromRE2(re2_vec_[i]); local
51 prefilter_tree_->Add(prefilter);

Completed in 290 milliseconds