Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dcompile.cc136 static Prog *Compile(Regexp* re, bool reversed, int64_t max_mem);
140 static Prog* CompileSet(Regexp* re, RE2::Anchor anchor, int64_t max_mem);
228 void Setup(Regexp::ParseFlags flags, int64_t max_mem, RE2::Anchor anchor);
1090 void Compiler::Setup(Regexp::ParseFlags flags, int64_t max_mem, in Setup() argument
1094 max_mem_ = max_mem; in Setup()
1095 if (max_mem <= 0) { in Setup()
1097 } else if (static_cast<size_t>(max_mem) <= sizeof(Prog)) { in Setup()
1101 int64_t m = (max_mem - sizeof(Prog)) / sizeof(Prog::Inst); in Setup()
1125 Prog* Compiler::Compile(Regexp* re, bool reversed, int64_t max_mem) { in Compile() argument
1127 c.Setup(re->parse_flags(), max_mem, RE2::UNANCHORED /* unused */); in Compile()
[all …]
Dregexp.h421 Prog* CompileToProg(int64_t max_mem);
422 Prog* CompileToReverseProg(int64_t max_mem);
Dset.cc100 prog_ = Prog::CompileSet(re, anchor_, options_.max_mem()); in Compile()
Dprog.h361 static Prog* CompileSet(Regexp* re, RE2::Anchor anchor, int64_t max_mem);
Ddfa.cc69 DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem);
423 DFA::DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem) in DFA() argument
429 mem_budget_(max_mem) { in DFA()
Dre2.cc221 prog_ = suffix_regexp_->CompileToProg(options_.max_mem()*2/3); in Init()
247 re->suffix_regexp_->CompileToReverseProg(re->options_.max_mem() / 3); in ReverseProg()
Dre2.h653 int64_t max_mem() const { return max_mem_; } in max_mem() function
/external/boringssl/src/crypto/evp/
Dscrypt_test.cc43 uint64_t N, r, p, max_mem = 0; in TEST() local
51 ASSERT_TRUE(GetUint64(t, &max_mem, "MaxMemory")); in TEST()
57 p, max_mem, result.data(), result.size())); in TEST()
Dscrypt.c148 uint64_t p, size_t max_mem, uint8_t *out_key, in EVP_PBE_scrypt() argument
163 if (max_mem == 0) { in EVP_PBE_scrypt()
164 max_mem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt()
167 size_t max_scrypt_blocks = max_mem / (2 * r * sizeof(block_t)); in EVP_PBE_scrypt()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dscrypt_test.cc43 uint64_t N, r, p, max_mem = 0; in TEST() local
51 ASSERT_TRUE(GetUint64(t, &max_mem, "MaxMemory")); in TEST()
57 p, max_mem, result.data(), result.size())); in TEST()
Dscrypt.c148 uint64_t p, size_t max_mem, uint8_t *out_key, in EVP_PBE_scrypt() argument
163 if (max_mem == 0) { in EVP_PBE_scrypt()
164 max_mem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt()
167 size_t max_scrypt_blocks = max_mem / (2 * r * sizeof(block_t)); in EVP_PBE_scrypt()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc270 const int32 max_mem = 1 << 27; in TEST_P() local
275 std::max<size_t>(rand.Rand32() % max_mem, 100), max_mem); in TEST_P()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Devp.h509 size_t max_mem, uint8_t *out_key,
/external/boringssl/src/include/openssl/
Devp.h511 size_t max_mem, uint8_t *out_key,
/external/rust/crates/grpcio-sys/grpc/third_party/re2/
Ducs2.diff170 if (max_mem <= 0) {
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi43429 …<var-decl name="max_mem" type-id="9c313c2d" visibility="default" filepath="drivers/gpu/drm/ttm/ttm…
43542 …<var-decl name="max_mem" type-id="9c313c2d" visibility="default" filepath="drivers/gpu/drm/ttm/ttm…
Dtest-PR27569-v0.abi43400 …<var-decl name="max_mem" type-id="9c313c2d" visibility="default" filepath="drivers/gpu/drm/ttm/ttm…
43513 …<var-decl name="max_mem" type-id="9c313c2d" visibility="default" filepath="drivers/gpu/drm/ttm/ttm…