Lines Matching refs:pattern
68 * Constructs a formatter from the pattern string.
70 * @param pattern The pattern string.
76 SimpleFormatter(const UnicodeString& pattern, UErrorCode &errorCode) {
77 applyPattern(pattern, errorCode);
81 * Constructs a formatter from the pattern string.
85 * @param pattern The pattern string.
86 * @param min The pattern must have at least this many arguments.
87 * @param max The pattern must have at most this many arguments.
94 SimpleFormatter(const UnicodeString& pattern, int32_t min, int32_t max,
96 applyPatternMinMaxArguments(pattern, min, max, errorCode);
119 * Changes this object according to the new pattern.
121 * @param pattern The pattern string.
128 UBool applyPattern(const UnicodeString &pattern, UErrorCode &errorCode) {
129 return applyPatternMinMaxArguments(pattern, 0, INT32_MAX, errorCode);
133 * Changes this object according to the new pattern.
137 * @param pattern The pattern string.
138 * @param min The pattern must have at least this many arguments.
139 * @param max The pattern must have at most this many arguments.
147 UBool applyPatternMinMaxArguments(const UnicodeString &pattern,
164 * @param appendTo Gets the formatted pattern and value appended.
181 * @param appendTo Gets the formatted pattern and values appended.
200 * @param appendTo Gets the formatted pattern and values appended.
220 * @param appendTo Gets the formatted pattern and values appended.
222 * values[i] replaced pattern argument {i}.
224 * If there is no {i} in the pattern, then offsets[i] is set to -1.
239 * as the value corresponding to the initial argument in the pattern.
246 * @param result Gets its contents replaced by the formatted pattern and values.
248 * values[i] replaced pattern argument {i}.
250 * If there is no {i} in the pattern, then offsets[i] is set to -1.
263 * Returns the pattern text with none of the arguments.
273 * Binary representation of the compiled pattern.