/external/marisa-trie/lib/marisa/grimoire/vector/ |
D | vector.h | 43 MARISA_DEBUG_IF(fixed_, MARISA_STATE_ERROR); in push_back() 51 MARISA_DEBUG_IF(fixed_, MARISA_STATE_ERROR); in pop_back() 52 MARISA_DEBUG_IF(size_ == 0, MARISA_STATE_ERROR); in pop_back() 58 MARISA_DEBUG_IF(fixed_, MARISA_STATE_ERROR); in resize() 71 MARISA_DEBUG_IF(fixed_, MARISA_STATE_ERROR); in resize() 83 MARISA_DEBUG_IF(fixed_, MARISA_STATE_ERROR); in reserve() 100 MARISA_THROW_IF(fixed_, MARISA_STATE_ERROR); in shrink() 107 MARISA_THROW_IF(fixed_, MARISA_STATE_ERROR); in fix() 122 MARISA_DEBUG_IF(size_ == 0, MARISA_STATE_ERROR); in front() 126 MARISA_DEBUG_IF(size_ == 0, MARISA_STATE_ERROR); in back() [all …]
|
D | bit-vector.cc | 349 MARISA_DEBUG_IF(ranks_.empty(), MARISA_STATE_ERROR); in rank1() 389 MARISA_DEBUG_IF(select0s_.empty(), MARISA_STATE_ERROR); in select0() 451 MARISA_DEBUG_IF(select1s_.empty(), MARISA_STATE_ERROR); in select1() 515 MARISA_DEBUG_IF(ranks_.empty(), MARISA_STATE_ERROR); in rank1() 558 MARISA_DEBUG_IF(select0s_.empty(), MARISA_STATE_ERROR); in select0() 649 MARISA_DEBUG_IF(select1s_.empty(), MARISA_STATE_ERROR); in select1()
|
D | bit-vector.h | 71 MARISA_DEBUG_IF(ranks_.empty(), MARISA_STATE_ERROR); in rank0()
|
/external/marisa-trie/lib/marisa/ |
D | trie.cc | 69 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in save() 78 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in write() 87 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in lookup() 95 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in reverse_lookup() 103 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in common_prefix_search() 111 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in predictive_search() 119 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in num_tries() 124 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in num_keys() 129 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in num_nodes() 134 MARISA_THROW_IF(trie_.get() == NULL, MARISA_STATE_ERROR); in tail_mode() [all …]
|
D | agent.cc | 36 MARISA_THROW_IF(state_.get() != NULL, MARISA_STATE_ERROR); in init_state()
|
/external/marisa-trie/tests/ |
D | marisa-test.cc | 17 EXCEPT(trie.save("marisa-test.dat"), MARISA_STATE_ERROR); in TestEmptyTrie() 19 EXCEPT(trie.write(::_fileno(stdout)), MARISA_STATE_ERROR); in TestEmptyTrie() 21 EXCEPT(trie.write(::fileno(stdout)), MARISA_STATE_ERROR); in TestEmptyTrie() 23 EXCEPT(std::cout << trie, MARISA_STATE_ERROR); in TestEmptyTrie() 24 EXCEPT(marisa::fwrite(stdout, trie), MARISA_STATE_ERROR); in TestEmptyTrie() 28 EXCEPT(trie.lookup(agent), MARISA_STATE_ERROR); in TestEmptyTrie() 29 EXCEPT(trie.reverse_lookup(agent), MARISA_STATE_ERROR); in TestEmptyTrie() 30 EXCEPT(trie.common_prefix_search(agent), MARISA_STATE_ERROR); in TestEmptyTrie() 31 EXCEPT(trie.predictive_search(agent), MARISA_STATE_ERROR); in TestEmptyTrie() 33 EXCEPT(trie.num_tries(), MARISA_STATE_ERROR); in TestEmptyTrie() [all …]
|
D | vector-test.cc | 241 EXCEPT(vec.fix(), MARISA_STATE_ERROR); in TestVector() 242 EXCEPT(vec.push_back(0), MARISA_STATE_ERROR); in TestVector() 243 EXCEPT(vec.resize(0), MARISA_STATE_ERROR); in TestVector() 244 EXCEPT(vec.reserve(0), MARISA_STATE_ERROR); in TestVector()
|
D | base-test.cc | 282 EXCEPT(agent.init_state(), MARISA_STATE_ERROR); in TestAgent()
|
/external/marisa-trie/include/marisa/ |
D | scoped-ptr.h | 24 MARISA_DEBUG_IF(ptr_ == NULL, MARISA_STATE_ERROR); 28 MARISA_DEBUG_IF(ptr_ == NULL, MARISA_STATE_ERROR);
|
D | scoped-array.h | 24 MARISA_DEBUG_IF(array_ == NULL, MARISA_STATE_ERROR);
|
D | base.h | 62 MARISA_STATE_ERROR = 1, enumerator
|
/external/marisa-trie/lib/marisa/grimoire/trie/ |
D | tail.cc | 62 MARISA_DEBUG_IF(buf_.empty(), MARISA_STATE_ERROR); in restore() 77 MARISA_DEBUG_IF(buf_.empty(), MARISA_STATE_ERROR); in match() 109 MARISA_DEBUG_IF(buf_.empty(), MARISA_STATE_ERROR); in prefix_match()
|
D | louds-trie.cc | 55 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in lookup() 73 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in reverse_lookup() 106 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in common_prefix_search() 137 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in predictive_search()
|
/external/marisa-trie/lib/marisa/grimoire/io/ |
D | reader.cc | 68 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in seek() 113 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in read_data()
|
D | writer.cc | 68 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in seek() 113 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in write_data()
|
D | mapper.cc | 71 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in seek() 99 MARISA_THROW_IF(!is_open(), MARISA_STATE_ERROR); in map_data()
|