Home | History | Annotate | Download | only in i18n

Lines Matching refs:CEList

42 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CEList)
45 int32_t CEList::_active = 0;
46 int32_t CEList::_histogram[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
49 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status)
114 CEList::~CEList()
125 void CEList::add(uint32_t ce, UErrorCode &status)
158 uint32_t CEList::get(int32_t index) const
167 uint32_t &CEList::operator[](int32_t index) const
172 UBool CEList::matchesAt(int32_t offset, const CEList *other) const
187 int32_t CEList::size() const
370 void put(const UnicodeString *string, const CEList *ces, UErrorCode &status);
371 const CEList *get(const UnicodeString *string);
372 void free(const CEList *list);
405 void StringToCEsMap::put(const UnicodeString *string, const CEList *ces, UErrorCode &status)
410 const CEList *StringToCEsMap::get(const UnicodeString *string)
412 return (const CEList *) uhash_get(map, string);
417 CEList *list = (CEList *) obj;
724 CEList *ceList = new CEList(coll, *st, status);
726 ceToCharsStartingWith->put(ceList->get(0), st, status);
729 charsToCEList->put(st, ceList, status);
731 delete ceList;
743 CEList *ceList = new CEList(coll, *st, status);
745 ceToCharsStartingWith->put(ceList->get(0), st, status);
748 charsToCEList->put(st, ceList, status);
750 delete ceList;
777 CEList hanList(coll, hanString, status);
778 CEList jamoList(coll, jamoString, status);
840 const CEList *CollData::getCEList(const UnicodeString *string) const
846 const CEList *list = new CEList(coll, *string, status);
857 void CollData::freeCEList(const CEList *list)
864 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset, int32_t *history) const
873 uint32_t ce = ceList->get(offset);
874 int32_t maxOffset = ceList->size();
884 const CEList *ceList2 = charsToCEList->get(string);
887 const CEList *ceList2 = new CEList(coll, *string, status);
895 if (ceList->matchesAt(offset, ceList2)) {
902 rlength = minLengthInChars(ceList, roffset, history);
938 rlength = minLengthInChars(ceList, roffset, history);
953 uint32_t jce = ceList->get(roffset);
974 if (roffset < maxOffset && isContinuation(ceList->get(roffset))) {
980 rlength = minLengthInChars(ceList, roffset, history);
1001 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset) const
1003 int32_t clength = ceList->size();
1010 int32_t minLength = minLengthInChars(ceList, offset, history);