Lines Matching defs:pattern
164 // {sfb} use double format in pattern, so result will match (not strictly necessary)
165 const UnicodeString pattern = "There {0,choice,0#are no files|1#is one file|1<are {0, number} files} on disk {1}. ";
166 logln("The input pattern : " + pattern);
167 MessageFormat *fmt = new MessageFormat(pattern, status);
169 errln("MessageFormat pattern creation failed.");
172 logln("The output pattern is : " + fmt->toPattern(result));
173 if (pattern != result) {
326 logln("MSG pattern for parse: " + buffer);
405 /* When the default locale is tr, make sure that the pattern can still be parsed. */
1202 const UnicodeString pattern =
1209 MessageFormat msg(pattern, ec);
1284 logln((UnicodeString)"Testing format pattern: '" + formats[i] + "'");
1315 const char* patterns[] = { // pattern, expected pattern