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

  /external/chromium_org/third_party/re2/re2/
bitstate.cc 49 Prog* prog_; // program being run member in class:re2::BitState
72 : prog_(prog),
125 int op = prog_->inst(id)->opcode();
170 Prog::Inst* ip = prog_->inst(id);
202 if (ip->greedy(prog_)) {
292 // Search text (within context) for prog_.
301 if (prog_->anchor_start() && context_.begin() != text.begin())
303 if (prog_->anchor_end() && context_.end() != text.end())
305 anchored_ = anchored || prog_->anchor_start();
306 longest_ = longest || prog_->anchor_end()
    [all...]
set.cc 18 prog_ = NULL;
25 delete prog_;
90 prog_ = Prog::CompileSet(options_, anchor_, re);
91 return prog_ != NULL;
101 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored,
set.h 46 re2::Prog* prog_; member in class:re2::RE2::Set
compile.cc 219 Prog* prog_; // Program being built. member in class:re2::Compiler
241 prog_ = new Prog();
256 delete prog_;
398 prog_->byte_inst_count_++;
399 prog_->MarkByteRange(lo, hi);
406 prog_->MarkByteRange(lo + 'A' - 'a', hi + 'A' - 'a');
436 prog_->MarkByteRange('\n', '\n');
442 prog_->MarkByteRange(i, j-1);
954 prog_->set_flags(flags);
988 // Caller is responsible for deleting prog_
    [all...]
nfa.cc 109 Prog* prog_; // underlying program member in class:re2::NFA
129 prog_ = prog;
136 q0_.resize(prog_->size());
137 q1_.resize(prog_->size());
138 nastack_ = 2*prog_->size();
192 // It has room for 2*prog_->size() entries, which is enough:
223 Prog::Inst* ip = prog_->inst(id);
309 Prog::Inst* ip = prog_->inst(id);
326 if (ip->greedy(prog_) || longest_) {
333 if (ip->greedy(prog_))
    [all...]
re2.cc 199 prog_ = NULL;
233 prog_ = suffix_regexp_->CompileToProg(options_.max_mem()*2/3);
234 if (prog_ == NULL) {
247 is_one_pass_ = prog_->IsOnePass();
272 delete prog_;
283 if (prog_ == NULL)
285 return prog_->size();
482 if (prog_ == NULL)
504 if (maxlen > 0 && prog_->PossibleMatchRange(&dmin, &dmax, maxlen)) {
508 // prog_->PossibleMatchRange has failed us
    [all...]
dfa.cc 338 return prog_->bytemap_range();
339 return prog_->bytemap()[c];
343 Prog* prog_; // The regular expression program to run. member in class:re2::DFA
437 : prog_(prog),
446 fprintf(stderr, "\nkind %d\n%s\n", (int)kind_, prog_->DumpUnanchored().c_str());
457 mem_budget_ -= (prog_->size() + nmark) *
462 prog_->size(), max_mem);
473 int64 one_state = sizeof(State) + (prog_->size()+nmark)*sizeof(int) +
474 (prog_->bytemap_range()+1)*sizeof(State*);
477 prog_->size(), max_mem)
    [all...]
re2.h 699 re2::Prog* prog_; // compiled program for regexp member in class:re2::RE2
701 bool is_one_pass_; // can use prog_->SearchOnePass?
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
backtrack.cc 63 Prog* prog_; // program being run member in class:re2::Backtracker
79 : prog_(prog),
101 if (prog_->anchor_start() && text.begin() > context_.begin())
103 if (prog_->anchor_end() && text.end() < context_.end())
105 anchored_ = anchored | prog_->anchor_start();
106 longest_ = longest | prog_->anchor_end();
107 endmatch_ = prog_->anchor_end();
125 nvisited_ = (prog_->size()*(text.size()+1) + 31)/32;
132 return Visit(prog_->start(), text.begin());
140 if (Visit(prog_->start(), p)) // Match must be leftmost; done
    [all...]
tester.cc 169 prog_(NULL),
187 prog_ = regexp_->CompileToProg(0);
188 if (prog_ == NULL) {
200 << prog_->Dump();
270 delete prog_;
301 if (prog_ == NULL) {
306 prog_->UnsafeSearchBacktrack(text, context, anchor, kind_,
312 if (prog_ == NULL) {
317 prog_->SearchNFA(text, context, anchor, kind_,
323 if (prog_ == NULL)
    [all...]
dfa_test.cc 26 BuildThread(Prog* prog) : prog_(prog) {}
28 CHECK(prog_->BuildEntireDFA(Prog::kFirstMatch));
32 Prog* prog_; member in class:re2::BuildThread
239 : prog_(prog), match_(match), no_match_(no_match) {}
244 matched = prog_->SearchDFA(match_, NULL,
249 matched = prog_->SearchDFA(no_match_, NULL,
258 Prog* prog_; member in class:re2::SearchThread
tester.h 82 Prog* prog_; // compiled program member in class:re2::TestInstance
  /external/chromium_org/courgette/
adjustment_method.cc 569 : prog_(NULL),
576 prog_ = program;
583 prog_->UnassignIndexes();
585 CollectTraces(prog_, &prog_abs32_, &prog_rel32_, false);
588 prog_->AssignRemainingIndexes();
652 AssemblyProgram* prog_; // Program to be adjusted, owned by caller. member in class:courgette::GraphAdjuster
adjustment_method_2.cc 1282 AssemblyProgram* prog_; \/\/ Program to be adjusted, owned by caller. member in class:courgette::adjustment_method_2::AssignmentProblem::Adjuster
    [all...]

Completed in 153 milliseconds