Lines Matching refs:pluralResults

316     int8_t pluralResults[PLURAL_TEST_ARRAY_SIZE];  // 0: is for default  in pluralFormatLocaleTest()  local
324 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
325 pluralResults[0]= PFT_OTHER; // other in pluralFormatLocaleTest()
326 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest()
338 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
339 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
340 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
341 pluralResults[2]= PFT_OTHER; in pluralFormatLocaleTest()
342 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest()
349 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
350 pluralResults[0]= PFT_ONE; in pluralFormatLocaleTest()
351 pluralResults[2]= PFT_OTHER; in pluralFormatLocaleTest()
352 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest()
358 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
359 pluralResults[0]= PFT_ZERO; in pluralFormatLocaleTest()
360 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
362 pluralResults[i]= (i < 10)? PFT_OTHER: PFT_ZERO; in pluralFormatLocaleTest()
363 pluralResults[i*10] = PFT_ZERO; in pluralFormatLocaleTest()
364 pluralResults[i*10+1] = PFT_ONE; // note override after loop in pluralFormatLocaleTest()
365 pluralResults[i*10+2] = PFT_OTHER; // note override after loop in pluralFormatLocaleTest()
367 pluralResults[111]= PFT_ZERO; in pluralFormatLocaleTest()
368 pluralResults[112]= PFT_ZERO; in pluralFormatLocaleTest()
369 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
375 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
376 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
377 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
378 pluralResults[2]= PFT_TWO; in pluralFormatLocaleTest()
379 pluralResults[3]= PFT_OTHER; in pluralFormatLocaleTest()
380 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
386 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
387 pluralResults[0]= PFT_FEW; in pluralFormatLocaleTest()
389 pluralResults[i] = PFT_FEW; // note override after loop in pluralFormatLocaleTest()
390 pluralResults[100+i] = PFT_FEW; in pluralFormatLocaleTest()
392 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
393 helperTestResults(singularZeroSomeLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
399 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
400 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
401 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
403 pluralResults[i]= (i < 10)? PFT_FEW: PFT_OTHER; in pluralFormatLocaleTest()
404 pluralResults[i*10] = PFT_OTHER; in pluralFormatLocaleTest()
406 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
407 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
409 helperTestResults(special12_19Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
415 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
416 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
417 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
419 pluralResults[i]= (i < 5)? PFT_FEW: PFT_OTHER; in pluralFormatLocaleTest()
421 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
422 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
423 pluralResults[i*10+5] = PFT_OTHER; in pluralFormatLocaleTest()
424 pluralResults[i*10+6] = PFT_OTHER; in pluralFormatLocaleTest()
425 pluralResults[i*10+7] = PFT_OTHER; in pluralFormatLocaleTest()
426 pluralResults[i*10+8] = PFT_OTHER; in pluralFormatLocaleTest()
427 pluralResults[i*10+9] = PFT_OTHER; in pluralFormatLocaleTest()
429 helperTestResults(paucal01LocalesA, 2, testPattern, pluralResults); in pluralFormatLocaleTest()
434 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
435 pluralResults[0]= PFT_MANY; in pluralFormatLocaleTest()
436 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
438 pluralResults[i]= (i < 5)? PFT_OTHER: PFT_MANY; in pluralFormatLocaleTest()
440 pluralResults[i*10] = PFT_MANY; in pluralFormatLocaleTest()
441 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
442 pluralResults[i*10+2] = PFT_OTHER; in pluralFormatLocaleTest()
443 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
444 pluralResults[i*10+6] = PFT_MANY; in pluralFormatLocaleTest()
445 pluralResults[i*10+7] = PFT_MANY; in pluralFormatLocaleTest()
446 pluralResults[i*10+8] = PFT_MANY; in pluralFormatLocaleTest()
447 pluralResults[i*10+9] = PFT_MANY; in pluralFormatLocaleTest()
449 helperTestResults(paucal01LocalesB, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
454 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
455 pluralResults[0]= PFT_MANY; in pluralFormatLocaleTest()
456 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
458 pluralResults[i]= (i < 5)? PFT_FEW: PFT_MANY; in pluralFormatLocaleTest()
460 pluralResults[i*10] = PFT_MANY; in pluralFormatLocaleTest()
461 pluralResults[i*10+1] = PFT_ONE; in pluralFormatLocaleTest()
462 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
463 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
464 pluralResults[i*10+6] = PFT_MANY; in pluralFormatLocaleTest()
465 pluralResults[i*10+7] = PFT_MANY; in pluralFormatLocaleTest()
466 pluralResults[i*10+8] = PFT_MANY; in pluralFormatLocaleTest()
467 pluralResults[i*10+9] = PFT_MANY; in pluralFormatLocaleTest()
469 helperTestResults(paucal01LocalesC, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
475 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
476 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
477 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
478 pluralResults[2]= PFT_FEW; in pluralFormatLocaleTest()
479 pluralResults[5]= PFT_OTHER; in pluralFormatLocaleTest()
480 helperTestResults(singularPaucalLocales, 2, testPattern, pluralResults); in pluralFormatLocaleTest()
486 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
488 pluralResults[i*10+0] = PFT_MANY; in pluralFormatLocaleTest()
489 pluralResults[i*10+1] = PFT_MANY; // note override after loop in pluralFormatLocaleTest()
491 pluralResults[i*10+2] = PFT_MANY; in pluralFormatLocaleTest()
492 pluralResults[i*10+3] = PFT_MANY; in pluralFormatLocaleTest()
493 pluralResults[i*10+4] = PFT_MANY; in pluralFormatLocaleTest()
496 pluralResults[i*10+2] = PFT_FEW; in pluralFormatLocaleTest()
497 pluralResults[i*10+3] = PFT_FEW; in pluralFormatLocaleTest()
498 pluralResults[i*10+4] = PFT_FEW; in pluralFormatLocaleTest()
500 pluralResults[i*10+5] = PFT_MANY; in pluralFormatLocaleTest()
502 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
503 helperTestResults(paucal02Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()
509 uprv_memset(pluralResults, -1, sizeof(pluralResults)); in pluralFormatLocaleTest()
510 pluralResults[0]= PFT_OTHER; in pluralFormatLocaleTest()
511 pluralResults[1]= PFT_ONE; in pluralFormatLocaleTest()
512 pluralResults[2]= PFT_TWO; in pluralFormatLocaleTest()
513 pluralResults[3]= PFT_FEW; in pluralFormatLocaleTest()
514 pluralResults[5]= PFT_OTHER; in pluralFormatLocaleTest()
515 pluralResults[101]= PFT_ONE; in pluralFormatLocaleTest()
516 pluralResults[102]= PFT_TWO; in pluralFormatLocaleTest()
517 pluralResults[103]= PFT_FEW; in pluralFormatLocaleTest()
518 pluralResults[105]= PFT_OTHER; in pluralFormatLocaleTest()
519 helperTestResults(paucal03Locales, 1, testPattern, pluralResults); in pluralFormatLocaleTest()