Home
last modified time | relevance | path

Searched refs:max_mem (Results 1 – 8 of 8) sorted by relevance

/external/regex-re2/re2/
Dcompile.cc131 static Prog *Compile(Regexp* re, bool reversed, int64 max_mem);
951 void Compiler::Setup(Regexp::ParseFlags flags, int64 max_mem, in Setup() argument
957 max_mem_ = max_mem; in Setup()
958 if (max_mem <= 0) { in Setup()
960 } else if (max_mem <= sizeof(Prog)) { in Setup()
964 int64 m = (max_mem - sizeof(Prog)) / sizeof(Prog::Inst); in Setup()
991 Prog* Compiler::Compile(Regexp* re, bool reversed, int64 max_mem) { in Compile() argument
994 c.Setup(re->parse_flags(), max_mem, RE2::ANCHOR_BOTH /* unused */); in Compile()
1079 Prog* Regexp::CompileToProg(int64 max_mem) { in CompileToProg() argument
1080 return Compiler::Compile(this, false, max_mem); in CompileToProg()
[all …]
Dregexp.h413 Prog* CompileToProg(int64 max_mem);
414 Prog* CompileToReverseProg(int64 max_mem);
Ddfa.cc57 DFA(Prog* prog, Prog::MatchKind kind, int64 max_mem);
434 DFA::DFA(Prog* prog, Prog::MatchKind kind, int64 max_mem) in DFA() argument
441 mem_budget_(max_mem), in DFA()
460 prog_->size(), max_mem); in DFA()
475 prog_->size(), max_mem); in DFA()
Dre2.cc215 prog_ = suffix_regexp_->CompileToProg(options_.max_mem()*2/3); in Init()
236 rprog_ = suffix_regexp_->CompileToReverseProg(options_.max_mem()/3); in ReverseProg()
Dre2.h602 int max_mem() const { return max_mem_; } in max_mem() function
/external/valgrind/include/vki/
Dvki-xen-domctl.h368 struct vki_xen_domctl_max_mem max_mem; member
/external/regex-re2/
Ducs2.diff170 if (max_mem <= 0) {
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-xen.c654 PRE_XEN_DOMCTL_READ(max_mem, max_memkb); in PRE()