Home
last modified time | relevance | path

Searched refs:key_lengths (Results 1 – 20 of 20) sorted by relevance

/external/marisa-trie/lib/marisa/
Dtrie.h26 const std::size_t *key_lengths = NULL,
69 UInt32 *key_ids, std::size_t *key_lengths,
72 UInt32 *key_ids, std::size_t *key_lengths,
75 UInt32 *key_ids, std::size_t *key_lengths,
80 std::vector<std::size_t> *key_lengths = NULL,
84 std::vector<std::size_t> *key_lengths = NULL,
88 std::vector<std::size_t> *key_lengths = NULL,
253 std::size_t find_(T query, U key_ids, V key_lengths,
322 size_t num_keys, const size_t *key_lengths, const double *key_weights,
347 marisa_uint32 *key_ids, size_t *key_lengths,
Dtrie-c.cc81 size_t num_keys, const size_t *key_lengths, const double *key_weights, in marisa_build() argument
86 h->trie.build(keys, num_keys, key_lengths, key_weights, key_ids, flags); in marisa_build()
190 marisa_uint32 *key_ids, size_t *key_lengths, in marisa_find() argument
198 *num_results = h->trie.find(ptr, key_ids, key_lengths, max_num_results); in marisa_find()
201 key_ids, key_lengths, max_num_results); in marisa_find()
Dtrie-search.cc79 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
84 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
88 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
93 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
97 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
102 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
106 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
111 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
462 std::size_t Trie::find_(T query, U key_ids, V key_lengths, in find_() argument
475 if (key_lengths.is_valid()) { in find_()
[all …]
Dtrie-inline.h29 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
32 key_ids, key_lengths, max_num_results); in find()
36 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
39 key_ids, key_lengths, max_num_results); in find()
Dtrie-build.cc12 const std::size_t *key_lengths, const double *key_weights, in build() argument
20 if (key_lengths == NULL) { in build()
25 length = key_lengths[i]; in build()
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie.h26 const std::size_t *key_lengths = NULL,
69 UInt32 *key_ids, std::size_t *key_lengths,
72 UInt32 *key_ids, std::size_t *key_lengths,
75 UInt32 *key_ids, std::size_t *key_lengths,
80 std::vector<std::size_t> *key_lengths = NULL,
84 std::vector<std::size_t> *key_lengths = NULL,
88 std::vector<std::size_t> *key_lengths = NULL,
253 std::size_t find_(T query, U key_ids, V key_lengths,
322 const char * const *keys, size_t num_keys, const size_t *key_lengths,
350 marisa_alpha_uint32 *key_ids, size_t *key_lengths,
Dtrie-c.cc81 const char * const *keys, size_t num_keys, const size_t *key_lengths, in marisa_alpha_build() argument
86 h->trie.build(keys, num_keys, key_lengths, key_weights, key_ids, flags); in marisa_alpha_build()
215 marisa_alpha_uint32 *key_ids, size_t *key_lengths, in marisa_alpha_find() argument
223 *num_results = h->trie.find(ptr, key_ids, key_lengths, max_num_results); in marisa_alpha_find()
226 key_ids, key_lengths, max_num_results); in marisa_alpha_find()
Dtrie-search.cc80 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
85 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
89 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
95 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
99 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
104 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
108 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
114 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
481 std::size_t Trie::find_(T query, U key_ids, V key_lengths, in find_() argument
494 if (key_lengths.is_valid()) { in find_()
[all …]
Dtrie-inline.h29 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
32 key_ids, key_lengths, max_num_results); in find()
36 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
39 key_ids, key_lengths, max_num_results); in find()
Dtrie-build.cc12 const std::size_t *key_lengths, const double *key_weights, in build() argument
21 if (key_lengths == NULL) { in build()
26 length = key_lengths[i]; in build()
/external/vboot_reference/tests/
Drun_vbutil_tests.sh43 for keylen in ${key_lengths[@]}
180 for signing_keylen in ${key_lengths[@]}
185 for datakeylen in ${key_lengths[@]}
Dgen_test_vbpubks.sh14 for keylen in ${key_lengths[@]}
Dvb2_rsa_tests.sh19 for keylen in ${key_lengths[@]}
Drun_rsa_tests.sh19 for keylen in ${key_lengths[@]}
Dgen_test_cases.sh20 for keylen in ${key_lengths[@]}
Dcommon.sh31 key_lengths=( 1024 2048 4096 8192 )
Dgen_test_keys.sh20 for i in ${key_lengths[@]}
/external/marisa-trie/
Dandroid_diff.txt134 size_t num_keys, const size_t *key_lengths, const double *key_weights,
140 h->trie.build(keys, num_keys, key_lengths, key_weights, key_ids, flags);
272 marisa_uint32 *key_ids, size_t *key_lengths,
279 key_ids, key_lengths, max_num_results);
449 std::size_t Trie::find_(T query, U key_ids, V key_lengths,
455 @@ -489,10 +481,6 @@ std::size_t Trie::find_(T query, U key_ids, V key_lengths,
/external/marisa-trie/tests/
Dtrie-test.cc12 std::vector<std::size_t> *key_lengths) in FindCallback() argument
13 : key_ids_(key_ids), key_lengths_(key_lengths) {} in FindCallback()
/external/marisa-trie/v0_1_5/tests/
Dtrie-test.cc12 std::vector<std::size_t> *key_lengths) in FindCallback() argument
13 : key_ids_(key_ids), key_lengths_(key_lengths) {} in FindCallback()