/external/marisa-trie/lib/marisa/ |
D | rank.h | 16 MARISA_DEBUG_IF(value > 64, MARISA_PARAM_ERROR); in set_rel1() 20 MARISA_DEBUG_IF(value > 128, MARISA_PARAM_ERROR); in set_rel2() 24 MARISA_DEBUG_IF(value > 192, MARISA_PARAM_ERROR); in set_rel3() 28 MARISA_DEBUG_IF(value > 256, MARISA_PARAM_ERROR); in set_rel4() 32 MARISA_DEBUG_IF(value > 320, MARISA_PARAM_ERROR); in set_rel5() 36 MARISA_DEBUG_IF(value > 384, MARISA_PARAM_ERROR); in set_rel6() 40 MARISA_DEBUG_IF(value > 448, MARISA_PARAM_ERROR); in set_rel7()
|
D | trie-search.cc | 44 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() 52 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() 53 MARISA_THROW_IF(key == NULL, MARISA_PARAM_ERROR); in restore() 60 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() 62 MARISA_PARAM_ERROR); in restore() 68 MARISA_THROW_IF(str == NULL, MARISA_PARAM_ERROR); in lookup() 74 MARISA_THROW_IF((ptr == NULL) && (length != 0), MARISA_PARAM_ERROR); in lookup() 82 MARISA_THROW_IF(str == NULL, MARISA_PARAM_ERROR); in find() 91 MARISA_THROW_IF((ptr == NULL) && (length != 0), MARISA_PARAM_ERROR); in find() 100 MARISA_THROW_IF(str == NULL, MARISA_PARAM_ERROR); in find() [all …]
|
D | mapper.cc | 25 MARISA_THROW_IF((ptr == NULL) || (size == 0), MARISA_PARAM_ERROR); in Mapper() 33 MARISA_THROW_IF((ptr == NULL) || (size == 0), MARISA_PARAM_ERROR); 66 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open() 94 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open() 122 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap() 153 MARISA_THROW(MARISA_PARAM_ERROR); in seek()
|
D | trie-c.cc | 167 return MARISA_PARAM_ERROR; in marisa_restore() 178 return MARISA_PARAM_ERROR; in marisa_lookup() 195 return MARISA_PARAM_ERROR; in marisa_find() 212 return MARISA_PARAM_ERROR; in marisa_find_first() 228 return MARISA_PARAM_ERROR; in marisa_find_last() 245 return MARISA_PARAM_ERROR; in marisa_find_callback() 270 return MARISA_PARAM_ERROR; in marisa_predict_breadth_first() 288 return MARISA_PARAM_ERROR; in marisa_predict_depth_first() 307 return MARISA_PARAM_ERROR; in marisa_predict_callback()
|
D | marisa-string.h | 21 MARISA_DEBUG_IF(pos + length > length_, MARISA_PARAM_ERROR); in substr() 32 MARISA_DEBUG_IF(i >= length_, MARISA_PARAM_ERROR); 90 MARISA_DEBUG_IF(pos + length > length_, MARISA_PARAM_ERROR); in substr() 104 MARISA_DEBUG_IF(i >= length_, MARISA_PARAM_ERROR);
|
D | intvector.h | 35 MARISA_DEBUG_IF(i >= size_, MARISA_PARAM_ERROR); in set() 48 MARISA_DEBUG_IF(i >= size_, MARISA_PARAM_ERROR); in get() 61 MARISA_DEBUG_IF(i >= size_, MARISA_PARAM_ERROR);
|
D | mapper.h | 20 MARISA_THROW_IF(obj == NULL, MARISA_PARAM_ERROR); in map() 26 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in map()
|
D | reader.h | 23 MARISA_THROW_IF(obj == NULL, MARISA_PARAM_ERROR); in read() 29 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in read()
|
D | query.h | 20 MARISA_DEBUG_IF(i >= length_, MARISA_PARAM_ERROR); 24 MARISA_DEBUG_IF(i > length_, MARISA_PARAM_ERROR); in ends_at()
|
D | bitvector.h | 53 MARISA_DEBUG_IF(i >= size_, MARISA_PARAM_ERROR); 58 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR); in rank0()
|
D | bitvector.cc | 258 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 343 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR); in rank1() 390 MARISA_DEBUG_IF((select_id + 1) >= select0s_.size(), MARISA_PARAM_ERROR); in select0() 474 MARISA_DEBUG_IF((select_id + 1) >= select1s_.size(), MARISA_PARAM_ERROR); in select1() 561 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | reader.cc | 34 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open() 57 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | writer.cc | 35 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open() 69 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | base.h | 67 MARISA_PARAM_ERROR = 3, enumerator 224 MARISA_THROW_IF((lhs == NULL) || (rhs == NULL), MARISA_PARAM_ERROR); in Swap()
|
D | vector.h | 50 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR); 72 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR);
|
D | intvector.cc | 45 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 131 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | base.cc | 11 MARISA_STRERROR_CASE(MARISA_PARAM_ERROR) in marisa_strerror()
|
D | trie.cc | 14 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 149 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | writer.h | 29 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in write()
|
D | tail.cc | 25 MARISA_THROW(MARISA_PARAM_ERROR); in build() 33 MARISA_THROW(MARISA_PARAM_ERROR); in mmap()
|
D | tail.h | 36 MARISA_DEBUG_IF(offset >= buf_.size(), MARISA_PARAM_ERROR);
|
D | vector-inline.h | 23 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 189 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
|
D | trie-build.cc | 14 MARISA_THROW_IF((keys == NULL) && (num_keys != 0), MARISA_PARAM_ERROR); in build() 18 MARISA_THROW_IF(keys[i] == NULL, MARISA_PARAM_ERROR); in build() 76 MARISA_THROW_IF(!progress.is_valid(), MARISA_PARAM_ERROR); in build_trie()
|
D | trie-inline.h | 56 MARISA_THROW_IF(str == NULL, MARISA_PARAM_ERROR); in find_callback() 64 MARISA_THROW_IF((ptr == NULL) && (length != 0), MARISA_PARAM_ERROR); in find_callback()
|
/external/marisa-trie/tests/ |
D | unit-test.cc | 42 EXCEPT(marisa::Swap(static_cast<int *>(NULL), &y), MARISA_PARAM_ERROR); in TestBase() 43 EXCEPT(marisa::Swap(&x, static_cast<int *>(NULL)), MARISA_PARAM_ERROR); in TestBase()
|