Lines Matching refs:trie
264 BytesTrie trie(nameTrieBytes); in bytesTrieLookup() local
265 if(USTRINGTRIE_HAS_VALUE(trie.next(s, -1))) { in bytesTrieLookup()
266 return trie.getValue(); in bytesTrieLookup()
397 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() argument
409 UStringTrieResult result=trie.first(c); in ucharsTrieMatches()
438 result=trie.next(c); in ucharsTrieMatches()
457 : DictLookup(perfTest), trie(NULL) { in UCharsTrieDictLookup()
472 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in UCharsTrieDictLookup()
477 delete trie; in ~UCharsTrieDictLookup()
482 UCharsTrie *trie; member in UCharsTrieDictLookup
502 ucharsTrieMatches(*trie, &text, lines[i].len, in call()
524 if(!USTRINGTRIE_HAS_VALUE(trie->reset().next(lines[i].name, lines[i].len))) { in call()
559 : DictLookup(perfTest), trie(NULL), noDict(FALSE) { in BytesTrieDictLookup()
580 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in BytesTrieDictLookup()
586 delete trie; in ~BytesTrieDictLookup()
591 BytesTrie *trie; member in BytesTrieDictLookup
596 bytesTrieMatches(BytesTrie &trie, in bytesTrieMatches() argument
603 UStringTrieResult result=trie.first(thaiCharToByte(c)); in bytesTrieMatches()
626 result=trie.next(thaiCharToByte(c)); in bytesTrieMatches()
651 bytesTrieMatches(*trie, &text, lines[i].len, in call()
677 UStringTrieResult result=trie->first(thaiCharToByte(line[0])); in call()
684 result=trie->next(thaiCharToByte(line[j])); in call()