Searched refs:g_fake_cpu (Results 1 – 1 of 1) sorted by relevance
82 FakeCpu* g_fake_cpu = nullptr; variable85 return g_fake_cpu->GetCpuidLeaf(leaf_id, ecx); in GetCpuidLeaf()88 extern "C" uint32_t GetXCR0Eax(void) { return g_fake_cpu->GetXCR0Eax(); } in GetXCR0Eax()92 return g_fake_cpu->GetDarwinSysCtlByName(name); in GetDarwinSysCtlByName()98 return g_fake_cpu->GetWindowsIsProcessorFeaturePresent(ProcessorFeature); in GetWindowsIsProcessorFeaturePresent()106 void SetUp() override { g_fake_cpu = new FakeCpu(); } in SetUp()107 void TearDown() override { delete g_fake_cpu; } in TearDown()111 g_fake_cpu->SetOsBackupsExtendedRegisters(true); in TEST_F()112 g_fake_cpu->SetLeaves({ in TEST_F()157 g_fake_cpu->SetLeaves({ in TEST_F()[all …]