Lines Matching defs: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;
722 CEList *ceList = new CEList(coll, *st, status);
724 ceToCharsStartingWith->put(ceList->get(0), st, status);
727 charsToCEList->put(st, ceList, status);
729 delete ceList;
741 CEList *ceList = new CEList(coll, *st, status);
743 ceToCharsStartingWith->put(ceList->get(0), st, status);
746 charsToCEList->put(st, ceList, status);
748 delete ceList;
775 CEList hanList(coll, hanString, status);
776 CEList jamoList(coll, jamoString, status);
838 const CEList *CollData::getCEList(const UnicodeString *string) const
844 const CEList *list = new CEList(coll, *string, status);
855 void CollData::freeCEList(const CEList *list)
862 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset, int32_t *history) const
871 uint32_t ce = ceList->get(offset);
872 int32_t maxOffset = ceList->size();
882 const CEList *ceList2 = charsToCEList->get(string);
885 const CEList *ceList2 = new CEList(coll, *string, status);
893 if (ceList->matchesAt(offset, ceList2)) {
900 rlength = minLengthInChars(ceList, roffset, history);
936 rlength = minLengthInChars(ceList, roffset, history);
951 uint32_t jce = ceList->get(roffset);
972 if (roffset < maxOffset && isContinuation(ceList->get(roffset))) {
978 rlength = minLengthInChars(ceList, roffset, history);
999 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset) const
1001 int32_t clength = ceList->size();
1008 int32_t minLength = minLengthInChars(ceList, offset, history);