Lines Matching refs:BucketList
121 // The BucketList is not in the anonymous namespace because only Clang
124 class BucketList : public UObject {
126 BucketList(UVector *bucketList, UVector *publicBucketList)
127 : bucketList_(bucketList), immutableVisibleList_(publicBucketList) {
136 virtual ~BucketList();
171 BucketList::~BucketList() {
255 // In C++, the ImmutableIndex must own its copy of the BucketList,
260 LocalPointer<BucketList> immutableBucketList(createBucketList(errorCode));
417 BucketList *AlphabeticIndex::createBucketList(UErrorCode &errorCode) const {
445 LocalPointer<UVector> bucketList(new UVector(errorCode), errorCode);
449 bucketList->setDeleter(uprv_deleteUObject);
457 bucketList->addElement(bucket, errorCode);
479 if (skippedScript && bucketList->size() > 1) {
487 bucketList->addElement(bucket, errorCode);
496 bucketList->addElement(bucket, errorCode);
512 for (int32_t i = bucketList->size() - 2;; --i) {
513 Bucket *singleBucket = getBucket(*bucketList, i);
535 bucketList->addElement(bucket, errorCode);
543 if (bucketList->size() == 1) {
545 BucketList *bl = new BucketList(bucketList.getAlias(), bucketList.getAlias());
550 bucketList.orphan();
559 bucketList->addElement(bucket, errorCode); // final
577 BucketList *bl = new BucketList(bucketList.getAlias(), bucketList.getAlias());
582 bucketList.orphan();
587 int32_t i = bucketList->size() - 1;
588 Bucket *nextBucket = getBucket(*bucketList, i);
590 bucket = getBucket(*bucketList, i);
608 // This vector shares its objects with the bucketList.
609 for (int32_t i = 0; i < bucketList->size(); ++i) {
610 bucket = getBucket(*bucketList, i);
616 BucketList *bl = new BucketList(bucketList.getAlias(), publicBucketList.getAlias());
621 bucketList.orphan();