Lines Matching refs:pluralResults
311 int8_t pluralResults[PLURAL_TEST_ARRAY_SIZE]; // 0: is for default in pluralFormatLocaleTest() local
319 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
320 pluralResults[0]= PFT_OTHER; // other in pluralFormatLocaleTest()
321 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest()
333 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
334 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
335 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
336 pluralResults[2]= PFT_OTHER; in pluralFormatLocaleTest()
337 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest()
344 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
345 pluralResults[0]= PFT_ONE; in pluralFormatLocaleTest()
346 pluralResults[2]= PFT_OTHER; in pluralFormatLocaleTest()
347 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest()
353 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
354 pluralResults[0]= PFT_ZERO; in pluralFormatLocaleTest()
355 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
357 pluralResults[i]= (i < 10)? PFT_OTHER: PFT_ZERO; in pluralFormatLocaleTest()
358 pluralResults[i*10] = PFT_ZERO; in pluralFormatLocaleTest()
359 pluralResults[i*10+1] = PFT_ONE; // note override after loop in pluralFormatLocaleTest()
360 pluralResults[i*10+2] = PFT_OTHER; // note override after loop in pluralFormatLocaleTest()
362 pluralResults[111]= PFT_ZERO; in pluralFormatLocaleTest()
363 pluralResults[112]= PFT_ZERO; in pluralFormatLocaleTest()
364 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
370 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
371 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
372 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
373 pluralResults[2]= PFT_TWO; in pluralFormatLocaleTest()
374 pluralResults[3]= PFT_OTHER; in pluralFormatLocaleTest()
375 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
381 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
382 pluralResults[0]= PFT_FEW; in pluralFormatLocaleTest()
384 pluralResults[i] = PFT_FEW; // note override after loop in pluralFormatLocaleTest()
385 pluralResults[100+i] = PFT_FEW; // note override after loop in pluralFormatLocaleTest()
387 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
388 pluralResults[101]= PFT_OTHER; in pluralFormatLocaleTest()
389 helperTestResults(singularZeroSomeLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
395 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
396 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
397 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
399 pluralResults[i]= (i < 10)? PFT_FEW: PFT_OTHER; in pluralFormatLocaleTest()
400 pluralResults[i*10] = PFT_OTHER; in pluralFormatLocaleTest()
402 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
403 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
405 helperTestResults(special12_19Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
411 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
412 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
413 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
415 pluralResults[i]= (i < 5)? PFT_FEW: PFT_OTHER; in pluralFormatLocaleTest()
417 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
418 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
419 pluralResults[i*10+5] = PFT_OTHER; in pluralFormatLocaleTest()
420 pluralResults[i*10+6] = PFT_OTHER; in pluralFormatLocaleTest()
421 pluralResults[i*10+7] = PFT_OTHER; in pluralFormatLocaleTest()
422 pluralResults[i*10+8] = PFT_OTHER; in pluralFormatLocaleTest()
423 pluralResults[i*10+9] = PFT_OTHER; in pluralFormatLocaleTest()
425 helperTestResults(paucal01LocalesA, 2, testPattern, pluralResults); in pluralFormatLocaleTest()
430 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
431 pluralResults[0]= PFT_MANY; in pluralFormatLocaleTest()
432 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
434 pluralResults[i]= (i < 5)? PFT_OTHER: PFT_MANY; in pluralFormatLocaleTest()
436 pluralResults[i*10] = PFT_MANY; in pluralFormatLocaleTest()
437 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
438 pluralResults[i*10+2] = PFT_OTHER; in pluralFormatLocaleTest()
439 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
440 pluralResults[i*10+6] = PFT_MANY; in pluralFormatLocaleTest()
441 pluralResults[i*10+7] = PFT_MANY; in pluralFormatLocaleTest()
442 pluralResults[i*10+8] = PFT_MANY; in pluralFormatLocaleTest()
443 pluralResults[i*10+9] = PFT_MANY; in pluralFormatLocaleTest()
445 helperTestResults(paucal01LocalesB, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
450 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
451 pluralResults[0]= PFT_MANY; in pluralFormatLocaleTest()
452 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
454 pluralResults[i]= (i < 5)? PFT_FEW: PFT_MANY; in pluralFormatLocaleTest()
456 pluralResults[i*10] = PFT_MANY; in pluralFormatLocaleTest()
457 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
458 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
459 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
460 pluralResults[i*10+6] = PFT_MANY; in pluralFormatLocaleTest()
461 pluralResults[i*10+7] = PFT_MANY; in pluralFormatLocaleTest()
462 pluralResults[i*10+8] = PFT_MANY; in pluralFormatLocaleTest()
463 pluralResults[i*10+9] = PFT_MANY; in pluralFormatLocaleTest()
465 helperTestResults(paucal01LocalesC, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
471 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
472 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
473 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
474 pluralResults[2]= PFT_FEW; in pluralFormatLocaleTest()
475 pluralResults[5]= PFT_OTHER; in pluralFormatLocaleTest()
476 helperTestResults(singularPaucalLocales, 2, testPattern, pluralResults); in pluralFormatLocaleTest()
482 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
484 pluralResults[i*10+0] = PFT_MANY; in pluralFormatLocaleTest()
485 pluralResults[i*10+1] = PFT_MANY; // note override after loop in pluralFormatLocaleTest()
487 pluralResults[i*10+2] = PFT_MANY; in pluralFormatLocaleTest()
488 pluralResults[i*10+3] = PFT_MANY; in pluralFormatLocaleTest()
489 pluralResults[i*10+4] = PFT_MANY; in pluralFormatLocaleTest()
492 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
493 pluralResults[i*10+3] = PFT_FEW; in pluralFormatLocaleTest()
494 pluralResults[i*10+4] = PFT_FEW; in pluralFormatLocaleTest()
496 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
498 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
499 helperTestResults(paucal02Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
505 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
506 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
507 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
508 pluralResults[2]= PFT_TWO; in pluralFormatLocaleTest()
509 pluralResults[3]= PFT_FEW; in pluralFormatLocaleTest()
510 pluralResults[5]= PFT_OTHER; in pluralFormatLocaleTest()
511 pluralResults[101]= PFT_ONE; in pluralFormatLocaleTest()
512 pluralResults[102]= PFT_TWO; in pluralFormatLocaleTest()
513 pluralResults[103]= PFT_FEW; in pluralFormatLocaleTest()
514 pluralResults[105]= PFT_OTHER; in pluralFormatLocaleTest()
515 helperTestResults(paucal03Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()