Searched refs:UCharsTrie (Results 1 – 10 of 10) 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() 282 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode); 369 UCharsTrie(UChar *adoptUChars, const UChar *trieUChars) in UCharsTrie() function [all …]
|
D | ucharstriebuilder.h | 84 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 141 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength() 142 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch() 143 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
|
/external/icu4c/common/ |
D | ucharstrie.cpp | 25 UCharsTrie::~UCharsTrie() { in ~UCharsTrie() 30 UCharsTrie::current() const { in current() 42 UCharsTrie::firstForCodePoint(UChar32 cp) { in firstForCodePoint() 51 UCharsTrie::nextForCodePoint(UChar32 cp) { in nextForCodePoint() 60 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() 122 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl() 153 UCharsTrie::next(int32_t uchar) { in next() 176 UCharsTrie::next(const UChar *s, int32_t sLength) { in next() 283 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch() 321 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue() [all …]
|
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 | ucharstriebuilder.cpp | 143 UCharsTrie * 146 UCharsTrie *newTrie=NULL; in build() 148 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build() 374 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal() 379 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal() 380 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal() 388 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal() 403 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType() 404 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType() 408 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType() [all …]
|
D | dictionarydata.h | 27 class UCharsTrie; variable
|
D | dictionarydata.cpp | 39 UCharsTrie uct(characters); in matches()
|
/external/icu4c/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 346 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() 431 UCharsTrie *trie;
|
/external/icu4c/tools/gendict/ |
D | gendict.cpp | 488 UCharsTrie::Iterator it((const UChar *)outData, outDataSize, status); in main()
|