Lines Matching refs:rule
295 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
316 rule.append(BACKSLASH).append(APOSTROPHE); in appendToRule()
329 rule.append(APOSTROPHE); in appendToRule()
330 rule.append(quoteBuf); in appendToRule()
331 rule.append(APOSTROPHE); in appendToRule()
335 rule.append(BACKSLASH).append(APOSTROPHE); in appendToRule()
345 int32_t len = rule.length(); in appendToRule()
346 if (len > 0 && rule.charAt(len-1) != c) { in appendToRule()
347 rule.append(c); in appendToRule()
349 } else if (!escapeUnprintable || !ICU_Utility::escapeUnprintable(rule, c)) { in appendToRule()
350 rule.append(c); in appendToRule()
358 rule.append(BACKSLASH); in appendToRule()
359 rule.append(c); in appendToRule()
380 rule.append(c); in appendToRule()
384 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
390 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
398 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
404 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable), in appendToRule()