Lines Matching refs:LENGTHOF

25 #define LENGTHOF(array) (int32_t)(sizeof(array) / sizeof((array)[0]))
256 LENGTHOF(feetAndInches),
263 LENGTHOF(feetAndInches),
269 LENGTHOF(footAndInch),
275 LENGTHOF(footAndInch),
281 LENGTHOF(inchAndFeet),
369 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1 minute, 59.9996 seconds"},
370 {t_19m, LENGTHOF(t_19m), "19 minutes"},
371 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1 hour, 23.5 seconds"},
372 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1 hour, 23.5 minutes"},
373 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1 hour, 0 minutes, 23 seconds"},
374 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2 years, 5 months, 3 weeks, 4 days"}};
377 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1 min, 59.9996 secs"},
378 {t_19m, LENGTHOF(t_19m), "19 mins"},
379 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1 hr, 23.5 secs"},
380 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1 hr, 23.5 mins"},
381 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1 hr, 0 mins, 23 secs"},
382 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2 yrs, 5 mths, 3 wks, 4 days"}};
385 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1m 59.9996s"},
386 {t_19m, LENGTHOF(t_19m), "19m"},
387 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1h 23.5s"},
388 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1h 23.5m"},
389 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1h 0m 23s"},
390 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2y 5m 3w 4d"}};
393 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1:59.9996"},
394 {t_19m, LENGTHOF(t_19m), "19m"},
395 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1:00:23.5"},
396 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1:23.5"},
397 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1:00:23"},
398 {t_5h_17m, LENGTHOF(t_5h_17m), "5:17"},
399 {t_neg5h_17m, LENGTHOF(t_neg5h_17m), "-5h 17m"},
400 {t_19m_28s, LENGTHOF(t_19m_28s), "19:28"},
401 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2y 5m 3w 4d"},
402 {t_0h_0m_9s, LENGTHOF(t_0h_0m_9s), "0:00:09"},
403 {t_6h_56_92m, LENGTHOF(t_6h_56_92m), "6:56.92"},
404 {t_6_7h_56_92m, LENGTHOF(t_6_7h_56_92m), "6:56.92"},
405 {t_3h_4s_5m, LENGTHOF(t_3h_4s_5m), "3h 4s 5m"},
406 {t_3h_5h, LENGTHOF(t_3h_5h), "3h 5h"}};
409 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1 Minute und 59,9996 Sekunden"},
410 {t_19m, LENGTHOF(t_19m), "19 Minuten"},
411 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1 Stunde und 23,5 Sekunden"},
412 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1 Stunde und 23,5 Minuten"},
413 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1 Stunde, 0 Minuten und 23 Sekunden"},
414 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2 Jahre, 5 Monate, 3 Wochen und 4 Tage"}};
417 {t_1m_59_9996s, LENGTHOF(t_1m_59_9996s), "1:59,9996"},
418 {t_19m, LENGTHOF(t_19m), "19 Min."},
419 {t_1h_23_5s, LENGTHOF(t_1h_23_5s), "1:00:23,5"},
420 {t_1h_23_5m, LENGTHOF(t_1h_23_5m), "1:23,5"},
421 {t_1h_0m_23s, LENGTHOF(t_1h_0m_23s), "1:00:23"},
422 {t_5h_17m, LENGTHOF(t_5h_17m), "5:17"},
423 {t_19m_28s, LENGTHOF(t_19m_28s), "19:28"},
424 {t_2y_5M_3w_4d, LENGTHOF(t_2y_5M_3w_4d), "2 J, 5 M, 3 W und 4 T"},
425 {t_0h_0m_17s, LENGTHOF(t_0h_0m_17s), "0:00:17"},
426 {t_6h_56_92m, LENGTHOF(t_6h_56_92m), "6:56,92"},
427 {t_3h_5h, LENGTHOF(t_3h_5h), "3 Std., 5 Std."}};
440 verifyFormat("en WIDE", mf, fullData, LENGTHOF(fullData));
445 verifyFormat("en WIDE copy", mf2, fullData, LENGTHOF(fullData));
450 verifyFormat("en WIDE copy", *mf3, fullData, LENGTHOF(fullData));
457 verifyFormat("en SHORT", mf, abbrevData, LENGTHOF(abbrevData));
462 verifyFormat("en NARROW", mf, narrowData, LENGTHOF(narrowData));
467 verifyFormat("en NUMERIC", mf, numericData, LENGTHOF(numericData));
479 verifyFormat("de WIDE", mf, fullDataDe, LENGTHOF(fullDataDe));
484 verifyFormat("de NUMERIC", mf, numericDataDe, LENGTHOF(numericDataDe));
495 for (int j = 0; j < LENGTHOF(values); j++) {
496 for (int i = 0; i < LENGTHOF(expected[j]); i++) {
602 for (int32_t locIndex = 0; locIndex < LENGTHOF(locales); ++locIndex ) {
603 for( int32_t numIndex = 0; numIndex < LENGTHOF(numbers); ++numIndex ) {
604 for ( int32_t styleIndex = 0; styleIndex < LENGTHOF(styles); ++styleIndex ) {
605 for ( int32_t unitIndex = 0; unitIndex < LENGTHOF(units); ++unitIndex ) {
679 fmt.formatMeasures(measures, LENGTHOF(measures), buffer, pos, status);
802 LENGTHOF(first),
811 LENGTHOF(second),
820 LENGTHOF(third),
884 fmt.formatMeasures(measures, LENGTHOF(measures), appendTo, pos, status);
894 fmt.formatMeasures(measures, LENGTHOF(measures), appendTo, pos, status);