Home
last modified time | relevance | path

Searched refs:cpu_string (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/
Dcpu.cc137 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/u-boot/arch/x86/cpu/intel_common/
Dreport_platform.c16 char cpu_string[CPU_MAX_NAME_LEN], *cpu_name; in report_cpu_info() local
25 strcpy(cpu_string, "Platform info not available"); in report_cpu_info()
26 cpu_name = cpu_string; in report_cpu_info()
28 cpu_name = cpu_get_name(cpu_string); in report_cpu_info()
/external/google-breakpad/src/processor/
Dminidump_processor.cc341 char cpu_string[32]; in GetARMCpuInfo() local
342 snprintf(cpu_string, sizeof(cpu_string), "ARMv%d", in GetARMCpuInfo()
344 cpu_info->append(cpu_string); in GetARMCpuInfo()
420 snprintf(cpu_string, sizeof(cpu_string), "vendor(0x%x)", vendor_id); in GetARMCpuInfo()
421 cpu_info->append(cpu_string); in GetARMCpuInfo()
437 snprintf(cpu_string, sizeof(cpu_string), "part(0x%x)", part_id); in GetARMCpuInfo()
438 cpu_info->append(cpu_string); in GetARMCpuInfo()
525 char cpu_string[7]; in GetCPUInfo() local
526 snprintf(cpu_string, sizeof(cpu_string), "0x%04x", in GetCPUInfo()
528 info->cpu = cpu_string; in GetCPUInfo()