Searched refs:inst_cap_ (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/re2/re2/
H A Dcompile.cc228 int inst_cap_; // Number of instructions allocated. member in class:re2::Compiler
247 inst_cap_ = 0;
266 if (inst_len_ + n > inst_cap_) {
267 if (inst_cap_ == 0)
268 inst_cap_ = 8;
269 while (inst_len_ + n > inst_cap_)
270 inst_cap_ *= 2;
271 Prog::Inst* ip = new Prog::Inst[inst_cap_];
273 memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]);
283 if (inst_len_ < inst_cap_) {
[all...]
/external/regex-re2/re2/
H A Dcompile.cc227 int inst_cap_; // Number of instructions allocated. member in class:re2::Compiler
246 inst_cap_ = 0;
265 if (inst_len_ + n > inst_cap_) {
266 if (inst_cap_ == 0)
267 inst_cap_ = 8;
268 while (inst_len_ + n > inst_cap_)
269 inst_cap_ *= 2;
270 Prog::Inst* ip = new Prog::Inst[inst_cap_];
272 memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]);
282 if (inst_len_ < inst_cap_) {
[all...]

Completed in 97 milliseconds