Home | History | Annotate | Download | only in i18n

Lines Matching defs:CEList

43 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CEList)
46 int32_t CEList::_active = 0;
47 int32_t CEList::_histogram[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
50 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status)
115 CEList::~CEList()
126 void CEList::add(uint32_t ce, UErrorCode &status)
159 uint32_t CEList::get(int32_t index) const
168 uint32_t &CEList::operator[](int32_t index) const
173 UBool CEList::matchesAt(int32_t offset, const CEList *other) const
188 int32_t CEList::size() const
301 CEList *list = (CEList *) obj;
399 void put(const UnicodeString *string, const CEList *ces, UErrorCode &status);
400 const CEList *get(const UnicodeString *string);
401 void free(const CEList *list);
434 void StringToCEsMap::put(const UnicodeString *string, const CEList *ces, UErrorCode &status)
439 const CEList *StringToCEsMap::get(const UnicodeString *string)
441 return (const CEList *) uhash_get(map, string);
729 CEList *ceList = new CEList(coll, *st, status);
731 ceToCharsStartingWith->put(ceList->get(0), st, status);
734 charsToCEList->put(st, ceList, status);
736 delete ceList;
748 CEList *ceList = new CEList(coll, *st, status);
750 ceToCharsStartingWith->put(ceList->get(0), st, status);
753 charsToCEList->put(st, ceList, status);
755 delete ceList;
782 CEList hanList(coll, hanString, status);
783 CEList jamoList(coll, jamoString, status);
845 const CEList *CollData::getCEList(const UnicodeString *string) const
851 const CEList *list = new CEList(coll, *string, status);
862 void CollData::freeCEList(const CEList *list)
869 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset, int32_t *history) const
878 uint32_t ce = ceList->get(offset);
879 int32_t maxOffset = ceList->size();
889 const CEList *ceList2 = charsToCEList->get(string);
892 const CEList *ceList2 = new CEList(coll, *string, status);
900 if (ceList->matchesAt(offset, ceList2)) {
908 rlength = minLengthInChars(ceList, roffset, history);
944 rlength = minLengthInChars(ceList, roffset, history);
959 uint32_t jce = ceList->get(roffset);
980 if (roffset < maxOffset && isContinuation(ceList->get(roffset))) {
986 rlength = minLengthInChars(ceList, roffset, history);
1007 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset) const
1009 int32_t clength = ceList->size();
1016 int32_t minLength = minLengthInChars(ceList, offset, history);