Home
last modified time | relevance | path

Searched refs:MARISA_UINT32_MAX (Results 1 – 11 of 11) sorted by relevance

/external/marisa-trie/lib/marisa/
Dbase.h39 #define MARISA_UINT32_MAX ((marisa_uint32)-1) macro
43 #define MARISA_ZERO_TERMINATED MARISA_UINT32_MAX
44 #define MARISA_NOT_FOUND MARISA_UINT32_MAX
45 #define MARISA_MISMATCH MARISA_UINT32_MAX
47 #define MARISA_MAX_LENGTH (MARISA_UINT32_MAX - 1)
48 #define MARISA_MAX_NUM_KEYS (MARISA_UINT32_MAX - 1)
Dtrie-inline.h154 UInt32 link_id = MARISA_UINT32_MAX; in find_child()
157 if (link_id == MARISA_UINT32_MAX) { in find_child()
205 UInt32 link_id = MARISA_UINT32_MAX; in predict_child()
208 if (link_id == MARISA_UINT32_MAX) { in predict_child()
Dmapper.cc73 MARISA_THROW_IF(file_size > MARISA_UINT32_MAX, MARISA_SIZE_ERROR); in open()
101 MARISA_THROW_IF(file_size > MARISA_UINT32_MAX, MARISA_SIZE_ERROR); in open()
Dprogress.h23 MARISA_THROW_IF(total_size_ > (MARISA_UINT32_MAX - total_size), in test_total_size()
Dreader.h30 MARISA_THROW_IF(num_objs > (MARISA_UINT32_MAX / sizeof(T)), in read()
Dmapper.h27 MARISA_THROW_IF(num_objs > (MARISA_UINT32_MAX / sizeof(T)), in map()
Dwriter.h30 MARISA_THROW_IF(num_objs > (MARISA_UINT32_MAX / sizeof(T)), in write()
Dbitvector.h73 return MARISA_UINT32_MAX; in max_size()
Dvector.h106 return MARISA_UINT32_MAX; in max_size()
/external/marisa-trie/tests/
Dunit-test.cc29 ASSERT(MARISA_UINT32_MAX == 0xFFFFFFFFU); in TestBase()
238 EXCEPT(progress.test_total_size(MARISA_UINT32_MAX), MARISA_SIZE_ERROR); in TestProgress()
239 progress.test_total_size(MARISA_UINT32_MAX - 1); in TestProgress()
Dvector-test.cc25 ASSERT(vec.max_size() == MARISA_UINT32_MAX); in TestVector()