Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

42  * a C++ MessageFormat. It is constructed from a <em>pattern</em> string
47 * <p>For details about the pattern syntax and behavior,
57 * UChar pattern[100];
71 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}");
73 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7);
78 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7);
93 * UChar pattern[100];
99 * u_uastrcpy(pattern, "The disk {1} contains {0,choice,0#no files|1#one file|1<{0,number,integer} files}");
102 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, testArgs[i], str);
107 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, testArgs[i], str);
127 * UChar pattern[100];
136 * u_uastrcpy(pattern, "{0} est {1, select, female {all\\u00E9e} other {all\\u00E9}} \\u00E0 Paris.");
139 * resultLengthOut=u_formatMessage( "fr", pattern, u_strlen(pattern), NULL, resultlength, &status, str , str1);
145 * u_formatMessage( "fr", pattern, u_strlen(pattern), result, resultlength, &status, str , str1);
164 * @param pattern The pattern specifying the message's format
165 * @param patternLength The length of pattern
170 * in pattern.
178 const UChar *pattern,
191 * @param pattern The pattern specifying the message's format
192 * @param patternLength The length of pattern
197 * in pattern.
205 const UChar *pattern,
218 * @param pattern The pattern specifying the message's format
219 * @param patternLength The length of pattern
224 * specified in pattern.
230 const UChar *pattern,
243 * @param pattern The pattern specifying the message's format
244 * @param patternLength The length of pattern
249 * specified in pattern.
255 const UChar *pattern,
268 * @param pattern The pattern specifying the message's format
269 * @param patternLength The length of pattern
274 * in pattern.
284 const UChar *pattern,
298 * @param pattern The pattern specifying the message's format
299 * @param patternLength The length of pattern
306 * in pattern.
313 const UChar *pattern,
327 * @param pattern The pattern specifying the message's format
328 * @param patternLength The length of pattern
335 * specified in pattern.
341 const UChar *pattern,
355 * @param pattern The pattern specifying the message's format
356 * @param patternLength The length of pattern
363 * specified in pattern.
369 const UChar *pattern,
386 * Open a message formatter with given pattern and for the given locale.
387 * @param pattern A pattern specifying the format to use.
388 * @param patternLength Length of the pattern to use
398 umsg_open( const UChar *pattern,
466 * Sets the pattern.
468 * @param pattern The pattern to be applied.
469 * @param patternLength Length of the pattern to use
473 * exit. If the pattern is invalid, this will be
479 const UChar* pattern,
485 * Gets the pattern.
487 * @param result A pointer to a buffer to receive the pattern.
490 * exit. If the pattern is invalid, this will be
492 * @return the pattern of the format
511 * specified in pattern.
533 * specified in pattern.
556 * specified in pattern.
578 * specified in pattern.
592 * Convert an 'apostrophe-friendly' pattern into a standard
593 * pattern. Standard patterns treat all apostrophes as
598 * and the resulting standard pattern string is returned.
600 * <p><b>Note</b> it is not guaranteed that the returned pattern
601 * is indeed a valid pattern. The only effect is to convert
604 * @param pattern the 'apostrophe-friendly' patttern to convert
605 * @param patternLength the length of pattern, or -1 if unknown and pattern is null-terminated
615 umsg_autoQuoteApostrophe(const UChar* pattern,