Home
last modified time | relevance | path

Searched refs:GetOrDefault (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Dparsed_options_test.cc81 #define EXPECT_PARSED_EQ(expected, actual_key) EXPECT_EQ(expected, map.GetOrDefault(actual_key)) in TEST_F()
83 EXPECT_EQ(expected, static_cast<std::vector<std::string>>(map.GetOrDefault(actual_key))) in TEST_F()
93 EXPECT_DOUBLE_EQ(0.75, map.GetOrDefault(Opt::HeapTargetUtilization)); in TEST_F()
94 EXPECT_TRUE(test_vfprintf == map.GetOrDefault(Opt::HookVfprintf)); in TEST_F()
95 EXPECT_TRUE(test_exit == map.GetOrDefault(Opt::HookExit)); in TEST_F()
96 EXPECT_TRUE(test_abort == map.GetOrDefault(Opt::HookAbort)); in TEST_F()
110 auto&& properties_list = map.GetOrDefault(Opt::PropertiesList); in TEST_F()
129 XGcOption xgc = map.GetOrDefault(Opt::GcOption); in TEST_F()
146 XGcOption xgc = map.GetOrDefault(Opt::GcOption); in TEST_F()
159 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F()
[all …]
Druntime.cc1165 Thread::SetSensitiveThreadHook(runtime_options.GetOrDefault(Opt::HookIsSensitiveThread)); in Init()
1166 Monitor::Init(runtime_options.GetOrDefault(Opt::LockProfThreshold), in Init()
1167 runtime_options.GetOrDefault(Opt::StackDumpLockProfThreshold)); in Init()
1169 image_location_ = runtime_options.GetOrDefault(Opt::Image); in Init()
1175 SetInstructionSet(runtime_options.GetOrDefault(Opt::ImageInstructionSet)); in Init()
1216 compiler_callbacks_ = runtime_options.GetOrDefault(Opt::CompilerCallbacksPtr); in Init()
1217 must_relocate_ = runtime_options.GetOrDefault(Opt::Relocate); in Init()
1220 image_dex2oat_enabled_ = runtime_options.GetOrDefault(Opt::ImageDex2Oat); in Init()
1221 dump_native_stack_on_sig_quit_ = runtime_options.GetOrDefault(Opt::DumpNativeStackOnSigQuit); in Init()
1223 vfprintf_ = runtime_options.GetOrDefault(Opt::HookVfprintf); in Init()
[all …]
Dparsed_options.cc547 if (args.GetOrDefault(M::Interpret)) { in DoParse()
583 Trace::SetDefaultClockSource(args.GetOrDefault(M::ProfileClock)); in DoParse()
598 background_collector_type_ = args.GetOrDefault(M::BackgroundGc); in DoParse()
641 if (args.GetOrDefault(M::HeapGrowthLimit) <= 0u || in DoParse()
642 args.GetOrDefault(M::HeapGrowthLimit) > args.GetOrDefault(M::MemoryMaximumSize)) { in DoParse()
643 args.Set(M::HeapGrowthLimit, args.GetOrDefault(M::MemoryMaximumSize)); in DoParse()
Druntime_options.def29 // Default values are only used by Map::GetOrDefault(K<T>).
/art/libartbase/base/
Dvariant_map_test.cc174 TEST(VariantMaps, GetOrDefault) { in TEST() argument
178 int apple = fm.GetOrDefault(FruitMap::Apple); in TEST()
185 double orange = fm.GetOrDefault(FruitMap::Orange); in TEST()
Dvariant_map.h235 TValue GetOrDefault(const TKey<TValue>& key) const { in GetOrDefault() function
/art/runtime/jit/
Djit.cc86 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation); in CreateFromRuntimeArguments()
89 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity); in CreateFromRuntimeArguments()
91 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity); in CreateFromRuntimeArguments()
95 options.GetOrDefault(RuntimeArgumentMap::ProfileSaverOpts); in CreateFromRuntimeArguments()
97 options.GetOrDefault(RuntimeArgumentMap::JITPoolThreadPthreadPriority); in CreateFromRuntimeArguments()
/art/compiler/driver/
Dcompiler_options_map.def29 // Default values are only used by Map::GetOrDefault(K<T>).
Dcompiler_options_map-inl.h79 options->deduplicate_code_ = map.GetOrDefault(Base::DeduplicateCode); in ReadCompilerOptions()
/art/cmdline/
DREADME.md61 std::cout << "Help? " << map.GetOrDefault(FruitVariantMap::Help) << std::endl;
62 std::cout << "Apple? " << map.GetOrDefault(FruitVariantMap::Apple) << std::endl;
63 std::cout << "Orange? " << map.GetOrDefault(FruitVariantMap::Orange) << std::endl;
Dcmdline_parser_test.cc117 const T& actual = map.GetOrDefault(key); in IsExpectedDefaultKeyValue()
/art/dex2oat/
Ddex2oat_options.def29 // Default values are only used by Map::GetOrDefault(K<T>).
/art/runtime/jni/
Djava_vm_ext.cc491 trace_(runtime_options.GetOrDefault(RuntimeArgumentMap::JniTrace)), in JavaVMExt()
505 runtime_options.GetOrDefault(RuntimeArgumentMap::GlobalRefAllocStackTraceLimit)), in JavaVMExt()