Lines Matching refs:cw

81     void checkAllocWeights(CollationWeights &cw,
504 void CollationTest::checkAllocWeights(CollationWeights &cw, in checkAllocWeights() argument
507 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
515 uint32_t w = cw.nextWeight(); in checkAllocWeights()
540 CollationWeights cw; in TestCollationWeights() local
544 cw.initForPrimary(FALSE); in TestCollationWeights()
546 checkAllocWeights(cw, 0x10000000, 0x13000000, 255, 1, 1); in TestCollationWeights()
547 checkAllocWeights(cw, 0x10000000, 0x13000000, 255, 2, 254); in TestCollationWeights()
549 checkAllocWeights(cw, 0x10fefe40, 0x12030300, 260, 2, 255); in TestCollationWeights()
551 checkAllocWeights(cw, 0x10fefe40, 0x12030300, 600, 2, 254); in TestCollationWeights()
557 checkAllocWeights(cw, 0x10fffe00, 0x12020300, 1 + 64516 + 254 + 1, 3, 64516); in TestCollationWeights()
559 checkAllocWeights(cw, 0x10ff0000, 0x11040000, 2, 2, 2); in TestCollationWeights()
561 checkAllocWeights(cw, 0x1020ff00, 0x10210400, 2, 3, 2); in TestCollationWeights()
565 cw.initForPrimary(TRUE); in TestCollationWeights()
567 checkAllocWeights(cw, 0x10000000, 0x13000000, 252, 1, 1); in TestCollationWeights()
568 checkAllocWeights(cw, 0x10000000, 0x13000000, 252, 2, 251); in TestCollationWeights()
570 checkAllocWeights(cw, 0x10fdfe40, 0x12050300, 260, 2, 252); in TestCollationWeights()
572 checkAllocWeights(cw, 0x10fe0000, 0x11060000, 2, 2, 2); in TestCollationWeights()
574 checkAllocWeights(cw, 0x1020ff00, 0x10210400, 2, 3, 2); in TestCollationWeights()
578 cw.initForSecondary(); in TestCollationWeights()
580 checkAllocWeights(cw, 0xfb20, 0x10000, 20, 3, 4); in TestCollationWeights()
583 cw.initForTertiary(); in TestCollationWeights()
585 checkAllocWeights(cw, 0x3d02, 0x4000, 10, 3, 2); in TestCollationWeights()