OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MARISA_THROW_IF
(Results
1 - 16
of
16
) sorted by null
/external/marisa-trie/lib/marisa/
mapper.cc
25
MARISA_THROW_IF
((ptr == NULL) || (size == 0), MARISA_PARAM_ERROR);
33
MARISA_THROW_IF
((ptr == NULL) || (size == 0), MARISA_PARAM_ERROR);
65
MARISA_THROW_IF
(is_open(), MARISA_STATE_ERROR);
66
MARISA_THROW_IF
(filename == NULL, MARISA_PARAM_ERROR);
73
MARISA_THROW_IF
(file_size > MARISA_UINT32_MAX, MARISA_SIZE_ERROR);
80
MARISA_THROW_IF
(temp.file_ == NULL, MARISA_IO_ERROR);
83
MARISA_THROW_IF
(temp.map_ == NULL, MARISA_IO_ERROR);
86
MARISA_THROW_IF
(temp.origin_ == NULL, MARISA_IO_ERROR);
93
MARISA_THROW_IF
(is_open(), MARISA_STATE_ERROR);
94
MARISA_THROW_IF
(filename == NULL, MARISA_PARAM_ERROR)
[
all
...]
trie-search.cc
43
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
44
MARISA_THROW_IF
(key_id >= num_keys_, MARISA_PARAM_ERROR);
51
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
52
MARISA_THROW_IF
(key_id >= num_keys_, MARISA_PARAM_ERROR);
53
MARISA_THROW_IF
(key == NULL, MARISA_PARAM_ERROR);
59
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
60
MARISA_THROW_IF
(key_id >= num_keys_, MARISA_PARAM_ERROR);
61
MARISA_THROW_IF
((key_buf == NULL) && (key_buf_size != 0),
67
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
68
MARISA_THROW_IF
(str == NULL, MARISA_PARAM_ERROR)
[
all
...]
vector-inline.h
23
MARISA_THROW_IF
(mapper == NULL, MARISA_PARAM_ERROR);
117
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR);
118
MARISA_THROW_IF
(size_ == max_size(), MARISA_SIZE_ERROR);
125
MARISA_THROW_IF
(fixed_ || (size_ == 0), MARISA_STATE_ERROR);
131
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR);
144
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR);
157
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR);
158
MARISA_THROW_IF
(capacity > max_size(), MARISA_SIZE_ERROR);
175
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR);
183
MARISA_THROW_IF
(fixed_, MARISA_STATE_ERROR)
[
all
...]
mapper.h
20
MARISA_THROW_IF
(obj == NULL, MARISA_PARAM_ERROR);
26
MARISA_THROW_IF
((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR);
27
MARISA_THROW_IF
(num_objs > (MARISA_UINT32_MAX / sizeof(T)),
reader.h
23
MARISA_THROW_IF
(obj == NULL, MARISA_PARAM_ERROR);
29
MARISA_THROW_IF
((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR);
30
MARISA_THROW_IF
(num_objs > (MARISA_UINT32_MAX / sizeof(T)),
reader.cc
33
MARISA_THROW_IF
(is_open(), MARISA_STATE_ERROR);
34
MARISA_THROW_IF
(filename == NULL, MARISA_PARAM_ERROR);
42
MARISA_THROW_IF
(file == NULL, MARISA_IO_ERROR);
57
MARISA_THROW_IF
(rhs == NULL, MARISA_PARAM_ERROR);
74
MARISA_THROW_IF
(size_read <= 0, MARISA_IO_ERROR);
writer.cc
34
MARISA_THROW_IF
(is_open(), MARISA_STATE_ERROR);
35
MARISA_THROW_IF
(filename == NULL, MARISA_PARAM_ERROR);
53
MARISA_THROW_IF
(file == NULL, MARISA_IO_ERROR);
69
MARISA_THROW_IF
(rhs == NULL, MARISA_PARAM_ERROR);
86
MARISA_THROW_IF
(size_written <= 0, MARISA_IO_ERROR);
progress.h
23
MARISA_THROW_IF
(total_size_ > (MARISA_UINT32_MAX - total_size),
writer.h
29
MARISA_THROW_IF
((objs == NULL) && (num_objs != 0), MARISA_PARAM_ERROR);
30
MARISA_THROW_IF
(num_objs > (MARISA_UINT32_MAX / sizeof(T)),
base.h
208
//
MARISA_THROW_IF
throws an exception with `status' if `cond' is true.
209
#define
MARISA_THROW_IF
(cond, status) \
216
MARISA_THROW_IF
(cond, status)
224
MARISA_THROW_IF
((lhs == NULL) || (rhs == NULL), MARISA_PARAM_ERROR);
trie.cc
14
MARISA_THROW_IF
(mapper == NULL, MARISA_PARAM_ERROR);
39
MARISA_THROW_IF
(!temp.has_trie(), MARISA_MEMORY_ERROR);
80
MARISA_THROW_IF
(!temp.has_trie(), MARISA_MEMORY_ERROR);
149
MARISA_THROW_IF
(rhs == NULL, MARISA_PARAM_ERROR);
trie-build.cc
14
MARISA_THROW_IF
((keys == NULL) && (num_keys != 0), MARISA_PARAM_ERROR);
18
MARISA_THROW_IF
(keys[i] == NULL, MARISA_PARAM_ERROR);
27
MARISA_THROW_IF
(length > MARISA_MAX_LENGTH, MARISA_SIZE_ERROR);
39
MARISA_THROW_IF
(keys[i].length() > MARISA_MAX_LENGTH, MARISA_SIZE_ERROR);
51
MARISA_THROW_IF
(keys[i].first.length() > MARISA_MAX_LENGTH,
76
MARISA_THROW_IF
(!progress.is_valid(), MARISA_PARAM_ERROR);
114
MARISA_THROW_IF
(progress.total_size() != temp.total_size(),
279
MARISA_THROW_IF
(!has_trie(), MARISA_MEMORY_ERROR);
295
MARISA_THROW_IF
(!has_trie(), MARISA_MEMORY_ERROR);
intvector.cc
45
MARISA_THROW_IF
(mapper == NULL, MARISA_PARAM_ERROR);
131
MARISA_THROW_IF
(rhs == NULL, MARISA_PARAM_ERROR);
bitvector.h
42
MARISA_THROW_IF
(size_ == max_size(), MARISA_SIZE_ERROR);
trie-inline.h
55
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
56
MARISA_THROW_IF
(str == NULL, MARISA_PARAM_ERROR);
63
MARISA_THROW_IF
(empty(), MARISA_STATE_ERROR);
64
MARISA_THROW_IF
((ptr == NULL) && (length != 0), MARISA_PARAM_ERROR);
bitvector.cc
258
MARISA_THROW_IF
(mapper == NULL, MARISA_PARAM_ERROR);
561
MARISA_THROW_IF
(rhs == NULL, MARISA_PARAM_ERROR);
Completed in 70 milliseconds