Home
last modified time | relevance | path

Searched refs:MARISA_NULL_ERROR (Results 1 – 17 of 17) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie.cc21 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in mmap()
33 MARISA_THROW_IF((ptr == NULL) && (size != 0), MARISA_NULL_ERROR); in map()
45 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in load()
70 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in save()
180 MARISA_THROW_IF(trie == NULL, MARISA_NULL_ERROR); in fread()
192 MARISA_THROW_IF(file == NULL, MARISA_NULL_ERROR); in fwrite()
200 MARISA_THROW_IF(trie == NULL, MARISA_NULL_ERROR); in read()
222 MARISA_THROW_IF(file == NULL, MARISA_NULL_ERROR); in fread()
223 MARISA_THROW_IF(trie == NULL, MARISA_NULL_ERROR); in fread()
228 MARISA_THROW_IF(file == NULL, MARISA_NULL_ERROR); in fwrite()
[all …]
Dagent.cc13 MARISA_THROW_IF(str == NULL, MARISA_NULL_ERROR); in set_query()
21 MARISA_THROW_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_query()
Dkeyset.cc50 MARISA_THROW_IF(str == NULL, MARISA_NULL_ERROR); in push_back()
61 MARISA_THROW_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in push_back()
/external/marisa-trie/lib/marisa/grimoire/io/
Dreader.h25 MARISA_THROW_IF(obj == NULL, MARISA_NULL_ERROR); in read()
31 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_NULL_ERROR); in read()
Dmapper.h22 MARISA_THROW_IF(obj == NULL, MARISA_NULL_ERROR); in map()
28 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_NULL_ERROR); in map()
Dreader.cc27 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in open()
35 MARISA_THROW_IF(file == NULL, MARISA_NULL_ERROR); in open()
Dwriter.cc27 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in open()
35 MARISA_THROW_IF(file == NULL, MARISA_NULL_ERROR); in open()
Dmapper.cc55 MARISA_THROW_IF(filename == NULL, MARISA_NULL_ERROR); in open()
63 MARISA_THROW_IF((ptr == NULL) && (size != 0), MARISA_NULL_ERROR); in open()
Dwriter.h30 MARISA_THROW_IF((objs == NULL) && (num_objs != 0), MARISA_NULL_ERROR); in write()
/external/marisa-trie/include/marisa/
Dagent.h40 MARISA_DEBUG_IF(str == NULL, MARISA_NULL_ERROR); in set_key()
44 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_key()
Dquery.h27 MARISA_DEBUG_IF(str == NULL, MARISA_NULL_ERROR); in set_str()
36 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_str()
Dkey.h29 MARISA_DEBUG_IF(str == NULL, MARISA_NULL_ERROR); in set_str()
39 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_str()
Dbase.h65 MARISA_NULL_ERROR = 2, enumerator
/external/marisa-trie/lib/marisa/grimoire/trie/
Dkey.h41 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_str()
147 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_str()
Dentry.h29 MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR); in set_str()
Dtail.cc13 MARISA_THROW_IF(offsets == NULL, MARISA_NULL_ERROR); in build()
/external/marisa-trie/tests/
Dbase-test.cc65 EXCEPT(MARISA_THROW(MARISA_NULL_ERROR, "NULL"), MARISA_NULL_ERROR); in TestException()