Home
last modified time | relevance | path

Searched refs:trie1 (Results 1 – 25 of 40) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/validator_ragel/
H A Dtrie_test.py57 trie1 = trie.Node()
62 trie.AddToUncompressedTrie(trie1, ['0', '1', '2'], accept1)
63 trie.AddToUncompressedTrie(trie1, ['0', '1', '3'], accept1)
64 trie.AddToUncompressedTrie(trie1, ['0', '1', '4'], accept1)
65 trie.AddToUncompressedTrie(trie1, ['0', '1', '5'], accept1)
72 compressed_trie1 = node_cache.Merge(node_cache.empty_node, trie1)
78 for diff in trie.DiffTries(trie1, trie2, node_cache.empty_node, ()):
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/tests/auto/qml/persistenttrie/
H A Dtst_testtrie.cpp142 Trie trie1; in testMerge() local
144 trie1.insert(s); in testMerge()
152 Trie trie3 = trie1.mergeF(trie2); in testMerge()
166 dbg << "] => " << trie1 << " and ["; in testMerge()
219 Trie trie1; in testIntersect() local
221 trie1.insert(s); in testIntersect()
232 Trie trie3 = trie1.intersectF(trie2); in testIntersect()
247 dbg << "] => " << trie1 << " and ["; in testIntersect()
/dports/net/bird2/bird-2.0.8/filter/
H A Dtrie_test.c146 struct f_trie * trie1 = f_new_trie(config->mem, 0); in t_trie_same() local
158 trie_add_prefix(trie1, &n->prefix.net, n->prefix.lo, n->prefix.hi); in t_trie_same()
165 bt_assert(trie_same(trie1, trie2)); in t_trie_same()
/dports/lang/yap/yap-6.2.2/library/tries/
H A Dbase_tries.c262 YAP_Int trie_count_join(TrEntry trie1, TrEntry trie2) { in trie_count_join() argument
263 return core_trie_count_join(TrEntry_trie(trie1), TrEntry_trie(trie2)); in trie_count_join()
268 YAP_Int trie_count_intersect(TrEntry trie1, TrEntry trie2) { in trie_count_intersect() argument
269 return core_trie_count_intersect(TrEntry_trie(trie1), TrEntry_trie(trie2)); in trie_count_intersect()
H A Dbase_tries.h129 inline YAP_Int trie_count_join(TrEntry trie1, TrEntry trie2);
130 inline YAP_Int trie_count_intersect(TrEntry trie1, TrEntry trie2);
/dports/devel/icu-lx/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/devel/icu/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/lang/spidermonkey78/firefox-78.9.0/intl/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/textproc/R-cran-stringi/stringi/src/icu69/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/textproc/R-cran-stringi/stringi/src/icu55/common/
H A Dutrie2_builder.cpp408 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
415 if(trie1==NULL) { in utrie2_fromUTrie()
419 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
425 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
429 if(trie1->data32==NULL) { in utrie2_fromUTrie()
430 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
432 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
434 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
440 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
445 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/firefox/firefox-99.0/intl/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/firefox-legacy/firefox-52.8.0esr/intl/icu/source/common/
H A Dutrie2_builder.cpp410 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
417 if(trie1==NULL) { in utrie2_fromUTrie()
421 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
427 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
431 if(trie1->data32==NULL) { in utrie2_fromUTrie()
432 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
434 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
436 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
442 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
447 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/lang/spidermonkey60/firefox-60.9.0/intl/icu/source/common/
H A Dutrie2_builder.cpp410 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
417 if(trie1==NULL) { in utrie2_fromUTrie()
421 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
427 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
431 if(trie1->data32==NULL) { in utrie2_fromUTrie()
432 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
434 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
436 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
442 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
447 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/mail/thunderbird/thunderbird-91.8.0/intl/icu/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/www/node10/node-v10.24.1/deps/icu-small/source/common/
H A Dutrie2_builder.cpp449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
456 if(trie1==NULL) { in utrie2_fromUTrie()
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
466 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
470 if(trie1->data32==NULL) { in utrie2_fromUTrie()
471 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
473 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
475 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
481 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
486 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/icu4c-57.1/source/common/
H A Dutrie2_builder.cpp408 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
415 if(trie1==NULL) { in utrie2_fromUTrie()
419 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
425 utrie_enum(trie1, NULL, copyEnumRange, &context); in utrie2_fromUTrie()
429 if(trie1->data32==NULL) { in utrie2_fromUTrie()
430 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
432 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
434 if(value!=trie1->initialValue) { in utrie2_fromUTrie()
440 trie1->data32!=NULL ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS, in utrie2_fromUTrie()
445 utrie_printLengths(trie1); in utrie2_fromUTrie()
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/unicode-collation-0.1.3/src/Text/Collate/
H A DTrie.hs33 trie1 <> trie2 = foldr (uncurry insert) trie1 (unfoldTrie trie2) function
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/qmljs/3rdparty/qtcreator-libs/qmljs/
H A Dpersistenttrie.cpp261 bool TrieNode::isSame(const TrieNode::Ptr &trie1, const TrieNode::Ptr &trie2) in isSame() argument
263 if (trie1.data() == trie2.data()) in isSame()
265 if (trie1.isNull() || trie2.isNull()) in isSame()
267 if (trie1->prefix != trie2->prefix) in isSame()
269 QList<TrieNode::Ptr> t1 = trie1->postfixes, t2 =trie2->postfixes; in isSame()
H A Dpersistenttrie.h66 static bool isSame(const Ptr &trie1, const Ptr &trie2); in QT_FORWARD_DECLARE_CLASS()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/qmljs/
H A Dpersistenttrie.cpp261 bool TrieNode::isSame(const TrieNode::Ptr &trie1, const TrieNode::Ptr &trie2) in isSame() argument
263 if (trie1.data() == trie2.data()) in isSame()
265 if (trie1.isNull() || trie2.isNull()) in isSame()
267 if (trie1->prefix != trie2->prefix) in isSame()
269 QList<TrieNode::Ptr> t1 = trie1->postfixes, t2 =trie2->postfixes; in isSame()
H A Dpersistenttrie.h65 static bool isSame(const Ptr &trie1, const Ptr &trie2); in QT_FORWARD_DECLARE_CLASS()

12