Home
last modified time | relevance | path

Searched refs:fTrie (Results 1 – 25 of 28) sorted by relevance

12

/external/cronet/third_party/icu/source/common/
Drbbidata.cpp86 fTrie = NULL; in init0()
113 fTrie = ucptrie_openFromBinary(UCPTRIE_TYPE_FAST, in init()
115 (uint8_t *)data + fHeader->fTrie, in init()
123 UCPTrieValueWidth width = ucptrie_getValueWidth(fTrie); in init()
152 ucptrie_close(fTrie); in ~RBBIDataWrapper()
153 fTrie = nullptr; in ~RBBIDataWrapper()
451 ucptrie_swap(ds, inBytes+ds->readUInt32(rbbiDH->fTrie), ds->readUInt32(rbbiDH->fTrieLen), in ubrk_swap()
452 outBytes+ds->readUInt32(rbbiDH->fTrie), status); in ubrk_swap()
Drbbisetb.cpp60 fTrie = nullptr; in RBBISetBuilder()
83 ucptrie_close(fTrie); in ~RBBISetBuilder()
324 if (fTrie == nullptr) { in getTrieSize()
326 fTrie = umutablecptrie_buildImmutable( in getTrieSize()
331 fTrieSize = ucptrie_toBinary(fTrie, nullptr, 0, fStatus); in getTrieSize()
348 ucptrie_toBinary(fTrie, in serializeTrie()
Drbbidata.h85 uint32_t fTrie; /* Offset to Trie data for character categories */ member
192 UCPTrie *fTrie; variable
Drbbirb.cpp207 data->fTrie = data->fRTable + data->fRTableLen; in flattenData()
209 data->fStatusTable = data->fTrie + data->fTrieLen; in flattenData()
218 fSetBuilder->serializeTrie ((uint8_t *)data + data->fTrie); in flattenData()
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
Drbbi.cpp768 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleNext()
786 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleSafePrevious()
883 category = trieFunc(fData->fTrie, c); in handleNext()
1030 category = trieFunc(fData->fTrie, c); in handleSafePrevious()
Drbbi_cache.cpp145 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
153 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
171 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
/external/icu/icu4c/source/common/
Drbbidata.cpp86 fTrie = NULL; in init0()
113 fTrie = ucptrie_openFromBinary(UCPTRIE_TYPE_FAST, in init()
115 (uint8_t *)data + fHeader->fTrie, in init()
123 UCPTrieValueWidth width = ucptrie_getValueWidth(fTrie); in init()
152 ucptrie_close(fTrie); in ~RBBIDataWrapper()
153 fTrie = nullptr; in ~RBBIDataWrapper()
451 ucptrie_swap(ds, inBytes+ds->readUInt32(rbbiDH->fTrie), ds->readUInt32(rbbiDH->fTrieLen), in ubrk_swap()
452 outBytes+ds->readUInt32(rbbiDH->fTrie), status); in ubrk_swap()
Drbbisetb.cpp60 fTrie = nullptr; in RBBISetBuilder()
83 ucptrie_close(fTrie); in ~RBBISetBuilder()
324 if (fTrie == nullptr) { in getTrieSize()
326 fTrie = umutablecptrie_buildImmutable( in getTrieSize()
331 fTrieSize = ucptrie_toBinary(fTrie, nullptr, 0, fStatus); in getTrieSize()
348 ucptrie_toBinary(fTrie, in serializeTrie()
Drbbidata.h85 uint32_t fTrie; /* Offset to Trie data for character categories */ member
192 UCPTrie *fTrie; variable
Drbbirb.cpp207 data->fTrie = data->fRTable + data->fRTableLen; in flattenData()
209 data->fStatusTable = data->fTrie + data->fTrieLen; in flattenData()
218 fSetBuilder->serializeTrie ((uint8_t *)data + data->fTrie); in flattenData()
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
Drbbi.cpp768 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleNext()
786 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleSafePrevious()
883 category = trieFunc(fData->fTrie, c); in handleNext()
1030 category = trieFunc(fData->fTrie, c); in handleSafePrevious()
Drbbi_cache.cpp145 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
153 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
171 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java171 public CodePointTrie fTrie; field in RBBIDataWrapper
263 int fTrie; // Offset to Trie data for character categories field in RBBIDataWrapper.RBBIDataHeader
310 This.fHeader.fTrie = bytes.getInt(); in get()
361 ICUBinary.skipBytes(bytes, This.fHeader.fTrie - pos); // seek buffer from end of in get()
362 pos = This.fHeader.fTrie; // previous section to the start of the trie in get()
369 This.fTrie = CodePointTrie.fromBinary( in get()
524 category = fTrie.get(char32); in dumpCharCategories()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java174 public CodePointTrie fTrie; field in RBBIDataWrapper
267 int fTrie; // Offset to Trie data for character categories field in RBBIDataWrapper.RBBIDataHeader
314 This.fHeader.fTrie = bytes.getInt(); in get()
365 ICUBinary.skipBytes(bytes, This.fHeader.fTrie - pos); // seek buffer from end of in get()
366 pos = This.fHeader.fTrie; // previous section to the start of the trie in get()
373 This.fTrie = CodePointTrie.fromBinary( in get()
528 category = fTrie.get(char32); in dumpCharCategories()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBISetBuilder.java122 MutableCodePointTrie fTrie; // The mapping TRIE that is the end result of processing field in RBBISetBuilder
314 fTrie = new MutableCodePointTrie(0, // Initial value for all code points. in buildTrie()
318 fTrie.setRange(rlRange.fStartChar, // Range start in buildTrie()
358 fFrozenTrie = fTrie.buildImmutable(CodePointTrie.Type.FAST, in freezeTrieIfNotYet()
362 fTrie = null; in freezeTrieIfNotYet()
DRuleBasedBreakIterator.java834 CodePointTrie trie = fRData.fTrie; in handleNext()
1007 CodePointTrie trie = fRData.fTrie; in handleSafePrevious()
1220 category = (short)fRData.fTrie.get(c); in populateDictionary()
1226 category = (short)fRData.fTrie.get(c); in populateDictionary()
1244 category = (short)fRData.fTrie.get(c); in populateDictionary()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBISetBuilder.java123 MutableCodePointTrie fTrie; // The mapping TRIE that is the end result of processing field in RBBISetBuilder
315 fTrie = new MutableCodePointTrie(0, // Initial value for all code points. in buildTrie()
319 fTrie.setRange(rlRange.fStartChar, // Range start in buildTrie()
359 fFrozenTrie = fTrie.buildImmutable(CodePointTrie.Type.FAST, in freezeTrieIfNotYet()
363 fTrie = null; in freezeTrieIfNotYet()
DRuleBasedBreakIterator.java813 CodePointTrie trie = fRData.fTrie; in handleNext()
986 CodePointTrie trie = fRData.fTrie; in handleSafePrevious()
1199 category = (short)fRData.fTrie.get(c); in populateDictionary()
1205 category = (short)fRData.fTrie.get(c); in populateDictionary()
1223 category = (short)fRData.fTrie.get(c); in populateDictionary()
/external/icu/libicu/cts_headers/
Drbbidata.h85 uint32_t fTrie; /* Offset to Trie data for character categories */ member
192 UCPTrie *fTrie; variable
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
/external/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp614 BytesTrie fTrie; member in __anon548af6d60111::Parser
621 Parser() : fSource(""), fTrie(u"") {} in Parser()
624 : fSource(source), fTrie(gSerializedUnitExtrasStemTrie) {} in Parser()
634 fTrie.reset(); in nextToken()
641 auto result = fTrie.next(fSource.data()[fIndex++]); in nextToken()
648 match = fTrie.getValue(); in nextToken()
/external/cronet/third_party/icu/source/i18n/
Dmeasunit_extra.cpp614 BytesTrie fTrie; member in __anon2a780d020111::Parser
621 Parser() : fSource(""), fTrie(u"") {} in Parser()
624 : fSource(source), fTrie(gSerializedUnitExtrasStemTrie) {} in Parser()
634 fTrie.reset(); in nextToken()
641 auto result = fTrie.next(fSource.data()[fIndex++]); in nextToken()
648 match = fTrie.getValue(); in nextToken()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java697 boolean has8BitsTrie = dw.fTrie.getValueWidth() == CodePointTrie.ValueWidth.BITS_8;
774 boolean has8BitsTrie = dw.fTrie.getValueWidth() == CodePointTrie.ValueWidth.BITS_8;
851 boolean has8BitsTrie = dw.fTrie.getValueWidth() == CodePointTrie.ValueWidth.BITS_8;

12