/external/libchrome/base/ |
D | cpu.cc | 64 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 69 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid() 76 void __cpuid(int cpu_info[4], int info_type) { 79 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) 200 int cpu_info[4] = {-1}; in Initialize() local 210 __cpuid(cpu_info, 0); in Initialize() 211 int num_ids = cpu_info[0]; in Initialize() 212 std::swap(cpu_info[2], cpu_info[3]); in Initialize() 213 memcpy(cpu_string, &cpu_info[1], 3 * sizeof(cpu_info[1])); in Initialize() 214 cpu_vendor_.assign(cpu_string, 3 * sizeof(cpu_info[1])); in Initialize() [all …]
|
/external/v8/src/base/ |
D | cpu.cc | 54 static V8_INLINE void __cpuid(int cpu_info[4], int info_type) { 64 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), 65 "=d"(cpu_info[3]) 69 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), 70 "=d"(cpu_info[3]) 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 | 26 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 31 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 37 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 42 : "=a"(cpu_info[0]), "=&r"(cpu_info[1]), "=c"(cpu_info[2]), in GetCPUInfo() 43 "=d"(cpu_info[3]) in GetCPUInfo() 47 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 50 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 95 int cpu_info[4]; in x86CPUInfo() local 98 GetCPUInfo(cpu_info, 0); in x86CPUInfo() 99 max_cpuid_value = cpu_info[0]; in x86CPUInfo() [all …]
|
/external/libyuv/files/source/ |
D | cpu_id.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() 57 void CpuId(int cpu_info[4], int info_type) { in CpuId() 58 __cpuid(cpu_info, info_type); in CpuId() 62 void CpuId(int cpu_info[4], int) { 63 cpu_info[0] = cpu_info[1] = cpu_info[2] = cpu_info[3] = 0; 142 int cpu_info[4]; in InitCpuFlags() local 143 __cpuid(cpu_info, 1); in InitCpuFlags() [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 | 49 int cpu_info[4]; in TEST_F() local 61 CpuId(cpu_info, 0); in TEST_F() 62 cpu_info[0] = cpu_info[1]; // Reorder output in TEST_F() 63 cpu_info[1] = cpu_info[3]; in TEST_F() 64 cpu_info[3] = 0; in TEST_F() 65 printf("Cpu Vendor: %s %x %x %x\n", reinterpret_cast<char*>(&cpu_info[0]), in TEST_F() 66 cpu_info[0], cpu_info[1], cpu_info[2]); in TEST_F() 67 EXPECT_EQ(12, strlen(reinterpret_cast<char*>(&cpu_info[0]))); in TEST_F() 76 CpuId(cpu_info, 1); in TEST_F() 77 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in TEST_F() [all …]
|
/external/opencv3/3rdparty/libwebp/dsp/ |
D | cpu.c | 30 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 35 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 39 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { 42 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) 51 int cpu_info[4]; in x86CPUInfo() local 52 GetCPUInfo(cpu_info, 1); in x86CPUInfo() 54 return 0 != (cpu_info[3] & 0x04000000); in x86CPUInfo() 57 return 0 != (cpu_info[2] & 0x00000001); in x86CPUInfo()
|
/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/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/libvpx/libvpx/third_party/libyuv/source/ |
D | cpu_id.cc | 50 void CpuId(uint32 info_eax, uint32 info_ecx, uint32* cpu_info) { in CpuId() argument 54 __cpuidex((int*)(cpu_info), info_eax, info_ecx); in CpuId() 59 mov edi, cpu_info in CpuId() 68 __cpuid((int*)(cpu_info), info_eax); in CpuId() 70 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0; in CpuId() 88 cpu_info[0] = info_eax; in CpuId() 89 cpu_info[1] = info_ebx; in CpuId() 90 cpu_info[2] = info_ecx; in CpuId() 91 cpu_info[3] = info_edx; in CpuId() 96 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info) { [all …]
|
/external/opencv/cxcore/src/ |
D | cxswitcher.cpp | 107 icvInitProcessorInfo( CvProcessorInfo* cpu_info ) in icvInitProcessorInfo() argument 109 memset( cpu_info, 0, sizeof(*cpu_info) ); in icvInitProcessorInfo() 110 cpu_info->model = CV_PROC_GENERIC; in icvInitProcessorInfo() 134 cpu_info->count = (int)sys.dwNumberOfProcessors; in icvInitProcessorInfo() 141 cpu_info->frequency = (double)val; in icvInitProcessorInfo() 199 cpu_info->model = id == ICV_CPUID_W7 ? CV_PROC_IA32_WITH_SSE2 : in icvInitProcessorInfo() 208 cpu_info->model = CV_PROC_EM64T; in icvInitProcessorInfo() 211 cpu_info->model = CV_PROC_IA64; in icvInitProcessorInfo() 214 cpu_info->frequency = (double)freq.QuadPart; in icvInitProcessorInfo() 217 cpu_info->frequency = 1; in icvInitProcessorInfo() [all …]
|
/external/skia/src/opts/ |
D | opts_check_x86.cpp | 75 int cpu_info[4] = { 0, 0, 0, 0 }; in get_SIMD_level() local 76 getcpuid(1, cpu_info); in get_SIMD_level() 80 if ((cpu_info[2] & (1<<20)) != 0) { in get_SIMD_level() 82 } else if ((cpu_info[2] & (1<<19)) != 0) { in get_SIMD_level() 84 } else if ((cpu_info[2] & (1<<9)) != 0) { in get_SIMD_level() 86 } else if ((cpu_info[3] & (1<<26)) != 0) { in get_SIMD_level()
|
/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()
|
D | minidump_processor_unittest.cc | 224 ASSERT_EQ_ABORT(system_info->cpu_info, kSystemInfoCPUInfo); in GetSymbolFile() 412 ASSERT_EQ(state.system_info()->cpu_info, kSystemInfoCPUInfo); in TEST_F()
|
/external/chromium-trace/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/libyuv/files/include/libyuv/ |
D | cpu_id.h | 63 void CpuId(int cpu_info[4], int info_type);
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | cpu_id.h | 74 void CpuId(uint32 eax, uint32 ecx, uint32* cpu_info);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | win_platform_backend.py | 147 cpu_info = self._GetWin32ProcessInfo(win32process.GetProcessTimes, pid) 149 cpu_time = (cpu_info['UserTime'] / 1e7 + 150 cpu_info['KernelTime'] / 1e7)
|
/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/autotest/server/cros/network/ |
D | wifi_client.py | 161 cpu_info = self.host.run('cat /proc/cpuinfo').stdout.splitlines() 163 cpu_info)) 169 for line in cpu_info:
|
/external/pcre/dist/ |
D | pcre_jit_test.c | 1128 char *cpu_info; in regression_tests() local 1173 pcre_config(PCRE_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1175 pcre16_config(PCRE_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1177 pcre32_config(PCRE_CONFIG_JITTARGET, &cpu_info); in regression_tests() 1181 printf(" target CPU of SLJIT compiler: %s\n", cpu_info); in regression_tests()
|