Lines Matching refs:c

48     char16_t c = str[pos];  in text()  local
53 if (c == '\'') { in text()
58 if (c == k_arg_start) { in text()
60 } else if (c == k_arg_end && depth) { in text()
94 pseudolocalize_char(const char16_t c) in pseudolocalize_char() argument
96 switch (c) { in pseudolocalize_char()
155 static bool is_possible_normal_placeholder_end(const char16_t c) { in is_possible_normal_placeholder_end() argument
156 switch (c) { in is_possible_normal_placeholder_end()
203 static bool is_space(const char16_t c) { in is_space() argument
204 return (c == ' ' || c == '\t' || c == '\n'); in is_space()
245 char16_t c = s[i]; in text() local
246 if (c == '\\') { in text()
251 c = s[i]; in text()
252 switch (c) { in text()
267 result.append(&c, 1); in text()
271 result.append(&c, 1); in text()
273 } else if (c == '%') { in text()
277 chunk.append(&c, 1); in text()
280 c = s[i]; in text()
281 chunk.append(&c, 1); in text()
282 if (is_possible_normal_placeholder_end(c)) { in text()
284 } else if (c == 't') { in text()
286 c = s[i]; in text()
287 chunk.append(&c, 1); in text()
292 result += ((c == '%') ? chunk : placeholder(chunk)); in text()
293 } else if (c == '<' || c == '&') { in text()
297 if (c == '&') { in text()
299 escape_text.append(&c, 1); in text()
304 c = s[htmlCodePos]; in text()
305 escape_text.append(&c, 1); in text()
307 if (c == ';') { in text()
312 else if (!((c == '#' || in text()
313 (c >= 'a' && c <= 'z') || in text()
314 (c >= 'A' && c <= 'Z') || in text()
315 (c >= '0' && c <= '9')))) { in text()
325 if (c == '>') { in text()
327 result.append(&c, 1); in text()
330 result.append(&c, 1); in text()
332 c = s[i]; in text()
336 const char* p = pseudolocalize_char(c); in text()
340 bool space = is_space(c); in text()
345 result.append(&c, 1); in text()
367 char16_t c = s[i]; in text() local
368 if (!escape && c == ESCAPE_CHAR) { in text()
372 space = (!escape && is_space(c)) || (escape && (c == 'n' || c == 't')); in text()
385 result.append(&c, 1); in text()