/external/angle/src/feature_support_util/ |
D | feature_support_util_unittest.cpp | 68 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 69 systemInfo.machineManufacturer = "BAD"; in TEST_F() 70 systemInfo.machineModelName = "BAD"; in TEST_F() 72 ANGLEAddDeviceInfoToSystemInfo(kMfr, kModel, &systemInfo); in TEST_F() 73 EXPECT_EQ(kMfr, systemInfo.machineManufacturer); in TEST_F() 74 EXPECT_EQ(kModel, systemInfo.machineModelName); in TEST_F() 100 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 150 EXPECT_FALSE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() 153 systemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 5}; in TEST_F() 154 EXPECT_TRUE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() [all …]
|
D | feature_support_util.cpp | 850 angle::SystemInfo *systemInfo = new angle::SystemInfo; in ANGLEGetSystemInfo() local 851 systemInfo->gpus.resize(1); in ANGLEGetSystemInfo() 852 GPUDeviceInfo &gpu = systemInfo->gpus[0]; in ANGLEGetSystemInfo() 858 *systemInfoHandle = systemInfo; in ANGLEGetSystemInfo() 867 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEAddDeviceInfoToSystemInfo() local 868 if (!deviceMfr || !deviceModel || !systemInfo) in ANGLEAddDeviceInfoToSystemInfo() 873 systemInfo->machineManufacturer = deviceMfr; in ANGLEAddDeviceInfoToSystemInfo() 874 systemInfo->machineModelName = deviceModel; in ANGLEAddDeviceInfoToSystemInfo() 885 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEShouldBeUsedForApplication() local 886 if (!rules || !systemInfo || !appName || (systemInfo->gpus.size() != 1)) in ANGLEShouldBeUsedForApplication() [all …]
|
/external/angle/src/tests/test_utils/ |
D | angle_test_instantiate.cpp | 87 SystemInfo *systemInfo = GetTestSystemInfo(); in IsAndroidDevice() local 88 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice() 97 SystemInfo *systemInfo = GetTestSystemInfo(); in HasSystemVendorID() local 99 if (systemInfo->gpus.empty()) in HasSystemVendorID() 103 return systemInfo->gpus[systemInfo->activeGPUIndex].vendorId == vendorID; in HasSystemVendorID() 291 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters ¶m) in IsConfigWhitelisted() argument 294 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigWhitelisted() 460 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].deviceId; in IsConfigWhitelisted() 596 const SystemInfo *systemInfo = GetTestSystemInfo(); in IsPlatformAvailable() local 598 if (systemInfo) in IsPlatformAvailable() [all …]
|
D | ANGLETest.cpp | 173 SystemInfo *systemInfo = GetTestSystemInfo(); in ShouldAlwaysForceNewDisplay() local 174 return (!systemInfo || !IsWindows() || systemInfo->hasAMDGPU()); in ShouldAlwaysForceNewDisplay()
|
D | angle_test_instantiate.h | 222 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters ¶m);
|
/external/walt/ios/WALT/ |
D | WALTAppDelegate.m | 32 struct utsname systemInfo; 33 if (uname(&systemInfo) != 0) { 42 systemInfo.machine, 43 systemInfo.sysname, 44 systemInfo.release, 45 systemInfo.nodename, 46 systemInfo.version];
|
/external/angle/src/tests/test_expectations/ |
D | GPUTestConfig.cpp | 348 SystemInfo *systemInfo = nullptr; in GetActiveGPU() local 349 GetGPUTestSystemInfo(&systemInfo); in GetActiveGPU() 350 if (systemInfo->gpus.size() <= 0) in GetActiveGPU() 354 uint32_t index = systemInfo->activeGPUIndex; in GetActiveGPU() 355 ASSERT(index < systemInfo->gpus.size()); in GetActiveGPU() 356 *devInfo = &(systemInfo->gpus[index]); in GetActiveGPU() 437 SystemInfo *systemInfo = nullptr; in IsAndroidDevice() local 438 GetGPUTestSystemInfo(&systemInfo); in IsAndroidDevice() 439 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice()
|
/external/angle/src/tests/egl_tests/ |
D | EGLSanityCheckTest.cpp | 52 SystemInfo systemInfo; in TEST_P() local 53 ANGLE_SKIP_TEST_IF(!GetSystemInfo(&systemInfo)); in TEST_P() 55 auto check = [&systemInfo](const PlatformParameters ¶ms) { in TEST_P() 56 EXPECT_EQ(IsConfigWhitelisted(systemInfo, params), IsConfigSupported(params)) << params; in TEST_P()
|
/external/lzma/CPP/Windows/ |
D | System.cpp | 47 SYSTEM_INFO systemInfo; in GetNumberOfProcessors() local 48 GetSystemInfo(&systemInfo); in GetNumberOfProcessors() 50 return (UInt32)systemInfo.dwNumberOfProcessors; in GetNumberOfProcessors()
|
/external/angle/src/tests/gl_tests/ |
D | DrawBaseVertexBaseInstanceTest.cpp | 543 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local 544 if (!systemInfo->gpus.empty()) in TEST_P() 546 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P() 579 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local 580 if (!(systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty())) in TEST_P() 582 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()
|
/external/swiftshader/src/System/ |
D | Memory.cpp | 99 SYSTEM_INFO systemInfo; in memoryPageSize() local 100 GetSystemInfo(&systemInfo); in memoryPageSize() 101 pageSize = systemInfo.dwPageSize; in memoryPageSize()
|
/external/swiftshader/src/Common/ |
D | Memory.cpp | 97 SYSTEM_INFO systemInfo; in memoryPageSize() local 98 GetSystemInfo(&systemInfo); in memoryPageSize() 99 pageSize = systemInfo.dwPageSize; in memoryPageSize()
|
/external/swiftshader/third_party/marl/src/ |
D | memory.cpp | 101 SYSTEM_INFO systemInfo = {}; in pageSize() local 102 GetSystemInfo(&systemInfo); in pageSize() 103 return systemInfo.dwPageSize; in pageSize()
|
/external/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 207 SYSTEM_INFO systemInfo; in memoryPageSize() local 208 GetSystemInfo(&systemInfo); in memoryPageSize() 209 pageSize = systemInfo.dwPageSize; in memoryPageSize()
|