/external/icu/icu4c/source/test/intltest/ |
D | ucharstrietest.cpp | 51 UCharsTrie *buildLargeTrie(int32_t numUniqueFirst); 54 UCharsTrie *buildMonthsTrie(UStringTrieBuildOption buildOption); 66 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 68 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 69 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 70 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 71 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 72 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 73 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 295 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestNextForCodePoint() [all …]
|
/external/icu/icu4c/source/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 | 87 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 147 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength() 148 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch() 149 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
|
/external/icu/icu4c/source/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 | filteredbrk.cpp | 138 SimpleFilteredSentenceBreakData(UCharsTrie *forwards, UCharsTrie *backwards ) in SimpleFilteredSentenceBreakData() 144 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M." 145 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs. 156 …SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *backwa… 240 …::SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *back… in SimpleFilteredSentenceBreakIterator() 548 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build() 549 LocalPointer<UCharsTrie> forwardsPartialTrie; // Has ".a" for "a.M." in build()
|
D | dictionarydata.h | 27 class UCharsTrie; variable
|
D | dictionarydata.cpp | 47 UCharsTrie uct(characters); in matches()
|
/external/icu/icu4c/source/i18n/ |
D | collationsets.cpp | 217 UCharsTrie::Iterator prefixes(p, 0, errorCode); in comparePrefixes() 218 UCharsTrie::Iterator basePrefixes(q, 0, errorCode); in comparePrefixes() 262 UCharsTrie::Iterator suffixes(p, 0, errorCode); in compareContractions() 263 UCharsTrie::Iterator baseSuffixes(q, 0, errorCode); in compareContractions() 308 UCharsTrie::Iterator prefixes(p, 0, errorCode); in addPrefixes() 328 UCharsTrie::Iterator suffixes(p, 0, errorCode); in addContractions() 545 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in handlePrefixes() 571 UCharsTrie::Iterator suffixes(p + 2, 0, errorCode); in handleContractions()
|
D | collationiterator.cpp | 124 void saveTrieState(const UCharsTrie &trie) { trie.saveState(state); } in saveTrieState() 125 void resetToTrieState(UCharsTrie &trie) const { trie.resetToState(state); } in resetToTrieState() 142 UCharsTrie::State state; 453 UCharsTrie prefixes(p); in getCE32FromPrefix() 501 UCharsTrie suffixes(p); in nextCE32FromContraction() 556 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32, in nextCE32FromDiscontiguousContraction()
|
D | collationiterator.h | 26 class UCharsTrie; variable 280 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32,
|
D | collationfastlatinbuilder.cpp | 359 UCharsTrie::Iterator suffixes(p + 2, 0, errorCode); in getCEsFromContractionCE32()
|
D | collationdatabuilder.cpp | 811 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in copyFromBaseCE32() 881 UCharsTrie::Iterator suffixes(p + 2, 0, errorCode); in copyContractionsFromBaseCE32()
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 345 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() 430 UCharsTrie *trie;
|
/external/icu/icu4c/source/tools/gendict/ |
D | gendict.cpp | 463 UCharsTrie::Iterator it((const UChar *)outData, outDataSize, status); in main()
|