Home | History | Annotate | Download | only in dicttrieperf

Lines Matching refs:trie

266     BytesTrie trie(nameTrieBytes);
267 if(USTRINGTRIE_HAS_VALUE(trie.next(s, -1))) {
268 return trie.getValue();
343 // Note: CompactTrieDictionary::matches() is part of its trie implementation,
346 // check the trie state each time and load/store state in the object.
349 ucharsTrieMatches(UCharsTrie &trie,
361 UStringTrieResult result=trie.first(c);
390 result=trie.next(c);
409 : DictLookup(perfTest), trie(NULL) {
424 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode);
429 delete trie;
434 UCharsTrie *trie;
454 ucharsTrieMatches(*trie
476 if(!USTRINGTRIE_HAS_VALUE(trie->reset().next(lines[i].name, lines[i].len))) {
511 : DictLookup(perfTest), trie(NULL), noDict(FALSE) {
532 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode);
538 delete trie;
543 BytesTrie *trie;
548 bytesTrieMatches(BytesTrie &trie,
555 UStringTrieResult result=trie.first(thaiCharToByte(c));
578 result=trie.next(thaiCharToByte(c));
603 bytesTrieMatches(*trie, &text, lines[i].len,
629 UStringTrieResult result=trie->first(thaiCharToByte(line[0]));
636 result=trie->next(thaiCharToByte(line[j]));