Home
last modified time | relevance | path

Searched refs:fromSet (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java77 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
84 fromSet.setOnCalendar(fromCalendar); in testConvert()
90 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
91 String diffs = diffSet.diffFrom(fromSet); in testConvert()
104 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
105 String diffs = diffSet.diffFrom(fromSet); in testConvert()
134 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
147 fromSet.clear(); in testConvert()
151 fromSet.parseFrom(from); in testConvert()
153 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java80 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
87 fromSet.setOnCalendar(fromCalendar); in testConvert()
93 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
94 String diffs = diffSet.diffFrom(fromSet); in testConvert()
107 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
108 String diffs = diffSet.diffFrom(fromSet); in testConvert()
137 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
150 fromSet.clear(); in testConvert()
154 fromSet.parseFrom(from); in testConvert()
156 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddadrcal.cpp89 CalendarFieldsSet fromSet, toSet, paramsSet, diffSet; in testOps() local
127 fromSet.clear(); in testOps()
141 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps()
192 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps()
214 fromSet.setOnCalendar(fromCalendar, status); in testOps()
224 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testOps()
225 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testOps()
290 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() argument
298 fromSet.setOnCalendar(fromCalendar, status); in testConvert()
308 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testConvert()
[all …]
Ddadrfmt.cpp120 CalendarFieldsSet fromSet; in testConvertDate() local
207 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate()
215 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate()
219 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
222 fromSet.get((UCalendarDateFields)q)); in testConvertDate()
232 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) { in testConvertDate()
254 fromSet.setOnCalendar(cal, status); in testConvertDate()
306 if (!fromSet.matches(cal, diffSet, status)) { in testConvertDate()
307 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvertDate()
Dtransrt.h45 void TestDebug(const char* name,const char fromSet[],
Ddadrcal.h45 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Dtransrt.cpp1599 void TransliteratorRoundTripTest::TestDebug(const char* name,const char fromSet[], in TestDebug() argument
1604 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal); in TestDebug()
/external/cronet/third_party/icu/source/test/intltest/
Ddadrcal.cpp89 CalendarFieldsSet fromSet, toSet, paramsSet, diffSet; in testOps() local
127 fromSet.clear(); in testOps()
141 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps()
192 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps()
214 fromSet.setOnCalendar(fromCalendar, status); in testOps()
224 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testOps()
225 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testOps()
290 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() argument
298 fromSet.setOnCalendar(fromCalendar, status); in testConvert()
308 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testConvert()
[all …]
Ddadrfmt.cpp120 CalendarFieldsSet fromSet; in testConvertDate() local
207 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate()
215 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate()
219 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
222 fromSet.get((UCalendarDateFields)q)); in testConvertDate()
232 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) { in testConvertDate()
254 fromSet.setOnCalendar(cal, status); in testConvertDate()
306 if (!fromSet.matches(cal, diffSet, status)) { in testConvertDate()
307 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvertDate()
Dtransrt.h45 void TestDebug(const char* name,const char fromSet[],
Ddadrcal.h45 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Dtransrt.cpp1599 void TransliteratorRoundTripTest::TestDebug(const char* name,const char fromSet[], in TestDebug() argument
1604 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal); in TestDebug()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenFormatTest.java112 CalendarFieldsSet fromSet = null; in testConvertDate() local
161 fromSet = new CalendarFieldsSet(); in testConvertDate()
162 fromSet.parseFrom(date); in testConvertDate()
173 fromSet.setOnCalendar(cal); in testConvertDate()
197 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
198 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
201 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenFormatTest.java109 CalendarFieldsSet fromSet = null; in testConvertDate() local
158 fromSet = new CalendarFieldsSet(); in testConvertDate()
159 fromSet.parseFrom(date); in testConvertDate()
170 fromSet.setOnCalendar(cal); in testConvertDate()
194 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
195 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
198 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()