Home
last modified time | relevance | path

Searched refs:MARISA_PARAM_ERROR (Results 1 – 25 of 26) sorted by relevance

12

/external/marisa-trie/lib/marisa/
Drank.h16 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()
Dtrie-search.cc44 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 …]
Dmapper.cc25 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()
Dtrie-c.cc167 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()
Dmarisa-string.h21 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);
Dintvector.h35 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);
Dmapper.h20 MARISA_THROW_IF(obj == NULL, MARISA_PARAM_ERROR); in map()
26 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in map()
Dreader.h23 MARISA_THROW_IF(obj == NULL, MARISA_PARAM_ERROR); in read()
29 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in read()
Dquery.h20 MARISA_DEBUG_IF(i >= length_, MARISA_PARAM_ERROR);
24 MARISA_DEBUG_IF(i > length_, MARISA_PARAM_ERROR); in ends_at()
Dbitvector.h53 MARISA_DEBUG_IF(i >= size_, MARISA_PARAM_ERROR);
58 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR); in rank0()
Dbitvector.cc258 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()
Dreader.cc34 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open()
57 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
Dwriter.cc35 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR); in open()
69 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
Dbase.h67 MARISA_PARAM_ERROR = 3, enumerator
224 MARISA_THROW_IF((lhs == NULL) || (rhs == NULL), MARISA_PARAM_ERROR); in Swap()
Dvector.h50 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR);
72 MARISA_DEBUG_IF(i > size_, MARISA_PARAM_ERROR);
Dintvector.cc45 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap()
131 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
Dbase.cc11 MARISA_STRERROR_CASE(MARISA_PARAM_ERROR) in marisa_strerror()
Dtrie.cc14 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap()
149 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
Dwriter.h29 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR); in write()
Dtail.cc25 MARISA_THROW(MARISA_PARAM_ERROR); in build()
33 MARISA_THROW(MARISA_PARAM_ERROR); in mmap()
Dtail.h36 MARISA_DEBUG_IF(offset >= buf_.size(), MARISA_PARAM_ERROR);
Dvector-inline.h23 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap()
189 MARISA_THROW_IF(rhs == NULL, MARISA_PARAM_ERROR); in swap()
Dtrie-build.cc14 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()
Dtrie-inline.h56 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/
Dunit-test.cc42 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()

12