/external/libchrome/base/ |
D | cpu.cc | 62 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 67 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 68 "=d"(cpu_info[3]) in __cpuid() 74 void __cpuid(int cpu_info[4], int info_type) { 76 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), 77 "=d"(cpu_info[3]) 132 int cpu_info[4] = {-1}; in Initialize() local 137 char cpu_string[sizeof(cpu_info) * 3 + 1]; in Initialize() 146 __cpuid(cpu_info, 0); in Initialize() 147 int num_ids = cpu_info[0]; in Initialize() [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/libvpx/libvpx/third_party/libyuv/source/ |
D | cpu_id.cc | 49 void CpuId(int info_eax, int info_ecx, int* cpu_info) { in CpuId() argument 53 __cpuidex(cpu_info, info_eax, info_ecx); in CpuId() 58 mov edi, cpu_info in CpuId() 67 __cpuid(cpu_info, info_eax); in CpuId() 69 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0u; in CpuId() 87 cpu_info[0] = info_eax; in CpuId() 88 cpu_info[1] = info_ebx; in CpuId() 89 cpu_info[2] = info_ecx; in CpuId() 90 cpu_info[3] = info_edx; in CpuId() 95 void CpuId(int eax, int ecx, int* cpu_info) { in CpuId() argument [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() 342 int cpu_info[4]; in CPU() local 351 __cpuid(cpu_info, 0); in CPU() 352 unsigned num_ids = cpu_info[0]; in CPU() 353 std::swap(cpu_info[2], cpu_info[3]); in CPU() 354 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()
|
/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/tensorflow/tensorflow/tools/test/ |
D | system_info_lib.py | 45 config.cpu_info.CopyFrom(gather_cpu_info()) 78 cpu_info = test_log_pb2.CPUInfo() 79 cpu_info.num_cores = multiprocessing.cpu_count() 86 cpu_info.num_cores_allowed = ( 91 if cpu_info.num_cores_allowed == 0: 92 cpu_info.num_cores_allowed = cpu_info.num_cores 96 cpu_info.cpu_info = info['brand'] 97 cpu_info.num_cores = info['count'] 98 cpu_info.mhz_per_cpu = info['hz_advertised_raw'][0] / 1.0e6 102 cpu_info.cache_size['L2'] = int(l2_cache_size.group(0)) * 1024 [all …]
|
/external/libaom/libaom/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/u-boot/arch/arm/mach-rmobile/ |
D | Makefile | 6 obj-y = cpu_info.o 12 obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o 13 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o 14 obj-$(CONFIG_RCAR_GEN2) += lowlevel_init_ca15.o cpu_info-rcar.o 15 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | cpu_id.h | 63 int cpu_info = __atomic_load_n(&cpu_info_, __ATOMIC_RELAXED); in TestCpuFlag() local 65 int cpu_info = cpu_info_; in TestCpuFlag() local 67 return (!cpu_info ? InitCpuFlags() : cpu_info) & test_flag; in TestCpuFlag() 112 void CpuId(int info_eax, int info_ecx, int* cpu_info);
|
/external/autotest/client/cros/video/detectors/ |
D | intel_cpu.py | 52 for cpu_info in lscpu_result.splitlines(): 53 logging.debug(cpu_info) 54 if not ':' in cpu_info: 56 key, value = cpu_info.split(':', 1)
|
/external/autotest/client/site_tests/crosvm_Sanity/ |
D | crosvm_Sanity.py | 73 for cpu_info in utils.get_cpuinfo(): 74 if self.cpu_arch not in cpu_info['model name']: 76 self.cpu_arch, cpu_info['model name']) 78 flags = sorted(cpu_info['flags'].split(' '))
|
/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 …]
|
/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/u-boot/include/ |
D | cpu.h | 43 struct cpu_info { struct 66 int (*get_info)(struct udevice *dev, struct cpu_info *info); argument 106 int cpu_get_info(struct udevice *dev, struct cpu_info *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/tensorflow/tensorflow/core/platform/ |
D | cpu_info.cc | 30 int cpu_info[4] = {-1}; \ 31 __cpuidex(cpu_info, a_inp, c_inp); \ 32 a = cpu_info[0]; \ 33 b = cpu_info[1]; \ 34 c = cpu_info[2]; \ 35 d = cpu_info[3]; \
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 141 struct cpu_info { struct 149 struct cpu_info *info = gr->query_data; in query_cpu_load() argument 186 struct cpu_info *info; in hud_cpu_graph_install() 203 gr->query_data = CALLOC_STRUCT(cpu_info); in hud_cpu_graph_install()
|
/external/google-benchmark/src/ |
D | reporter.cc | 44 const CPUInfo &info = context.cpu_info; in PrintBasicContext() 83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
|