Home
last modified time | relevance | path

Searched refs:max_mem (Results 1 – 25 of 25) 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.c145 uint64_t p, size_t max_mem, uint8_t *out_key, in EVP_PBE_scrypt() argument
160 if (max_mem == 0) { in EVP_PBE_scrypt()
161 max_mem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt()
164 size_t max_scrypt_blocks = max_mem / (2 * r * sizeof(block_t)); in EVP_PBE_scrypt()
/external/cronet/third_party/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.c145 uint64_t p, size_t max_mem, uint8_t *out_key, in EVP_PBE_scrypt() argument
160 if (max_mem == 0) { in EVP_PBE_scrypt()
161 max_mem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt()
164 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/AFLplusplus/utils/libdislocator/
Dlibdislocator.so.c152 static size_t max_mem = MAX_ALLOC; /* Max heap usage to permit */ variable
178 if (total_mem + len > max_mem || total_mem + len < total_mem) { in __dislocator_alloc()
180 if (hard_fail) FATAL("total allocs exceed %zu MB", max_mem / 1024 / 1024); in __dislocator_alloc()
182 DEBUGF("total allocs exceed %zu MB, returning NULL", max_mem / 1024 / 1024); in __dislocator_alloc()
530 max_mem = mmem * 1024 * 1024;
/external/cronet/base/process/
Dprocess_metrics_ios.cc83 meminfo->total = static_cast<int>(hostinfo.max_mem / 1024); in GetSystemMemoryInfo()
Dprocess_metrics_mac.cc288 meminfo->total = static_cast<int>(hostinfo.max_mem / 1024); in GetSystemMemoryInfo()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc269 const int32_t max_mem = 1 << 27; in TEST_P() local
274 std::max<size_t>(rand.Rand32() % max_mem, 100), max_mem); in TEST_P()
/external/cronet/base/system/
Dsys_info_mac.mm114 return hostinfo.max_mem;
Dsys_info_ios.mm121 return hostinfo.max_mem;
/external/boringssl/src/include/openssl/
Devp.h513 size_t max_mem, uint8_t *out_key,
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Devp.h512 size_t max_mem, uint8_t *out_key,
/external/cronet/third_party/boringssl/src/include/openssl/
Devp.h513 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…