Lines Matching refs:char_ptr
99 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_zero_number() local
100 if (*char_ptr != '0') { in is_zero_number()
108 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_space() local
109 if (*char_ptr != ' ') { in is_space()
117 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_number() local
118 if (!is_digit(*char_ptr)) { in is_number()
126 for (const char* char_ptr = token_start + 1; char_ptr < token_end; char_ptr++) { in is_model_number() local
127 if (is_digit(char_ptr[-1]) && is_digit(char_ptr[0])) { in is_model_number()
557 for (char* char_ptr = name; char_ptr != name_end; char_ptr++) { in cpuinfo_x86_normalize_brand_string() local
558 switch (*char_ptr) { in cpuinfo_x86_normalize_brand_string()
561 *char_ptr = ' '; in cpuinfo_x86_normalize_brand_string()
565 *char_ptr = ' '; in cpuinfo_x86_normalize_brand_string()
568 parser_state.frequency_separator = char_ptr; in cpuinfo_x86_normalize_brand_string()
571 *char_ptr = ' '; in cpuinfo_x86_normalize_brand_string()
575 *char_ptr = ' '; in cpuinfo_x86_normalize_brand_string()
585 for (char* char_ptr = name; char_ptr != name_end; char_ptr++) { in cpuinfo_x86_normalize_brand_string() local
586 if (*char_ptr == ' ') { in cpuinfo_x86_normalize_brand_string()
589 if (!transform_token(token_start, char_ptr, &parser_state)) { in cpuinfo_x86_normalize_brand_string()
590 name_end = char_ptr; in cpuinfo_x86_normalize_brand_string()
597 token_start = char_ptr; in cpuinfo_x86_normalize_brand_string()
627 for (char* char_ptr = name; char_ptr != name_end; char_ptr++) { in cpuinfo_x86_normalize_brand_string() local
628 const char character = *char_ptr; in cpuinfo_x86_normalize_brand_string()
636 output_ptr = move_token(token_start, char_ptr, output_ptr); in cpuinfo_x86_normalize_brand_string()
638 previous_token_ends_with_dash = (char_ptr[-1] == '-'); in cpuinfo_x86_normalize_brand_string()
643 token_start = char_ptr; in cpuinfo_x86_normalize_brand_string()