Searched refs:GetOrDefault (Results 1 – 13 of 13) sorted by relevance
81 #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 …]
1165 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 …]
547 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()
29 // Default values are only used by Map::GetOrDefault(K<T>).
174 TEST(VariantMaps, GetOrDefault) { in TEST() argument178 int apple = fm.GetOrDefault(FruitMap::Apple); in TEST()185 double orange = fm.GetOrDefault(FruitMap::Orange); in TEST()
235 TValue GetOrDefault(const TKey<TValue>& key) const { in GetOrDefault() function
86 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()
79 options->deduplicate_code_ = map.GetOrDefault(Base::DeduplicateCode); in ReadCompilerOptions()
61 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;
117 const T& actual = map.GetOrDefault(key); in IsExpectedDefaultKeyValue()
491 trace_(runtime_options.GetOrDefault(RuntimeArgumentMap::JniTrace)), in JavaVMExt()505 runtime_options.GetOrDefault(RuntimeArgumentMap::GlobalRefAllocStackTraceLimit)), in JavaVMExt()