Searched refs:proc_regex (Results 1 – 1 of 1) sorted by relevance
102 regex_t proc_regex; in midr_from_proc_cpuinfo() local108 memset(&proc_regex, 0, sizeof(regex_t)); in midr_from_proc_cpuinfo()116 ret_status |= regcomp(&proc_regex, R"(^processor.*([[:digit:]]+)$)", REG_EXTENDED); in midr_from_proc_cpuinfo()134 ret_status = regexec(&proc_regex, line.c_str(), 2, match.data(), 0); in midr_from_proc_cpuinfo()214 regfree(&proc_regex); in midr_from_proc_cpuinfo()