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()
202 static bool is_space(const char16_t c) { in is_space() argument
203 return (c == ' ' || c == '\t' || c == '\n'); in is_space()
244 char16_t c = s[i]; in text() local
245 if (c == '\\') { in text()
250 c = s[i]; in text()
251 switch (c) { in text()
266 result.append(&c, 1); in text()
270 result.append(&c, 1); in text()
272 } else if (c == '%') { in text()
276 chunk.append(&c, 1); in text()
279 c = s[i]; in text()
280 chunk.append(&c, 1); in text()
281 if (is_possible_normal_placeholder_end(c)) { in text()
283 } else if (c == 't') { in text()
285 c = s[i]; in text()
286 chunk.append(&c, 1); in text()
291 result += ((c == '%') ? chunk : placeholder(chunk)); in text()
292 } else if (c == '<' || c == '&') { in text()
296 if (c == '&') { in text()
298 escape_text.append(&c, 1); in text()
303 c = s[htmlCodePos]; in text()
304 escape_text.append(&c, 1); in text()
306 if (c == ';') { in text()
311 else if (!((c == '#' || in text()
312 (c >= 'a' && c <= 'z') || in text()
313 (c >= 'A' && c <= 'Z') || in text()
314 (c >= '0' && c <= '9')))) { in text()
324 if (c == '>') { in text()
326 result.append(&c, 1); in text()
329 result.append(&c, 1); in text()
331 c = s[i]; in text()
335 const char* p = pseudolocalize_char(c); in text()
339 bool space = is_space(c); in text()
344 result.append(&c, 1); in text()
366 char16_t c = s[i]; in text() local
367 if (!escape && c == ESCAPE_CHAR) { in text()
371 space = (!escape && is_space(c)) || (escape && (c == 'n' || c == 't')); in text()
384 result.append(&c, 1); in text()