Home
last modified time | relevance | path

Searched refs:UCharsTrie (Results 1 – 25 of 68) sorted by relevance

123

/third_party/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp54 UCharsTrie *buildLargeTrie(int32_t numUniqueFirst);
57 UCharsTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
69 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
71 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
74 void checkNextWithState64(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
75 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
76 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
77 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Ducharstrie.h53 class U_COMMON_API UCharsTrie : public UMemory {
69 UCharsTrie(ConstChar16Ptr trieUChars) in UCharsTrie() function
77 ~UCharsTrie();
85 UCharsTrie(const UCharsTrie &other) in UCharsTrie() function
94 UCharsTrie &reset() { in reset()
127 UCharsTrie &resetToState64(uint64_t state) { in resetToState64()
146 friend class UCharsTrie;
160 const UCharsTrie &saveState(State &state) const { in saveState()
177 UCharsTrie &resetToState(const State &state) { in resetToState()
320 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
[all …]
Ducharstriebuilder.h92 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
153 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength()
154 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch()
155 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
/third_party/node/deps/icu-small/source/common/unicode/
Ducharstrie.h53 class U_COMMON_API UCharsTrie : public UMemory {
69 UCharsTrie(ConstChar16Ptr trieUChars) in UCharsTrie() function
77 ~UCharsTrie();
85 UCharsTrie(const UCharsTrie &other) in UCharsTrie() function
94 UCharsTrie &reset() { in reset()
127 UCharsTrie &resetToState64(uint64_t state) { in resetToState64()
146 friend class UCharsTrie;
160 const UCharsTrie &saveState(State &state) const { in saveState()
177 UCharsTrie &resetToState(const State &state) { in resetToState()
320 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
[all …]
Ducharstriebuilder.h92 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
153 …virtual int32_t getMaxBranchLinearSubNodeLength() const override { return UCharsTrie::kMaxBranchLi… in getMaxBranchLinearSubNodeLength()
154 virtual int32_t getMinLinearMatch() const override { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch()
155 …virtual int32_t getMaxLinearMatchLength() const override { return UCharsTrie::kMaxLinearMatchLengt… in getMaxLinearMatchLength()
/third_party/icu/icu4c/source/common/unicode/
Ducharstrie.h53 class U_COMMON_API UCharsTrie : public UMemory {
69 UCharsTrie(ConstChar16Ptr trieUChars) in UCharsTrie() function
77 ~UCharsTrie();
85 UCharsTrie(const UCharsTrie &other) in UCharsTrie() function
94 UCharsTrie &reset() { in reset()
127 UCharsTrie &resetToState64(uint64_t state) { in resetToState64()
146 friend class UCharsTrie;
160 const UCharsTrie &saveState(State &state) const { in saveState()
177 UCharsTrie &resetToState(const State &state) { in resetToState()
320 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
[all …]
Ducharstriebuilder.h92 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
153 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength()
154 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch()
155 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Ducharstrie.h50 class U_COMMON_API UCharsTrie : public UMemory {
66 UCharsTrie(ConstChar16Ptr trieUChars) in UCharsTrie() function
74 ~UCharsTrie();
82 UCharsTrie(const UCharsTrie &other) in UCharsTrie() function
91 UCharsTrie &reset() { in reset()
110 friend class UCharsTrie;
124 const UCharsTrie &saveState(State &state) const { in saveState()
141 UCharsTrie &resetToState(const State &state) { in resetToState()
284 Iterator(const UCharsTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
371 UCharsTrie(char16_t *adoptUChars, const char16_t *trieUChars) in UCharsTrie() function
[all …]
Ducharstriebuilder.h89 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
149 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength()
150 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch()
151 virtual int32_t getMaxLinearMatchLength() const { return UCharsTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
/third_party/skia/third_party/externals/icu/source/common/
Ducharstrie.cpp27 UCharsTrie::~UCharsTrie() { in ~UCharsTrie()
32 UCharsTrie::current() const { in current()
44 UCharsTrie::firstForCodePoint(UChar32 cp) { in firstForCodePoint()
53 UCharsTrie::nextForCodePoint(UChar32 cp) { in nextForCodePoint()
62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext()
124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl()
155 UCharsTrie::next(int32_t uchar) { in next()
178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next()
286 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch()
324 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue()
[all …]
Ducharstrieiterator.cpp24 UCharsTrie::Iterator::Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, in Iterator()
46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator()
77 UCharsTrie::Iterator::~Iterator() { in ~Iterator()
81 UCharsTrie::Iterator &
82 UCharsTrie::Iterator::reset() { in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
101 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Ducharstriebuilder.cpp145 UCharsTrie *
148 UCharsTrie *newTrie=NULL; in build()
150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
376 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
381 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
405 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
410 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
[all …]
Dfilteredbrk.cpp141 SimpleFilteredSentenceBreakData(UCharsTrie *forwards, UCharsTrie *backwards ) in SimpleFilteredSentenceBreakData()
158 const UCharsTrie &getForwardsPartialTrie() const { return *fForwardsPartialTrie; } in getForwardsPartialTrie()
159 const UCharsTrie &getBackwardsTrie() const { return *fBackwardsTrie; } in getBackwardsTrie()
164 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M."
165 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs.
176 …SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *backwa…
260 …::SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *back… in SimpleFilteredSentenceBreakIterator()
302 UCharsTrie iter(fData->getBackwardsTrie()); in breakExceptionAt()
340 UCharsTrie iter(fData->getForwardsPartialTrie()); in breakExceptionAt()
609 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build()
[all …]
/third_party/icu/icu4c/source/common/
Ducharstrie.cpp27 UCharsTrie::~UCharsTrie() { in ~UCharsTrie()
32 UCharsTrie::current() const { in current()
44 UCharsTrie::firstForCodePoint(UChar32 cp) { in firstForCodePoint()
53 UCharsTrie::nextForCodePoint(UChar32 cp) { in nextForCodePoint()
62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext()
124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl()
155 UCharsTrie::next(int32_t uchar) { in next()
178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next()
286 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch()
324 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue()
[all …]
Ducharstrieiterator.cpp24 UCharsTrie::Iterator::Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, in Iterator()
46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator()
77 UCharsTrie::Iterator::~Iterator() { in ~Iterator()
81 UCharsTrie::Iterator &
82 UCharsTrie::Iterator::reset() { in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
101 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Ducharstriebuilder.cpp145 UCharsTrie *
148 UCharsTrie *newTrie=NULL; in build()
150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
376 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
381 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
405 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
410 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
[all …]
Dfilteredbrk.cpp141 SimpleFilteredSentenceBreakData(UCharsTrie *forwards, UCharsTrie *backwards ) in SimpleFilteredSentenceBreakData()
158 const UCharsTrie &getForwardsPartialTrie() const { return *fForwardsPartialTrie; } in getForwardsPartialTrie()
159 const UCharsTrie &getBackwardsTrie() const { return *fBackwardsTrie; } in getBackwardsTrie()
164 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M."
165 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs.
176 …SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *backwa…
260 …::SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *back… in SimpleFilteredSentenceBreakIterator()
302 UCharsTrie iter(fData->getBackwardsTrie()); in breakExceptionAt()
340 UCharsTrie iter(fData->getForwardsPartialTrie()); in breakExceptionAt()
609 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducharstrie.cpp27 UCharsTrie::~UCharsTrie() { in ~UCharsTrie()
32 UCharsTrie::current() const { in current()
44 UCharsTrie::firstForCodePoint(UChar32 cp) { in firstForCodePoint()
53 UCharsTrie::nextForCodePoint(UChar32 cp) { in nextForCodePoint()
62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext()
124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl()
155 UCharsTrie::next(int32_t uchar) { in next()
178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next()
286 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch()
324 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue()
[all …]
Ducharstrieiterator.cpp24 UCharsTrie::Iterator::Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, in Iterator()
46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator()
77 UCharsTrie::Iterator::~Iterator() { in ~Iterator()
81 UCharsTrie::Iterator &
82 UCharsTrie::Iterator::reset() { in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
101 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Ducharstriebuilder.cpp145 UCharsTrie *
148 UCharsTrie *newTrie=NULL; in build()
150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
376 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
381 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
405 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
410 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
[all …]
Dfilteredbrk.cpp140 SimpleFilteredSentenceBreakData(UCharsTrie *forwards, UCharsTrie *backwards ) in SimpleFilteredSentenceBreakData()
157 const UCharsTrie &getForwardsPartialTrie() const { return *fForwardsPartialTrie; } in getForwardsPartialTrie()
158 const UCharsTrie &getBackwardsTrie() const { return *fBackwardsTrie; } in getBackwardsTrie()
163 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M."
164 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs.
175 …SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *backwa…
259 …::SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *back… in SimpleFilteredSentenceBreakIterator()
301 UCharsTrie iter(fData->getBackwardsTrie()); in breakExceptionAt()
339 UCharsTrie iter(fData->getForwardsPartialTrie()); in breakExceptionAt()
608 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducharstrie.cpp27 UCharsTrie::~UCharsTrie() { in ~UCharsTrie()
32 UCharsTrie::current() const { in current()
44 UCharsTrie::firstForCodePoint(UChar32 cp) { in firstForCodePoint()
53 UCharsTrie::nextForCodePoint(UChar32 cp) { in nextForCodePoint()
62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext()
124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl()
155 UCharsTrie::next(int32_t uchar) { in next()
178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next()
286 UCharsTrie::findUniqueValueFromBranch(const UChar *pos, int32_t length, in findUniqueValueFromBranch()
324 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue()
[all …]
Ducharstrieiterator.cpp24 UCharsTrie::Iterator::Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, in Iterator()
46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator()
77 UCharsTrie::Iterator::~Iterator() { in ~Iterator()
81 UCharsTrie::Iterator &
82 UCharsTrie::Iterator::reset() { in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
101 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Ducharstriebuilder.cpp145 UCharsTrie *
148 UCharsTrie *newTrie=NULL; in build()
150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
376 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
381 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
405 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
410 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
[all …]
Dfilteredbrk.cpp140 SimpleFilteredSentenceBreakData(UCharsTrie *forwards, UCharsTrie *backwards ) in SimpleFilteredSentenceBreakData()
146 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M."
147 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs.
158 …SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *backwa…
242 …::SimpleFilteredSentenceBreakIterator(BreakIterator *adopt, UCharsTrie *forwards, UCharsTrie *back… in SimpleFilteredSentenceBreakIterator()
582 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build()
583 LocalPointer<UCharsTrie> forwardsPartialTrie; // Has ".a" for "a.M." in build()

123