Home
last modified time | relevance | path

Searched refs:BytesTrie (Results 1 – 10 of 10) sorted by relevance

/external/icu4c/test/intltest/
Dbytestrietest.cpp48 BytesTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
60 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
62 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
63 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
64 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
65 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
66 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
67 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
266 BytesTrie *BytesTrieTest::buildMonthsTrie(UStringTrieBuildOption buildOption) { in buildMonthsTrie()
307 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue()
[all …]
/external/icu4c/common/unicode/
Dbytestrie.h48 class U_COMMON_API BytesTrie : public UMemory {
64 BytesTrie(const void *trieBytes) in BytesTrie() function
72 ~BytesTrie();
80 BytesTrie(const BytesTrie &other) in BytesTrie() function
89 BytesTrie &reset() { in reset()
108 friend class BytesTrie;
122 const BytesTrie &saveState(State &state) const { in saveState()
139 BytesTrie &resetToState(const State &state) { in resetToState()
268 Iterator(const BytesTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
351 BytesTrie(void *adoptBytes, const void *trieBytes) in BytesTrie() function
[all …]
Dbytestriebuilder.h80 BytesTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
129 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return BytesTrie::kMaxBranchLinearSubNod… in getMaxBranchLinearSubNodeLength()
130 virtual int32_t getMinLinearMatch() const { return BytesTrie::kMinLinearMatch; } in getMinLinearMatch()
131 virtual int32_t getMaxLinearMatchLength() const { return BytesTrie::kMaxLinearMatchLength; } in getMaxLinearMatchLength()
Durename.h1792 #define BytesTrie U_ICU_ENTRY_POINT_RENAME(BytesTrie) macro
/external/icu4c/common/
Dbytestrieiterator.cpp23 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, in Iterator()
45 BytesTrie::Iterator::Iterator(const BytesTrie &trie, int32_t maxStringLength, in Iterator()
76 BytesTrie::Iterator::~Iterator() { in ~Iterator()
81 BytesTrie::Iterator &
82 BytesTrie::Iterator::reset() { in reset()
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
100 BytesTrie::Iterator::next(UErrorCode &errorCode) { in next()
171 BytesTrie::Iterator::truncateAndStop() { in truncateAndStop()
180 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dbytestrie.cpp24 BytesTrie::~BytesTrie() { in ~BytesTrie()
30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { in readValue()
47 BytesTrie::jumpByDelta(const uint8_t *pos) { in jumpByDelta()
67 BytesTrie::current() const { in current()
79 BytesTrie::branchNext(const uint8_t *pos, int32_t length, int32_t inByte) { in branchNext()
149 BytesTrie::nextImpl(const uint8_t *pos, int32_t inByte) { in nextImpl()
181 BytesTrie::next(int32_t inByte) { in next()
207 BytesTrie::next(const char *s, int32_t sLength) { in next()
314 BytesTrie::findUniqueValueFromBranch(const uint8_t *pos, int32_t length, in findUniqueValueFromBranch()
351 BytesTrie::findUniqueValue(const uint8_t *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue()
[all …]
Dbytestriebuilder.cpp188 BytesTrie *
191 BytesTrie *newTrie=NULL; in build()
193 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
424 if(0<=i && i<=BytesTrie::kMaxOneByteValue) { in writeValueAndFinal()
425 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal()
430 intBytes[0]=(char)BytesTrie::kFiveByteValueLead; in writeValueAndFinal()
439 if(i<=BytesTrie::kMaxTwoByteValue) { in writeValueAndFinal()
440 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()
442 if(i<=BytesTrie::kMaxThreeByteValue) { in writeValueAndFinal()
443 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()
[all …]
Dpropname.cpp217 UBool PropNameData::containsName(BytesTrie &trie, const char *name) { in containsName()
258 BytesTrie trie(bytesTries+bytesTrieOffset); in getPropertyOrValueEnum()
Dpropname.h109 static UBool containsName(BytesTrie &trie, const char *name);
/external/icu4c/test/perf/dicttrieperf/
Ddicttrieperf.cpp264 BytesTrie trie(nameTrieBytes); in bytesTrieLookup()
591 BytesTrie *trie;
596 bytesTrieMatches(BytesTrie &trie, in bytesTrieMatches()