/external/libchrome/base/ |
D | cpu.cc | 61 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 66 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid() 73 void __cpuid(int cpu_info[4], int info_type) { 76 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) 143 int cpu_info[4] = {-1}; in Initialize() local 153 __cpuid(cpu_info, 0); in Initialize() 154 int num_ids = cpu_info[0]; in Initialize() 155 std::swap(cpu_info[2], cpu_info[3]); in Initialize() 156 memcpy(cpu_string, &cpu_info[1], 3 * sizeof(cpu_info[1])); in Initialize() 157 cpu_vendor_.assign(cpu_string, 3 * sizeof(cpu_info[1])); in Initialize() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | cpu_id.cc | 51 void CpuId(uint32 info_eax, uint32 info_ecx, uint32* cpu_info) { in CpuId() argument 55 __cpuidex((int*)(cpu_info), info_eax, info_ecx); in CpuId() 60 mov edi, cpu_info in CpuId() 69 __cpuid((int*)(cpu_info), info_eax); in CpuId() 71 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0; in CpuId() 89 cpu_info[0] = info_eax; in CpuId() 90 cpu_info[1] = info_ebx; in CpuId() 91 cpu_info[2] = info_ecx; in CpuId() 92 cpu_info[3] = info_edx; in CpuId() 97 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info) { [all …]
|
/external/libyuv/files/source/ |
D | cpu_id.cc | 51 void CpuId(uint32 info_eax, uint32 info_ecx, uint32* cpu_info) { in CpuId() argument 55 __cpuidex((int*)(cpu_info), info_eax, info_ecx); in CpuId() 60 mov edi, cpu_info in CpuId() 69 __cpuid((int*)(cpu_info), info_eax); in CpuId() 71 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0u; in CpuId() 89 cpu_info[0] = info_eax; in CpuId() 90 cpu_info[1] = info_ebx; in CpuId() 91 cpu_info[2] = info_ecx; in CpuId() 92 cpu_info[3] = info_edx; in CpuId() 97 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info) { [all …]
|
/external/v8/src/base/ |
D | cpu.cc | 55 static V8_INLINE void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 65 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 66 "=d"(cpu_info[3]) in __cpuid() 70 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 71 "=d"(cpu_info[3]) in __cpuid() 346 int cpu_info[4]; in CPU() local 355 __cpuid(cpu_info, 0); in CPU() 356 unsigned num_ids = cpu_info[0]; in CPU() 357 std::swap(cpu_info[2], cpu_info[3]); in CPU() 358 memcpy(vendor_, cpu_info + 1, 12); in CPU() [all …]
|
/external/webp/src/dsp/ |
D | cpu.c | 31 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 36 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 42 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 47 : "=a"(cpu_info[0]), "=&r"(cpu_info[1]), "=c"(cpu_info[2]), in GetCPUInfo() 48 "=d"(cpu_info[3]) in GetCPUInfo() 52 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 55 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 121 int cpu_info[4]; in x86CPUInfo() local 125 GetCPUInfo(cpu_info, 0); in x86CPUInfo() 126 max_cpuid_value = cpu_info[0]; in x86CPUInfo() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | cpu_features.cc | 31 static inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 36 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid() 40 static inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 43 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid() 53 int cpu_info[4]; in GetCPUInfo() local 54 __cpuid(cpu_info, 1); in GetCPUInfo() 56 return 0 != (cpu_info[3] & 0x04000000); in GetCPUInfo() 59 return 0 != (cpu_info[2] & 0x00000001); in GetCPUInfo()
|
D | Android.mk | 27 cpu_info.cc \
|
/external/libyuv/files/unit_test/ |
D | cpu_test.cc | 86 uint32 cpu_info[4]; in TEST_F() local 98 CpuId(0, 0, cpu_info); in TEST_F() 99 cpu_info[0] = cpu_info[1]; // Reorder output in TEST_F() 100 cpu_info[1] = cpu_info[3]; in TEST_F() 101 cpu_info[3] = 0; in TEST_F() 102 printf("Cpu Vendor: %s %x %x %x\n", reinterpret_cast<char*>(&cpu_info[0]), in TEST_F() 103 cpu_info[0], cpu_info[1], cpu_info[2]); in TEST_F() 104 EXPECT_EQ(12u, strlen(reinterpret_cast<char*>(&cpu_info[0]))); in TEST_F() 113 CpuId(1, 0, cpu_info); in TEST_F() 114 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in TEST_F() [all …]
|
D | unit_test.cc | 86 const char* cpu_info = getenv("LIBYUV_CPU_INFO"); in LibYUVConvertTest() local 87 if (cpu_info) { in LibYUVConvertTest() 145 const char* cpu_info = getenv("LIBYUV_CPU_INFO"); in LibYUVColorTest() local 146 if (cpu_info) { in LibYUVColorTest() 204 const char* cpu_info = getenv("LIBYUV_CPU_INFO"); in LibYUVScaleTest() local 205 if (cpu_info) { in LibYUVScaleTest() 263 const char* cpu_info = getenv("LIBYUV_CPU_INFO"); in LibYUVRotateTest() local 264 if (cpu_info) { in LibYUVRotateTest() 322 const char* cpu_info = getenv("LIBYUV_CPU_INFO"); in LibYUVPlanarTest() local 323 if (cpu_info) { in LibYUVPlanarTest() [all …]
|
/external/webrtc/webrtc/base/ |
D | systeminfo.cc | 41 static inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 46 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid() 51 static inline void __cpuid(int cpu_info[4], int info_type) { 54 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) 148 int cpu_info[4]; in GetCpuVendor() local 149 __cpuid(cpu_info, 0); in GetCpuVendor() 150 cpu_info[0] = cpu_info[1]; // Reorder output in GetCpuVendor() 151 cpu_info[1] = cpu_info[3]; in GetCpuVendor() 153 cpu_info[3] = 0; in GetCpuVendor() 154 return std::string(reinterpret_cast<char*>(&cpu_info[0])); in GetCpuVendor()
|
/external/libyuv/files/util/ |
D | cpuid.c | 28 uint32 family, model, cpu_info[4]; in main() local 40 CpuId(0, 0, &cpu_info[0]); in main() 41 cpu_info[0] = cpu_info[1]; // Reorder output in main() 42 cpu_info[1] = cpu_info[3]; in main() 43 cpu_info[3] = 0; in main() 44 printf("Cpu Vendor: %s\n", (char*)(&cpu_info[0])); in main() 53 CpuId(1, 0, &cpu_info[0]); in main() 54 family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in main() 55 model = ((cpu_info[0] >> 4) & 0x0f) | ((cpu_info[0] >> 12) & 0xf0); in main()
|
D | psnr.cc | 199 static __inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 204 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 205 "=d"(cpu_info[3]) in __cpuid() 210 static __inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 213 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 214 "=d"(cpu_info[3]) in __cpuid() 221 int cpu_info[4]; in CpuHasSSE2() local 222 __cpuid(cpu_info, 1); in CpuHasSSE2() 223 if (cpu_info[3] & 0x04000000) { in CpuHasSSE2()
|
/external/webrtc/talk/media/base/ |
D | cpuid.cc | 46 uint32_t cpu_info[4]; in IsCoreIOrBetter() local 47 libyuv::CpuId(0, 0, &cpu_info[0]); // Function 0: Vendor ID in IsCoreIOrBetter() 48 if (cpu_info[1] == 0x756e6547 && cpu_info[3] == 0x49656e69 && in IsCoreIOrBetter() 49 cpu_info[2] == 0x6c65746e) { // GenuineIntel in IsCoreIOrBetter() 57 libyuv::CpuId(1, 0, &cpu_info[0]); // Function 1: Family and Model in IsCoreIOrBetter() 58 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in IsCoreIOrBetter() 59 int model = ((cpu_info[0] >> 4) & 0x0f) | ((cpu_info[0] >> 12) & 0xf0); in IsCoreIOrBetter()
|
/external/google-breakpad/src/google_breakpad/processor/ |
D | system_info.h | 46 SystemInfo() : os(), os_short(), os_version(), cpu(), cpu_info(), in SystemInfo() 55 cpu_info.clear(); in Clear() 89 string cpu_info; member
|
/external/google-breakpad/src/processor/ |
D | minidump_processor.cc | 337 string* cpu_info) { in GetARMCpuInfo() argument 338 assert(raw_info != NULL && cpu_info != NULL); in GetARMCpuInfo() 344 cpu_info->append(cpu_string); in GetARMCpuInfo() 416 cpu_info->append(" "); in GetARMCpuInfo() 418 cpu_info->append(vendor); in GetARMCpuInfo() 421 cpu_info->append(cpu_string); in GetARMCpuInfo() 433 cpu_info->append(" "); in GetARMCpuInfo() 435 cpu_info->append(part); in GetARMCpuInfo() 438 cpu_info->append(cpu_string); in GetARMCpuInfo() 443 cpu_info->append(" features: "); in GetARMCpuInfo() [all …]
|
D | stackwalk_common.cc | 792 string cpu_info = process_state.system_info()->cpu_info; in PrintProcessState() local 797 if (!cpu_info.empty()) { in PrintProcessState() 799 printf(" %s\n", cpu_info.c_str()); in PrintProcessState() 876 StripSeparator(process_state.system_info()->cpu_info).c_str(), in PrintProcessStateMachineReadable()
|
/external/libmojo/third_party/catapult/devil/devil/android/perf/ |
D | perf_control_devicetest.py | 30 cpu_info = perf.GetCpuInfo() 31 self.assertEquals(len(perf._cpu_files), len(cpu_info)) 32 for _, online, governor in cpu_info:
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | perf_control_devicetest.py | 29 cpu_info = perf.GetCpuInfo() 30 self.assertEquals(len(perf._cpu_files), len(cpu_info)) 31 for _, online, governor in cpu_info:
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 139 struct cpu_info { struct 147 struct cpu_info *info = gr->query_data; in query_cpu_load() argument 183 struct cpu_info *info; in hud_cpu_graph_install() 200 gr->query_data = CALLOC_STRUCT(cpu_info); in hud_cpu_graph_install()
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | cpu_id.h | 73 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info);
|
/external/libyuv/files/include/libyuv/ |
D | cpu_id.h | 76 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info);
|
/external/webrtc/webrtc/system_wrappers/ |
D | BUILD.gn | 20 "include/cpu_info.h", 56 "source/cpu_info.cc",
|
D | system_wrappers.gyp | 25 'include/cpu_info.h', 64 'source/cpu_info.cc',
|
/external/pcre/dist2/src/ |
D | pcre2_jit_test.c | 1144 PCRE2_UCHAR8 cpu_info[128]; in regression_tests() local 1146 PCRE2_UCHAR16 cpu_info[128]; in regression_tests() local 1148 PCRE2_UCHAR32 cpu_info[128]; in regression_tests() local 1159 pcre2_config_8(PCRE2_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1161 pcre2_config_16(PCRE2_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1163 pcre2_config_32(PCRE2_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1168 for (i = 0; cpu_info[i]; i++) in regression_tests() 1169 printf("%c", (char)(cpu_info[i])); in regression_tests()
|
/external/autotest/server/cros/network/ |
D | wifi_client.py | 198 cpu_info = self.host.run('cat /proc/cpuinfo').stdout.splitlines() 200 cpu_info)) 206 for line in cpu_info:
|