/external/cpuinfo/src/x86/ |
D | init.c | 68 struct cpuid_regs brand_string[3]; in cpuinfo_x86_init_processor() local 70 brand_string[i] = cpuid(UINT32_C(0x80000002) + i); in cpuinfo_x86_init_processor() 72 memcpy(processor->brand_string, brand_string, sizeof(processor->brand_string)); in cpuinfo_x86_init_processor() 73 cpuinfo_log_debug("raw CPUID brand string: \"%48s\"", processor->brand_string); in cpuinfo_x86_init_processor()
|
D | api.h | 81 char brand_string[CPUINFO_PACKAGE_NAME_MAX]; member
|
/external/cpu_features/test/ |
D | cpuinfo_x86_test.cc | 196 char brand_string[49]; in TEST_F() local 197 FillX86BrandString(brand_string); in TEST_F() 198 EXPECT_STREQ(brand_string, "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz"); in TEST_F() 321 char brand_string[49]; in TEST_F() local 322 FillX86BrandString(brand_string); in TEST_F() 323 EXPECT_STREQ(brand_string, "AMD A8-7670K Radeon R7, 10 Compute Cores 4C+6G "); in TEST_F() 387 char brand_string[49]; in TEST_F() local 388 FillX86BrandString(brand_string); in TEST_F() 389 EXPECT_STREQ(brand_string, "Genuine Intel(R) CPU @ 0000 @ 1.87GHz"); in TEST_F() 464 char brand_string[49]; in TEST_F() local [all …]
|
/external/cpuinfo/tools/ |
D | cpuid-dump.c | 32 char brand_string[16]; in print_cpuid_brand_string() local 33 memcpy(&brand_string[0], ®s.eax, sizeof(regs.eax)); in print_cpuid_brand_string() 34 memcpy(&brand_string[4], ®s.ebx, sizeof(regs.ebx)); in print_cpuid_brand_string() 35 memcpy(&brand_string[8], ®s.ecx, sizeof(regs.ecx)); in print_cpuid_brand_string() 36 memcpy(&brand_string[12], ®s.edx, sizeof(regs.edx)); in print_cpuid_brand_string() 38 eax, regs.eax, regs.ebx, regs.ecx, regs.edx, brand_string); in print_cpuid_brand_string()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 101 char brand_string[49]; in BrandString() local 112 memcpy(brand_string + i * 16, &abcd, sizeof(abcd)); in BrandString() 114 brand_string[48] = 0; in BrandString() 115 return brand_string; in BrandString() 121 const std::string& brand_string = BrandString(); in NominalClockRate() local 127 const size_t pos_prefix = brand_string.find(prefixes[i]); in NominalClockRate() 129 const size_t pos_space = brand_string.rfind(' ', pos_prefix - 1); in NominalClockRate() 132 brand_string.substr(pos_space + 1, pos_prefix - pos_space - 1); in NominalClockRate()
|
/external/cpuinfo/src/x86/mach/ |
D | init.c | 61 char brand_string[48]; in cpuinfo_x86_mach_init() local 62 cpuinfo_x86_normalize_brand_string(x86_processor.brand_string, brand_string); in cpuinfo_x86_mach_init() 85 cpuinfo_x86_format_package_name(x86_processor.vendor, brand_string, packages[i].name); in cpuinfo_x86_mach_init()
|
/external/cpu_features/src/utils/ |
D | list_cpu_features.c | 365 char brand_string[49]; in CreateTree() local 368 FillX86BrandString(brand_string); in CreateTree() 370 AddMapEntry(root, "brand", CreateString(brand_string)); in CreateTree()
|
/external/cpuinfo/src/x86/linux/ |
D | init.c | 218 char brand_string[48]; in cpuinfo_x86_linux_init() local 219 cpuinfo_x86_normalize_brand_string(x86_processor.brand_string, brand_string); in cpuinfo_x86_linux_init() 433 … cpuinfo_x86_format_package_name(x86_processor.vendor, brand_string, packages[package_index].name); in cpuinfo_x86_linux_init()
|
/external/cpu_features/include/ |
D | cpuinfo_x86.h | 150 void FillX86BrandString(char brand_string[49]);
|
/external/cpuinfo/src/x86/windows/ |
D | init.c | 125 char brand_string[48]; in cpuinfo_x86_windows_init() local 126 cpuinfo_x86_normalize_brand_string(x86_processor.brand_string, brand_string); in cpuinfo_x86_windows_init() 381 cpuinfo_x86_format_package_name(x86_processor.vendor, brand_string, package->name); in cpuinfo_x86_windows_init()
|
/external/cpu_features/src/ |
D | cpuinfo_x86.c | 1543 void FillX86BrandString(char brand_string[49]) { in FillX86BrandString() 1546 SetString(max_cpuid_leaf_ext, 0x80000002, brand_string); in FillX86BrandString() 1547 SetString(max_cpuid_leaf_ext, 0x80000003, brand_string + 16); in FillX86BrandString() 1548 SetString(max_cpuid_leaf_ext, 0x80000004, brand_string + 32); in FillX86BrandString() 1549 brand_string[48] = '\0'; in FillX86BrandString()
|
/external/rust/crates/libz-sys/src/zlib-ng/test/ |
D | pkgcheck.sh | 84 sysctl -n machdep.cpu.brand_string
|