Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 5 of 5) sorted by relevance

/external/regex-re2/re2/
Dcompile.cc225 Prog::Inst* inst_; // Pointer to first instruction. member in re2::Compiler
244 inst_ = NULL; in Compiler()
250 inst_[fail].InitFail(); in Compiler()
256 delete[] inst_; in ~Compiler()
271 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in AllocInst()
273 delete[] inst_; in AllocInst()
274 inst_ = ip; in AllocInst()
284 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in Trim()
285 delete[] inst_; in Trim()
286 inst_ = ip; in Trim()
[all …]
Ddfa.cc100 int* inst_; // Instruction pointers in the state. member
131 if (a->inst_[i] != b->inst_[i]) in operator ()()
141 const char* s = reinterpret_cast<const char*>(a->inst_); in operator ()()
142 int len = a->ninst_ * sizeof a->inst_[0]; in operator ()()
160 if (a->inst_[i] != b->inst_[i]) in operator ()()
161 return a->inst_[i] < b->inst_[i]; in operator ()()
534 if (state->inst_[i] == Mark) { in DumpState()
538 StringAppendF(&s, "%s%d", sep, state->inst_[i]); in DumpState()
767 s->inst_ = reinterpret_cast<int*>(s->next_ + nnext); in CachedState()
769 memmove(s->inst_, inst, ninst*sizeof s->inst_[0]); in CachedState()
[all …]
Dprog.h98 int id(Prog* p) { return this - p->inst_; } in id()
198 Inst *inst(int id) { return &inst_[id]; } in inst()
355 Inst* inst_; // pointer to instruction array variable
Dprog.cc105 inst_(NULL), in Prog()
123 delete[] inst_; in ~Prog()
/external/openfst/src/include/fst/extensions/ngram/
Dngram-fst.h668 return GetImpl()->GetContext(s, &inst_); in GetContext()
678 return GetImpl()->NumArcs(s, &inst_); in NumArcs()
738 mutable NGramFstInst<A> inst_; variable
743 GetImpl()->SetInstFuture(s, &inst_); in InitArcIterator()
744 GetImpl()->SetInstNode(&inst_); in InitArcIterator()
758 : fst_(fst), inst_(fst.inst_), match_type_(match_type), in NGramFstMatcher()
767 : fst_(matcher.fst_), inst_(matcher.inst_),
793 fst_.GetImpl()->SetInstFuture(s, &inst_); in SetState_()
803 loop_.nextstate = inst_.state_; in Find_()
806 if (inst_.state_ != 0) { in Find_()
[all …]