Lines Matching refs:trie
266 BytesTrie trie(nameTrieBytes); in bytesTrieLookup() local
267 if(USTRINGTRIE_HAS_VALUE(trie.next(s, -1))) { in bytesTrieLookup()
268 return trie.getValue(); in bytesTrieLookup()
349 ucharsTrieMatches(UCharsTrie &trie, in ucharsTrieMatches() argument
361 UStringTrieResult result=trie.first(c); in ucharsTrieMatches()
390 result=trie.next(c); in ucharsTrieMatches()
409 : DictLookup(perfTest), trie(NULL) { in UCharsTrieDictLookup()
424 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in UCharsTrieDictLookup()
429 delete trie; in ~UCharsTrieDictLookup()
434 UCharsTrie *trie; member in UCharsTrieDictLookup
454 ucharsTrieMatches(*trie, &text, lines[i].len, in call()
476 if(!USTRINGTRIE_HAS_VALUE(trie->reset().next(lines[i].name, lines[i].len))) { in call()
511 : DictLookup(perfTest), trie(NULL), noDict(FALSE) { in BytesTrieDictLookup()
532 trie=builder->build(USTRINGTRIE_BUILD_SMALL, errorCode); in BytesTrieDictLookup()
538 delete trie; in ~BytesTrieDictLookup()
543 BytesTrie *trie; member in BytesTrieDictLookup
548 bytesTrieMatches(BytesTrie &trie, in bytesTrieMatches() argument
555 UStringTrieResult result=trie.first(thaiCharToByte(c)); in bytesTrieMatches()
578 result=trie.next(thaiCharToByte(c)); in bytesTrieMatches()
603 bytesTrieMatches(*trie, &text, lines[i].len, in call()
629 UStringTrieResult result=trie->first(thaiCharToByte(line[0])); in call()
636 result=trie->next(thaiCharToByte(line[j])); in call()