Lines Matching refs:inst_len_
226 int inst_len_; // Number of instructions used. member in re2::Compiler
245 inst_len_ = 0; in Compiler()
260 if (failed_ || inst_len_ + n > max_inst_) { in AllocInst()
265 if (inst_len_ + n > inst_cap_) { in AllocInst()
268 while (inst_len_ + n > inst_cap_) in AllocInst()
271 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in AllocInst()
272 memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]); in AllocInst()
276 int id = inst_len_; in AllocInst()
277 inst_len_ += n; in AllocInst()
282 if (inst_len_ < inst_cap_) { in Trim()
283 Prog::Inst* ip = new Prog::Inst[inst_len_]; in Trim()
284 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in Trim()
287 inst_cap_ = inst_len_; in Trim()
1049 inst_len_ = 1; in Finish()
1055 prog_->size_ = inst_len_; in Finish()
1067 int64 m = max_mem_ - sizeof(Prog) - inst_len_*sizeof(Prog::Inst); in Finish()