Home
last modified time | relevance | path

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

12

/third_party/node/deps/icu-small/source/common/
Drbbidata.cpp86 fTrie = nullptr; 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()
Drbbi.cpp738 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleNext()
756 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleSafePrevious()
853 category = trieFunc(fData->fTrie, c); in handleNext()
1000 category = trieFunc(fData->fTrie, c); in handleSafePrevious()
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
/third_party/skia/third_party/externals/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()
Drbbi.cpp754 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleNext()
772 bool use8BitsTrie = ucptrie_getValueWidth(fData->fTrie) == UCPTRIE_VALUE_BITS_8; in handleSafePrevious()
869 category = trieFunc(fData->fTrie, c); in handleNext()
1016 category = trieFunc(fData->fTrie, c); in handleSafePrevious()
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
/third_party/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()
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()
Drbbisetb.h125 UCPTrie *fTrie; // the Unicode Sets. variable
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRBBISetBuilder.java129 Trie2Writable fTrie; // The mapping TRIE that is the end result of processing field in RBBISetBuilder
297 fTrie = new Trie2Writable(0, // Initial value for all code points. in buildTrie()
301 fTrie.setRange( in buildTrie()
337 fFrozenTrie = fTrie.toTrie2_16(); in getTrieSize()
338 fTrie = null; in getTrieSize()
351 fFrozenTrie = fTrie.toTrie2_16(); in serializeTrie()
352 fTrie = null; in serializeTrie()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DRBBIDataWrapper.java140 public Trie2 fTrie; field in RBBIDataWrapper
231 int fTrie; // Offset to Trie data for character categories field in RBBIDataWrapper.RBBIDataHeader
278 This.fHeader.fTrie = bytes.getInt(); in get()
329 ICUBinary.skipBytes(bytes, This.fHeader.fTrie - pos); // seek buffer from end of in get()
330 pos = This.fHeader.fTrie; // previous section to the start of the trie in get()
337 This.fTrie = Trie2.createFromSerialized(bytes); // Deserialize the TRIE, leaving buffer in get()
480 category = fTrie.get(char32); in dumpCharCategories()
/third_party/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasunit_extra.cpp618 BytesTrie fTrie; member in __anon14f466710111::Parser
625 Parser() : fSource(""), fTrie(u"") {} in Parser()
628 : fSource(source), fTrie(gSerializedUnitExtrasStemTrie) {} in Parser()
638 fTrie.reset(); in nextToken()
645 auto result = fTrie.next(fSource.data()[fIndex++]); in nextToken()
652 match = fTrie.getValue(); in nextToken()
/third_party/node/deps/icu-small/source/i18n/
Dmeasunit_extra.cpp614 BytesTrie fTrie; member in __anonc7a993120111::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()
/third_party/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp614 BytesTrie fTrie; member in __anonfb2bf0230111::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()

12