Searched refs:cur_char (Results 1 – 2 of 2) sorted by relevance
73 const char* cur_char = pBegin; in format() local74 while (cur_char != pEnd) { in format()75 if (*cur_char != '%') { in format()76 const char* new_end = std::find(cur_char, pEnd, '%'); in format()77 pOutStr.append(cur_char, new_end); in format()78 cur_char = new_end; in format()80 } else if (ispunct(cur_char[1])) { in format()81 pOutStr.push_back(cur_char[1]); // %% -> %. in format()82 cur_char += 2; in format()87 ++cur_char; in format()[all …]
262 int cur_char = pString[idx];264 if ('.' == cur_char) {269 if (isdigit(cur_char)) {274 if ('_' == cur_char) {279 if (isupper(cur_char)) {280 result |= (1 << (cur_char - 'A'));284 if (islower(cur_char)) {285 result |= (1 << (cur_char - 'a'));