Searched refs:max_mem (Results 1 - 12 of 12) sorted by relevance

/external/boringssl/src/crypto/evp/
H A Dscrypt_test.cc43 uint64_t N, r, p, max_mem = 0;
51 ASSERT_TRUE(GetUint64(t, &max_mem, "MaxMemory"));
57 p, max_mem, result.data(), result.size()));
71 1 /* p */, 0 /* max_mem */, key, sizeof(key)));
82 1 /* p */, 0 /* max_mem */, key, sizeof(key)));
84 0 /* p */, 0 /* max_mem */, key, sizeof(key)));
88 1 /* p */, 0 /* max_mem */, key, sizeof(key)));
90 1 /* p */, 0 /* max_mem */, key, sizeof(key)));
92 1 /* p */, 0 /* max_mem */, key, sizeof(key)));
94 1 /* p */, 0 /* max_mem */, ke
[all...]
H A Dscrypt.c148 uint64_t p, size_t max_mem, uint8_t *out_key,
163 if (max_mem == 0) {
164 max_mem = SCRYPT_MAX_MEM;
167 size_t max_scrypt_blocks = max_mem / (2 * r * sizeof(block_t));
174 /* Allocate and divide up the scratch space. |max_mem| fits in a size_t, which
146 EVP_PBE_scrypt(const char *password, size_t password_len, const uint8_t *salt, size_t salt_len, uint64_t N, uint64_t r, uint64_t p, size_t max_mem, uint8_t *out_key, size_t key_len) argument
/external/regex-re2/re2/
H A Dcompile.cc131 static Prog *Compile(Regexp* re, bool reversed, int64 max_mem);
951 void Compiler::Setup(Regexp::ParseFlags flags, int64 max_mem, argument
957 max_mem_ = max_mem;
958 if (max_mem <= 0) {
960 } else if (max_mem <= sizeof(Prog)) {
964 int64 m = (max_mem - sizeof(Prog)) / sizeof(Prog::Inst);
991 Prog* Compiler::Compile(Regexp* re, bool reversed, int64 max_mem) { argument
994 c.Setup(re->parse_flags(), max_mem, RE2::ANCHOR_BOTH /* unused */);
1079 Prog* Regexp::CompileToProg(int64 max_mem) { argument
1080 return Compiler::Compile(this, false, max_mem);
1083 CompileToReverseProg(int64 max_mem) argument
[all...]
H A Dregexp.h411 // stay within approximately max_mem bytes of memory.
412 // If max_mem <= 0, a reasonable default is used.
413 Prog* CompileToProg(int64 max_mem);
414 Prog* CompileToReverseProg(int64 max_mem);
H A Ddfa.cc57 DFA(Prog* prog, Prog::MatchKind kind, int64 max_mem);
434 DFA::DFA(Prog* prog, Prog::MatchKind kind, int64 max_mem) argument
441 mem_budget_(max_mem),
460 prog_->size(), max_mem);
475 prog_->size(), max_mem);
H A Dre2.h512 // max_mem (see below) approx. max memory footprint of RE2
526 // The max_mem option controls how much memory can be used
602 int max_mem() const { return max_mem_; } function in class:re2::RE2::Options
H A Dre2.cc215 prog_ = suffix_regexp_->CompileToProg(options_.max_mem()*2/3);
236 rprog_ = suffix_regexp_->CompileToReverseProg(options_.max_mem()/3);
/external/libchrome/base/process/
H A Dprocess_metrics_mac.cc382 meminfo->total = static_cast<int>(hostinfo.max_mem / 1024);
/external/boringssl/include/openssl/
H A Devp.h441 * cost of the operation. If the memory required exceeds |max_mem|, the
442 * operation will fail instead. If |max_mem| is zero, a defult limit of 32MiB
447 size_t max_mem, uint8_t *out_key,
/external/boringssl/src/include/openssl/
H A Devp.h441 * cost of the operation. If the memory required exceeds |max_mem|, the
442 * operation will fail instead. If |max_mem| is zero, a defult limit of 32MiB
447 size_t max_mem, uint8_t *out_key,
/external/valgrind/include/vki/
H A Dvki-xen-domctl.h596 struct vki_xen_domctl_max_mem max_mem; member in union:vki_xen_domctl::__anon25146
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-xen.c809 PRE_XEN_DOMCTL_READ(max_mem, max_memkb);

Completed in 314 milliseconds