Lines Matching refs:trie
262 BytesTrie trie(nameTrieBytes); in bytesTrieLookup() local
263 if(USTRINGTRIE_HAS_VALUE(trie.next(s, -1))) { in bytesTrieLookup()
264 return trie.getValue(); in bytesTrieLookup()
345 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() argument
357 UStringTrieResult result=trie.first(c); in ucharsTrieMatches()
386 result=trie.next(c); in ucharsTrieMatches()
405 : DictLookup(perfTest), trie(NULL) { in UCharsTrieDictLookup()
420 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in UCharsTrieDictLookup()
425 delete trie; in ~UCharsTrieDictLookup()
430 UCharsTrie *trie; member in UCharsTrieDictLookup
450 ucharsTrieMatches(*trie, &text, lines[i].len, in call()
472 if(!USTRINGTRIE_HAS_VALUE(trie->reset().next(lines[i].name, lines[i].len))) { in call()
507 : DictLookup(perfTest), trie(NULL), noDict(FALSE) { in BytesTrieDictLookup()
528 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in BytesTrieDictLookup()
534 delete trie; in ~BytesTrieDictLookup()
539 BytesTrie *trie; member in BytesTrieDictLookup
544 bytesTrieMatches(BytesTrie &trie, in bytesTrieMatches() argument
551 UStringTrieResult result=trie.first(thaiCharToByte(c)); in bytesTrieMatches()
574 result=trie.next(thaiCharToByte(c)); in bytesTrieMatches()
599 bytesTrieMatches(*trie, &text, lines[i].len, in call()
625 UStringTrieResult result=trie->first(thaiCharToByte(line[0])); in call()
632 result=trie->next(thaiCharToByte(line[j])); in call()