Searched refs:UCharsTrie (Results 1 – 8 of 8) sorted by relevance
/external/icu4c/test/intltest/ |
D | ucharstrietest.cpp | 52 UCharsTrie *buildLargeTrie(int32_t numUniqueFirst); 55 UCharsTrie *buildMonthsTrie(UStringTrieBuildOption buildOption); 67 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 69 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 70 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 71 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 72 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 73 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 74 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 296 LocalPointer<UCharsTrie> trie(buildTrie(data, LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestNextForCodePoint() [all …]
|
/external/icu4c/common/unicode/ |
D | ucharstrie.h | 48 class U_COMMON_API UCharsTrie : public UMemory { 64 UCharsTrie(const UChar *trieUChars) in UCharsTrie() function 72 ~UCharsTrie(); 80 UCharsTrie(const UCharsTrie &other) in UCharsTrie() function 89 UCharsTrie &reset() { in reset() 108 friend class UCharsTrie; 122 const UCharsTrie &saveState(State &state) const { in saveState() 139 UCharsTrie &resetToState(const State &state) { in resetToState() 294 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode); 381 UCharsTrie(UChar *adoptUChars, const UChar *trieUChars) in UCharsTrie() function [all …]
|
D | ucharstriebuilder.h | 79 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 136 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength() 137 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch() 138 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
|
D | urename.h | 2227 #define UCharsTrie U_ICU_ENTRY_POINT_RENAME(UCharsTrie) macro
|
/external/icu4c/common/ |
D | ucharstrieiterator.cpp | 22 UCharsTrie::Iterator::Iterator(const UChar *trieUChars, int32_t maxStringLength, in Iterator() 44 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator() 75 UCharsTrie::Iterator::~Iterator() { in ~Iterator() 79 UCharsTrie::Iterator & 80 UCharsTrie::Iterator::reset() { in reset() 96 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext() 99 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next() 184 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
|
D | ucharstrie.cpp | 24 UCharsTrie::~UCharsTrie() { in ~UCharsTrie() 29 UCharsTrie::current() const { in current() 41 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() 103 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl() 134 UCharsTrie::next(int32_t uchar) { in next() 157 UCharsTrie::next(const UChar *s, int32_t sLength) { in next() 264 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch() 302 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue() 345 UCharsTrie::getNextUChars(Appendable &out) const { in getNextUChars() 378 UCharsTrie::getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out) { in getNextBranchUChars()
|
D | ucharstriebuilder.cpp | 141 UCharsTrie * 144 UCharsTrie *newTrie=NULL; in build() 146 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build() 372 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal() 377 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal() 378 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal() 386 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal() 401 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType() 402 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType() 406 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType() [all …]
|
/external/icu4c/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 397 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() 482 UCharsTrie *trie;
|