Home | History | Annotate | Download | only in intltest

Lines Matching refs:MeasureUnit

116     MeasureUnit *ptr1 = MeasureUnit::createArcMinute(status);
117 MeasureUnit *ptr2 = MeasureUnit::createArcMinute(status);
124 MeasureUnit *ptr3 = MeasureUnit::createMeter(status);
131 MeasureUnit *ptr4 = (MeasureUnit *) ptr1->clone();
135 MeasureUnit stack;
148 MeasureUnit *units = NULL;
150 int32_t totalCount = MeasureUnit::getAvailable(units, 0, status);
154 units = new MeasureUnit[totalCount];
155 totalCount = MeasureUnit::getAvailable(units, totalCount, status);
166 StringEnumeration *types = MeasureUnit::getAvailableTypes(status);
182 int32_t unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status);
186 units = new MeasureUnit[unitCount];
188 unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status);
219 Measure measureC(23, MeasureUnit::createCelsius(status), status);
220 Measure measureF(70, MeasureUnit::createFahrenheit(status), status);
222 Measure(70, MeasureUnit::createFoot(status), status),
223 Measure(5.3, MeasureUnit::createInch(status), status)};
225 Measure(1, MeasureUnit::createFoot(status), status),
226 Measure(1, MeasureUnit::createInch(status), status)};
228 Measure(1, MeasureUnit::createInch(status), status),
229 Measure(2, MeasureUnit::createFoot(status), status)};
287 Measure t_19m[] = {Measure(19, MeasureUnit::createMinute(status), status)};
289 Measure(1.0, MeasureUnit::createHour(status), status),
290 Measure(23.5, MeasureUnit::createSecond(status), status)
293 Measure(1.0, MeasureUnit::createHour(status), status),
294 Measure(23.5, MeasureUnit::createMinute(status), status)
314 Measure(2.0, MeasureUnit::createYear(status), status),
315 Measure(5.0, MeasureUnit::createMonth(status), status),
316 Measure(3.0, MeasureUnit::createWeek(status), status),
317 Measure(4.0, MeasureUnit::createDay(status), status)
320 Measure(1.0, MeasureUnit::createMinute(status), status),
321 Measure(59.9996, MeasureUnit::createSecond(status), status)
324 Measure(5.0, MeasureUnit::createHour(status), status),
325 Measure(17.0, MeasureUnit::createMinute(status), status)
328 Measure(-5.0, MeasureUnit::createHour(status), status),
329 Measure(17.0, MeasureUnit::createMinute(status), status)
332 Measure(19.0, MeasureUnit::createMinute(status), status),
333 Measure(28.0, MeasureUnit::createSecond(status), status)
336 Measure(0.0, MeasureUnit::createHour(status), status),
337 Measure(0.0, MeasureUnit::createMinute(status), status),
338 Measure(9.0, MeasureUnit::createSecond(status), status)
341 Measure(0.0, MeasureUnit::createHour(status), status),
342 Measure(0.0, MeasureUnit::createMinute(status), status),
343 Measure(17.0, MeasureUnit::createSecond(status), status)
346 Measure(6.0, MeasureUnit::createHour(status), status),
347 Measure(56.92, MeasureUnit::createMinute(status), status)
350 Measure(3.0, MeasureUnit::createHour(status), status),
351 Measure(4.0, MeasureUnit::createSecond(status), status),
352 Measure(5.0, MeasureUnit::createMinute(status), status)
355 Measure(6.7, MeasureUnit::createHour(status), status),
356 Measure(56.92, MeasureUnit::createMinute(status), status)
360 Measure(3.0, MeasureUnit::createHour(status), status),
361 Measure(5.0, MeasureUnit::createHour(status), status)
510 Measure measure(values[j], MeasureUnit::createMinute(status), status);
519 static MeasureUnit toMeasureUnit(MeasureUnit *adopted) {
520 MeasureUnit result(*adopted);
528 MeasureUnit units[] = {
529 toMeasureUnit(MeasureUnit::createSecond(status)),
530 toMeasureUnit(MeasureUnit::createMinute(status)),
531 toMeasureUnit(MeasureUnit::createHour(status)),
532 toMeasureUnit(MeasureUnit::createDay(status)),
533 toMeasureUnit(MeasureUnit::createWeek(status)),
534 toMeasureUnit(MeasureUnit::createMonth(status)),
535 toMeasureUnit(MeasureUnit::createYear(status))};
606 Measure measure(numbers[numIndex], new MeasureUnit(units[unitIndex]), status);
631 new Measure(3.5, MeasureUnit::createFoot(status), status),
672 Measure(2, MeasureUnit::createMile(status), status),
673 Measure(1, MeasureUnit::createFoot(status), status),
674 Measure(2.3, MeasureUnit::createInch(status), status)};
692 Measure gram(1, MeasureUnit::createGram(status), status);
693 Measure gforce(1, MeasureUnit::createGForce(status), status);
747 Measure measure(43.5, MeasureUnit::createFoot(status), status);
761 measure = Measure(43, MeasureUnit::createFoot(status), status);
783 Measure(354, MeasureUnit::createMeter(status), status),
784 Measure(23, MeasureUnit::createCentimeter(status), status)};
786 Measure(354, MeasureUnit::createMeter(status), status),
787 Measure(23, MeasureUnit::createCentimeter(status), status),
788 Measure(5.4, MeasureUnit::createMillimeter(status), status)};
790 Measure(3, MeasureUnit::createMeter(status), status),
791 Measure(23, MeasureUnit::createCentimeter(status), status),
792 Measure(5, MeasureUnit::createMillimeter(status), status)};
870 Measure(4.7, MeasureUnit::createHour(status), status),
871 Measure(23, MeasureUnit::createMinute(status), status),
872 Measure(16, MeasureUnit::createSecond(status), status)};
892 measures[0] = Measure(-4.7, MeasureUnit::createHour(status), status);