Searched refs:Prefilter (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/re2/re2/
H A Dprefilter.h5 // Prefilter is the class used to extract string guards from regexps.
6 // Rather than using Prefilter class directly, use FilteredRE2.
20 class Prefilter { class in namespace:re2
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 i
[all...]
H A Dprefilter_tree.h29 class Prefilter;
39 void Add(Prefilter* prefilter);
96 Prefilter* CanonicalNode(Prefilter* node);
100 string NodeString(Prefilter* node) const;
103 string DebugNodeString(Prefilter* node) const;
112 // Map node string to canonical Prefilter node.
113 map<string, Prefilter*> node_map_;
119 // vector of Prefilter for all regexps.
120 vector<Prefilter*> prefilter_vec
[all...]
H A Dprefilter.cc19 // Initializes a Prefilter, allocating subs_ as necessary.
20 Prefilter::Prefilter(Op op) { function in class:re2::Prefilter
24 subs_ = new vector<Prefilter*>;
30 // Destroys a Prefilter.
31 Prefilter::~Prefilter() {
42 Prefilter* Prefilter::Simplify() {
59 Prefilter*
[all...]
H A Dprefilter_tree.cc36 static bool KeepPart(Prefilter* prefilter, int level) {
46 case Prefilter::ALL:
49 case Prefilter::ATOM:
53 case Prefilter::AND: {
55 vector<Prefilter*>* subs = prefilter->subs();
66 case Prefilter::OR:
74 void PrefilterTree::Add(Prefilter *f) {
136 Prefilter* PrefilterTree::CanonicalNode(Prefilter* node) {
138 map<string, Prefilter*>
[all...]
H A Dfiltered_re2.cc50 Prefilter* prefilter = Prefilter::FromRE2(re2_vec_[i]);
/external/regex-re2/re2/
H A Dprefilter.h5 // Prefilter is the class used to extract string guards from regexps.
6 // Rather than using Prefilter class directly, use FilteredRE2.
20 class Prefilter { class in namespace:re2
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 i
[all...]
H A Dprefilter_tree.h26 class Prefilter;
36 void Add(Prefilter* prefilter);
93 Prefilter* CanonicalNode(Prefilter* node);
97 string NodeString(Prefilter* node) const;
100 string DebugNodeString(Prefilter* node) const;
109 // Map node string to canonical Prefilter node.
110 map<string, Prefilter*> node_map_;
116 // vector of Prefilter for all regexps.
117 vector<Prefilter*> prefilter_vec
[all...]
H A Dprefilter.cc19 // Initializes a Prefilter, allocating subs_ as necessary.
20 Prefilter::Prefilter(Op op) { function in class:re2::Prefilter
24 subs_ = new vector<Prefilter*>;
30 // Destroys a Prefilter.
31 Prefilter::~Prefilter() {
42 Prefilter* Prefilter::Simplify() {
59 Prefilter*
[all...]
H A Dprefilter_tree.cc31 static bool KeepPart(Prefilter* prefilter, int level) {
41 case Prefilter::ALL:
44 case Prefilter::ATOM:
48 case Prefilter::AND: {
50 vector<Prefilter*>* subs = prefilter->subs();
61 case Prefilter::OR:
69 void PrefilterTree::Add(Prefilter *f) {
129 Prefilter* PrefilterTree::CanonicalNode(Prefilter* node) {
131 map<string, Prefilter*>
[all...]
H A Dfiltered_re2.cc50 Prefilter* prefilter = Prefilter::FromRE2(re2_vec_[i]);

Completed in 6185 milliseconds