Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

39  * strings into the pattern at the appropriate places.
46 * UChar pattern[100];
60 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}");
62 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7);
67 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7);
82 * UChar pattern[100];
88 * u_uastrcpy(pattern, "The disk {1} contains {0,choice,0#no files|1#one file|1<{0,number,integer} files}");
91 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, testArgs[i], str);
96 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, testArgs[i], str);
108 * The pattern is of the following form. Legend:
146 * a ChoiceFormat, the pattern must always be specified, since there
155 * If a pattern is used, then unquoted braces in the pattern, if any,
207 * @param pattern The pattern specifying the message's format
208 * @param patternLength The length of pattern
213 * in pattern.
221 const UChar *pattern,
234 * @param pattern The pattern specifying the message's format
235 * @param patternLength The length of pattern
240 * in pattern.
248 const UChar *pattern,
261 * @param pattern The pattern specifying the message's format
262 * @param patternLength The length of pattern
267 * specified in pattern.
273 const UChar *pattern,
286 * @param pattern The pattern specifying the message's format
287 * @param patternLength The length of pattern
292 * specified in pattern.
298 const UChar *pattern,
311 * @param pattern The pattern specifying the message's format
312 * @param patternLength The length of pattern
317 * in pattern.
327 const UChar *pattern,
341 * @param pattern The pattern specifying the message's format
342 * @param patternLength The length of pattern
349 * in pattern.
356 const UChar *pattern,
370 * @param pattern The pattern specifying the message's format
371 * @param patternLength The length of pattern
378 * specified in pattern.
384 const UChar *pattern,
398 * @param pattern The pattern specifying the message's format
399 * @param patternLength The length of pattern
406 * specified in pattern.
412 const UChar *pattern,
429 * Open a message formatter with given pattern and for the given locale.
430 * @param pattern A pattern specifying the format to use.
431 * @param patternLength Length of the pattern to use
441 umsg_open( const UChar *pattern,
490 * Sets the pattern.
492 * @param pattern The pattern to be applied.
493 * @param patternLength Length of the pattern to use
497 * exit. If the pattern is invalid, this will be
503 const UChar* pattern,
509 * Gets the pattern.
511 * @param result A pointer to a buffer to receive the pattern.
514 * exit. If the pattern is invalid, this will be
516 * @return the pattern of the format
535 * specified in pattern.
557 * specified in pattern.
580 * specified in pattern.
602 * specified in pattern.
616 * Convert an 'apostrophe-friendly' pattern into a standard
617 * pattern. Standard patterns treat all apostrophes as
622 * and the resulting standard pattern string is returned.
624 * <p><b>Note</b> it is not guaranteed that the returned pattern
625 * is indeed a valid pattern. The only effect is to convert
628 * @param pattern the 'apostrophe-friendly' patttern to convert
629 * @param patternLength the length of pattern, or -1 if unknown and pattern is null-terminated
639 umsg_autoQuoteApostrophe(const UChar* pattern,