Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

40  * strings into the pattern at the appropriate places.
47 * UChar pattern[100];
61 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}");
63 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7);
68 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7);
83 * UChar pattern[100];
89 * u_uastrcpy(pattern, "The disk {1} contains {0,choice,0#no files|1#one file|1<{0,number,integer} files}");
92 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, testArgs[i], str);
97 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, testArgs[i], str);
117 * UChar pattern[100];
126 * u_uastrcpy(pattern, "{0} est {1, select, female {all\\u00E9e} other {all\\u00E9}} \\u00E0 Paris.");
129 * resultLengthOut=u_formatMessage( "fr", pattern, u_strlen(pattern), NULL, resultlength, &status, str , str1);
135 * u_formatMessage( "fr", pattern, u_strlen(pattern), result, resultlength, &status, str , str1);
148 * The pattern is of the following form. Legend:
189 * a ChoiceFormat, the pattern must always be specified, since there
198 * If a pattern is used, then unquoted braces in the pattern, if any,
250 * @param pattern The pattern specifying the message's format
251 * @param patternLength The length of pattern
256 * in pattern.
264 const UChar *pattern,
277 * @param pattern The pattern specifying the message's format
278 * @param patternLength The length of pattern
283 * in pattern.
291 const UChar *pattern,
304 * @param pattern The pattern specifying the message's format
305 * @param patternLength The length of pattern
310 * specified in pattern.
316 const UChar *pattern,
329 * @param pattern The pattern specifying the message's format
330 * @param patternLength The length of pattern
335 * specified in pattern.
341 const UChar *pattern,
354 * @param pattern The pattern specifying the message's format
355 * @param patternLength The length of pattern
360 * in pattern.
370 const UChar *pattern,
384 * @param pattern The pattern specifying the message's format
385 * @param patternLength The length of pattern
392 * in pattern.
399 const UChar *pattern,
413 * @param pattern The pattern specifying the message's format
414 * @param patternLength The length of pattern
421 * specified in pattern.
427 const UChar *pattern,
441 * @param pattern The pattern specifying the message's format
442 * @param patternLength The length of pattern
449 * specified in pattern.
455 const UChar *pattern,
472 * Open a message formatter with given pattern and for the given locale.
473 * @param pattern A pattern specifying the format to use.
474 * @param patternLength Length of the pattern to use
484 umsg_open( const UChar *pattern,
552 * Sets the pattern.
554 * @param pattern The pattern to be applied.
555 * @param patternLength Length of the pattern to use
559 * exit. If the pattern is invalid, this will be
565 const UChar* pattern,
571 * Gets the pattern.
573 * @param result A pointer to a buffer to receive the pattern.
576 * exit. If the pattern is invalid, this will be
578 * @return the pattern of the format
597 * specified in pattern.
619 * specified in pattern.
642 * specified in pattern.
664 * specified in pattern.
678 * Convert an 'apostrophe-friendly' pattern into a standard
679 * pattern. Standard patterns treat all apostrophes as
684 * and the resulting standard pattern string is returned.
686 * <p><b>Note</b> it is not guaranteed that the returned pattern
687 * is indeed a valid pattern. The only effect is to convert
690 * @param pattern the 'apostrophe-friendly' patttern to convert
691 * @param patternLength the length of pattern, or -1 if unknown and pattern is null-terminated
701 umsg_autoQuoteApostrophe(const UChar* pattern,