Lines Matching refs:prog_
336 return prog_->bytemap_range(); in ByteMap()
337 return prog_->bytemap()[c]; in ByteMap()
341 Prog* prog_; // The regular expression program to run. member in re2::DFA
435 : prog_(prog), in DFA()
444 fprintf(stderr, "\nkind %d\n%s\n", (int)kind_, prog_->DumpUnanchored().c_str()); in DFA()
455 mem_budget_ -= (prog_->size() + nmark) * in DFA()
460 prog_->size(), max_mem); in DFA()
471 int64 one_state = sizeof(State) + (prog_->size()+nmark)*sizeof(int) + in DFA()
472 (prog_->bytemap_range()+1)*sizeof(State*); in DFA()
475 prog_->size(), max_mem); in DFA()
630 Prog::Inst* ip = prog_->inst(id); in WorkqToCachedState()
639 (it == q->begin() && ip->greedy(prog_))) && in WorkqToCachedState()
655 if (ip->opcode() == kInstMatch && !prog_->anchor_end()) in WorkqToCachedState()
755 int nnext = prog_->bytemap_range() + 1; // + 1 for kByteEndText slot in CachedState()
842 Prog::Inst* ip = prog_->inst(id); in AddToQueue()
866 id == prog_->start_unanchored() && id != prog_->start()) in AddToQueue()
925 Prog::Inst* ip = prog_->inst(id); in RunWorkqOnByte()
941 if (prog_->anchor_end() && c != kByteEndText) in RunWorkqOnByte()
1330 const uint8* bytemap = prog_->bytemap(); in InlinedSearchLoop()
1514 Prog::Inst* ip = prog_->inst(s->inst_[i]); in InlinedSearchLoop()
1654 if (params->anchored || prog_->anchor_start()) in AnalyzeSearch()
1698 params->anchored ? prog_->start() : prog_->start_unanchored(), in AnalyzeSearchHelper()
1763 fprintf(stderr, "\nprogram:\n%s\n", prog_->DumpUnanchored().c_str()); in Search()