Lines Matching refs:selFmt
14 #include "unicode/selfmt.h"
97 SelectFormat* selFmt = new SelectFormat( SIMPLE_PATTERN , status);
109 selFmt->applyPattern(checkSyntaxData[i], status);
117 selFmt->applyPattern("odd{foo} odd{bar} other{foobar}", status);
120 selFmt->format(UnicodeString("odd"), format_result, format_ignore, status);
123 selFmt->applyPattern("odd{foo} other{bar} other{foobar}", status);
124 selFmt->format(UnicodeString("other"), format_result, format_ignore, status);
127 delete selFmt;
128 selFmt = NULL;
132 selFmt = new SelectFormat( SIMPLE_PATTERN , status);
146 selFmt->applyPattern(patternTestData[i], status);
155 selFmt->format( formatArgs[j], result , ignore , status);
182 delete selFmt;
183 selFmt = NULL;
185 selFmt = new SelectFormat( SIMPLE_PATTERN , status);
188 selFmt->format( keywords[i], result , ignore , status);
195 delete selFmt;
207 SelectFormat* selFmt[3] = { NULL, NULL, NULL };
215 selFmt[0]= new SelectFormat(SIMPLE_PATTERN, status[0]);
223 SelectFormat fmt = *selFmt[0];
225 if ((*selFmt[0]) != (*dupPFmt)) {
233 selFmt[1] = (SelectFormat*)selFmt[0]->clone();
234 if (selFmt[1]!=NULL) {
235 if ( *selFmt[1] != *selFmt[0] ) {
249 selFmt[2]= new SelectFormat(SIMPLE_PATTERN, status[2]);
251 *selFmt[1] = *selFmt[2];
252 if (selFmt[1]!=NULL) {
253 if ( (*selFmt[1] != *selFmt[2]) ) {
257 delete selFmt[1];
262 delete selFmt[0];
263 delete selFmt[2];