Home
last modified time | relevance | path

Searched refs:key_buf_size (Results 1 – 7 of 7) sorted by relevance

/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-search.cc58 std::size_t key_buf_size) const { in restore()
61 MARISA_ALPHA_THROW_IF((key_buf == NULL) && (key_buf_size != 0), in restore()
63 return restore_(key_id, key_buf, key_buf_size); in restore()
315 std::size_t key_buf_size) const { in restore_()
322 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); in restore_()
324 tail_restore(node, key_buf, key_buf_size, pos); in restore_()
326 if (pos < key_buf_size) { in restore_()
330 if (pos < key_buf_size) { in restore_()
337 if (pos < key_buf_size) { in restore_()
345 std::size_t key_buf_size, std::size_t &pos) const { in trie_restore() argument
[all …]
Dtrie.h62 std::size_t key_buf_size) const;
236 std::size_t key_buf_size) const;
238 std::size_t key_buf_size, std::size_t &key_pos) const;
240 std::size_t key_buf_size, std::size_t &key_pos) const;
342 marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size,
Dtrie-c.cc183 marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size, in marisa_alpha_restore() argument
190 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); in marisa_alpha_restore()
/external/marisa-trie/lib/marisa/
Dtrie-search.cc58 std::size_t key_buf_size) const { in restore()
61 MARISA_THROW_IF((key_buf == NULL) && (key_buf_size != 0), in restore()
63 return restore_(key_id, key_buf, key_buf_size); in restore()
296 std::size_t key_buf_size) const { in restore_()
303 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); in restore_()
305 tail_restore(node, key_buf, key_buf_size, pos); in restore_()
307 if (pos < key_buf_size) { in restore_()
311 if (pos < key_buf_size) { in restore_()
318 if (pos < key_buf_size) { in restore_()
326 std::size_t key_buf_size, std::size_t &pos) const { in trie_restore() argument
[all …]
Dtrie.h62 std::size_t key_buf_size) const;
236 std::size_t key_buf_size) const;
238 std::size_t key_buf_size, std::size_t &key_pos) const;
240 std::size_t key_buf_size, std::size_t &key_pos) const;
340 char *key_buf, size_t key_buf_size, size_t *key_length);
Dtrie-c.cc163 char *key_buf, size_t key_buf_size, size_t *key_length) { in marisa_restore() argument
169 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); in marisa_restore()
/external/marisa-trie/
Dandroid_diff.txt243 - char *key_buf, size_t key_buf_size, size_t *key_length) try {
244 + char *key_buf, size_t key_buf_size, size_t *key_length) {
250 *key_length = h->trie.restore(key_id, key_buf, key_buf_size);