• Home
  • Raw
  • Download

Lines Matching refs:c

95     char16_t c = str[pos];  in Text()  local
100 if (c == '\'') { in Text()
105 if (c == kArgStart) { in Text()
107 } else if (c == kArgEnd && depth) { in Text()
139 static const char* PseudolocalizeChar(const char c) { in PseudolocalizeChar() argument
140 switch (c) { in PseudolocalizeChar()
254 static bool IsPossibleNormalPlaceholderEnd(const char c) { in IsPossibleNormalPlaceholderEnd() argument
255 switch (c) { in IsPossibleNormalPlaceholderEnd()
358 char c = s[i]; in Text() local
359 if (c == '%') { in Text()
363 chunk.append(&c, 1); in Text()
366 c = s[i]; in Text()
367 chunk.append(&c, 1); in Text()
368 if (IsPossibleNormalPlaceholderEnd(c)) { in Text()
370 } else if (i + 1 < I && c == 't') { in Text()
372 c = s[i]; in Text()
373 chunk.append(&c, 1); in Text()
378 result += ((c == '%') ? chunk : Placeholder(chunk)); in Text()
379 } else if (c == '<' || c == '&') { in Text()
383 if (c == '&') { in Text()
385 escape_text.append(&c, 1); in Text()
390 c = s[html_code_pos]; in Text()
391 escape_text.append(&c, 1); in Text()
393 if (c == ';') { in Text()
398 else if (!((c == '#' || (c >= 'a' && c <= 'z') || in Text()
399 (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')))) { in Text()
409 if (c == '>') { in Text()
411 result.append(&c, 1); in Text()
414 result.append(&c, 1); in Text()
416 c = s[i]; in Text()
420 const char* p = PseudolocalizeChar(c); in Text()
424 bool space = isspace(c); in Text()
429 result.append(&c, 1); in Text()
451 char c = s[i]; in Text() local
452 if (!escape && c == ESCAPE_CHAR) { in Text()
456 space = (!escape && isspace(c)) || (escape && (c == 'n' || c == 't')); in Text()
469 result.append(&c, 1); in Text()