Searched defs:mem_budget_ (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/re2/re2/
H A Ddfa.cc363 int64 mem_budget_; // Total memory budget for all States. member in class:re2::DFA
443 mem_budget_(max_mem),
456 mem_budget_ -= sizeof(DFA);
457 mem_budget_ -= (prog_->size() + nmark) *
459 mem_budget_ -= nastack_ * sizeof(int); // astack
460 if (mem_budget_ < 0) {
467 state_budget_ = mem_budget_;
759 if (mem_budget_ < mem + kStateCacheOverhead) {
760 mem_budget_ = -1;
763 mem_budget_
[all...]
/external/regex-re2/re2/
H A Ddfa.cc361 int64 mem_budget_; // Total memory budget for all States. member in class:re2::DFA
441 mem_budget_(max_mem),
454 mem_budget_ -= sizeof(DFA);
455 mem_budget_ -= (prog_->size() + nmark) *
457 mem_budget_ -= nastack_ * sizeof(int); // astack
458 if (mem_budget_ < 0) {
465 state_budget_ = mem_budget_;
757 if (mem_budget_ < mem + kStateCacheOverhead) {
758 mem_budget_ = -1;
761 mem_budget_
[all...]

Completed in 73 milliseconds