Searched refs:part_regex (Results 1 – 1 of 1) sorted by relevance
105 regex_t part_regex; in midr_from_proc_cpuinfo() local111 memset(&part_regex, 0, sizeof(regex_t)); in midr_from_proc_cpuinfo()119 ret_status |= regcomp(&part_regex, R"(^CPU part.*0x(...)$)", REG_EXTENDED); in midr_from_proc_cpuinfo()181 ret_status = regexec(&part_regex, line.c_str(), 2, match.data(), 0); in midr_from_proc_cpuinfo()217 regfree(&part_regex); in midr_from_proc_cpuinfo()