Searched refs:cpu_string (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/ |
D | cpu.cc | 137 char cpu_string[sizeof(cpu_info) * 3 + 1]; in Initialize() local 150 static_assert(kVendorNameSize < arraysize(cpu_string), in Initialize() 152 memcpy(cpu_string, &cpu_info[1], kVendorNameSize); in Initialize() 153 cpu_string[kVendorNameSize] = '\0'; in Initialize() 154 cpu_vendor_ = cpu_string; in Initialize() 205 static_assert(kParameterSize * sizeof(cpu_info) + 1 == arraysize(cpu_string), in Initialize() 213 memcpy(&cpu_string[i], cpu_info, sizeof(cpu_info)); in Initialize() 216 cpu_string[i] = '\0'; in Initialize() 217 cpu_brand_ = cpu_string; in Initialize()
|
/external/google-breakpad/src/processor/ |
D | minidump_processor.cc | 405 char cpu_string[32]; in GetARMCpuInfo() local 406 snprintf(cpu_string, sizeof(cpu_string), "ARMv%d", in GetARMCpuInfo() 408 cpu_info->append(cpu_string); in GetARMCpuInfo() 484 snprintf(cpu_string, sizeof(cpu_string), "vendor(0x%x)", vendor_id); in GetARMCpuInfo() 485 cpu_info->append(cpu_string); in GetARMCpuInfo() 501 snprintf(cpu_string, sizeof(cpu_string), "part(0x%x)", part_id); in GetARMCpuInfo() 502 cpu_info->append(cpu_string); in GetARMCpuInfo() 594 char cpu_string[7]; in GetCPUInfo() local 595 snprintf(cpu_string, sizeof(cpu_string), "0x%04x", in GetCPUInfo() 597 info->cpu = cpu_string; in GetCPUInfo()
|