Lines Matching refs:rule
297 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
318 rule.append(BACKSLASH).append(APOSTROPHE); in appendToRule()
331 rule.append(APOSTROPHE); in appendToRule()
332 rule.append(quoteBuf); in appendToRule()
333 rule.append(APOSTROPHE); in appendToRule()
337 rule.append(BACKSLASH).append(APOSTROPHE); in appendToRule()
347 int32_t len = rule.length(); in appendToRule()
348 if (len > 0 && rule.charAt(len-1) != c) { in appendToRule()
349 rule.append(c); in appendToRule()
351 } else if (!escapeUnprintable || !ICU_Utility::escapeUnprintable(rule, c)) { in appendToRule()
352 rule.append(c); in appendToRule()
360 rule.append(BACKSLASH); in appendToRule()
361 rule.append(c); in appendToRule()
382 rule.append(c); in appendToRule()
386 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
392 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
400 void ICU_Utility::appendToRule(UnicodeString& rule, in appendToRule() argument
406 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable), in appendToRule()