Home
last modified time | relevance | path

Searched refs:marisa_uint32 (Results 1 – 6 of 6) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie-c.cc9 typedef int (*Func)(void *, marisa_uint32, size_t);
30 typedef int (*Func)(void *, marisa_uint32, const char *, size_t);
82 marisa_uint32 *key_ids, int flags) { in marisa_build()
162 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id, in marisa_restore()
174 const char *ptr, size_t length, marisa_uint32 *key_id) { in marisa_lookup()
190 marisa_uint32 *key_ids, size_t *key_lengths, in marisa_find()
208 marisa_uint32 *key_id, size_t *key_length) { in marisa_find_first()
224 marisa_uint32 *key_id, size_t *key_length) { in marisa_find_last()
240 int (*callback)(void *, marisa_uint32, size_t), in marisa_find_callback() argument
258 const char *ptr, size_t length, marisa_uint32 *key_ids, in marisa_predict()
[all …]
Dbase.h28 typedef unsigned __int32 marisa_uint32; typedef
33 typedef uint32_t marisa_uint32;
39 #define MARISA_UINT32_MAX ((marisa_uint32)-1)
149 typedef ::marisa_uint32 UInt32;
Dtrie.h323 marisa_uint32 *key_ids, int flags);
339 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id,
343 const char *ptr, size_t length, marisa_uint32 *key_id);
347 marisa_uint32 *key_ids, size_t *key_lengths,
351 marisa_uint32 *key_id, size_t *key_length);
354 marisa_uint32 *key_id, size_t *key_length);
357 int (*callback)(void *, marisa_uint32, size_t),
361 const char *ptr, size_t length, marisa_uint32 *key_ids,
364 const char *ptr, size_t length, marisa_uint32 *key_ids,
367 const char *ptr, size_t length, marisa_uint32 *key_ids,
[all …]
/external/marisa-trie/tests/
Dc-test.c61 marisa_uint32 key_id, size_t key_length) { in callback_for_find()
70 marisa_uint32 key_id, const char *key, size_t key_length) { in callback_for_predict()
93 marisa_uint32 key_ids[8]; in TestTrie()
97 marisa_uint32 key_id; in TestTrie()
98 marisa_uint32 found_key_ids[8]; in TestTrie()
109 ASSERT(marisa_get_total_size(trie) == (sizeof(marisa_uint32) * 23)); in TestTrie()
156 ASSERT(marisa_get_total_size(trie) == (sizeof(marisa_uint32) * 23)); in TestTrie()
Dunit-test.cc24 ASSERT(sizeof(marisa_uint32) == 4); in TestBase()
/external/marisa-trie/
Dandroid_diff.txt135 - marisa_uint32 *key_ids, int flags) try {
136 + marisa_uint32 *key_ids, int flags) {
242 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id,
248 @@ -186,12 +168,10 @@ marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id,
257 - const char *ptr, size_t length, marisa_uint32 *key_id) try {
258 + const char *ptr, size_t length, marisa_uint32 *key_id) {
272 marisa_uint32 *key_ids, size_t *key_lengths,
290 int (*callback)(void *, marisa_uint32, size_t),
308 const char *ptr, size_t length, marisa_uint32 *key_ids,
323 const char *ptr, size_t length, marisa_uint32 *key_ids,
[all …]