Searched defs:key_length (Results 1 - 15 of 15) sorted by relevance

/external/marisa-trie/tests/
H A Dc-test.c61 marisa_uint32 key_id, size_t key_length) {
64 ASSERT(key_length == 3);
70 marisa_uint32 key_id, const char *key, size_t key_length) {
75 ASSERT(key_length == 3);
81 ASSERT(key_length == 5);
96 size_t key_length; local
138 key_ids[i], key_buf, sizeof(key_buf), &key_length) == MARISA_OK);
139 ASSERT(key_length == strlen(keys[i]));
60 callback_for_find(void *num_keys, marisa_uint32 key_id, size_t key_length) argument
69 callback_for_predict(void *num_keys, marisa_uint32 key_id, const char *key, size_t key_length) argument
H A Dtrie-test.cc17 bool operator()(marisa::UInt32 key_id, std::size_t key_length) const {
19 key_lengths_->push_back(key_length);
90 std::size_t key_length; local
92 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf));
96 ASSERT(key_length == keys[i].length());
200 std::size_t key_length; local
202 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf));
206 ASSERT(key_length == keys[i].length());
210 key_length = trie.restore(key_ids[0], NULL, 0);
212 ASSERT(key_length
432 std::size_t key_length; local
588 std::size_t key_length; local
[all...]
/external/marisa-trie/v0_1_5/tests/
H A Dc-test.c66 marisa_alpha_uint32 key_id, size_t key_length) {
69 ASSERT(key_length == 3);
75 marisa_alpha_uint32 key_id, const char *key, size_t key_length) {
80 ASSERT(key_length == 3);
86 ASSERT(key_length == 5);
101 size_t key_length; local
146 key_ids[i], key_buf, sizeof(key_buf), &key_length) == MARISA_ALPHA_OK);
147 ASSERT(key_length == strlen(keys[i]));
65 callback_for_find(void *num_keys, marisa_alpha_uint32 key_id, size_t key_length) argument
74 callback_for_predict(void *num_keys, marisa_alpha_uint32 key_id, const char *key, size_t key_length) argument
H A Dtrie-test.cc17 bool operator()(marisa_alpha::UInt32 key_id, std::size_t key_length) const {
19 key_lengths_->push_back(key_length);
91 std::size_t key_length; local
93 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf));
97 ASSERT(key_length == keys[i].length());
202 std::size_t key_length; local
204 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf));
208 ASSERT(key_length == keys[i].length());
212 key_length = trie.restore(key_ids[0], NULL, 0);
214 ASSERT(key_length
450 std::size_t key_length; local
606 std::size_t key_length; local
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Deapol_common.h66 /* Note: key_length is unaligned */
67 u8 key_length[2]; member in struct:ieee802_1x_eapol_key
81 * key field (of key_length bytes) contains the key in encrypted form;
82 * if packet body length = 44, key field is absent and key_length
H A Dwpa_common.h172 /* Note: key_info, key_length, and key_data_length are unaligned */
174 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key
187 /* Note: key_info, key_length, and key_data_length are unaligned */
189 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/wpa_supplicant_8/src/common/
H A Deapol_common.h66 /* Note: key_length is unaligned */
67 u8 key_length[2]; member in struct:ieee802_1x_eapol_key
81 * key field (of key_length bytes) contains the key in encrypted form;
82 * if packet body length = 44, key field is absent and key_length
H A Dwpa_common.h172 /* Note: key_info, key_length, and key_data_length are unaligned */
174 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key
187 /* Note: key_info, key_length, and key_data_length are unaligned */
189 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Deapol_common.h66 /* Note: key_length is unaligned */
67 u8 key_length[2]; member in struct:ieee802_1x_eapol_key
81 * key field (of key_length bytes) contains the key in encrypted form;
82 * if packet body length = 44, key field is absent and key_length
H A Dwpa_common.h172 /* Note: key_info, key_length, and key_data_length are unaligned */
174 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key
187 /* Note: key_info, key_length, and key_data_length are unaligned */
189 u8 key_length[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/marisa-trie/lib/marisa/
H A Dtrie-c.cc16 bool operator()(marisa::UInt32 key_id, std::size_t key_length) const {
17 return func_(first_arg_, key_id, key_length) != 0;
163 char *key_buf, size_t key_buf_size, size_t *key_length) {
166 } else if (key_length == NULL) {
169 *key_length = h->trie.restore(key_id, key_buf, key_buf_size);
208 marisa_uint32 *key_id, size_t *key_length) {
215 *key_id = h->trie.find_first(ptr, key_length);
217 *key_id = h->trie.find_first(ptr, length, key_length);
224 marisa_uint32 *key_id, size_t *key_length) {
231 *key_id = h->trie.find_last(ptr, key_length);
162 marisa_restore(const marisa_trie *h, marisa_uint32 key_id, char *key_buf, size_t key_buf_size, size_t *key_length) argument
206 marisa_find_first(const marisa_trie *h, const char *ptr, size_t length, marisa_uint32 *key_id, size_t *key_length) argument
222 marisa_find_last(const marisa_trie *h, const char *ptr, size_t length, marisa_uint32 *key_id, size_t *key_length) argument
[all...]
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dtrie-c.cc16 bool operator()(marisa_alpha::UInt32 key_id, std::size_t key_length) const {
17 return func_(first_arg_, key_id, key_length) != 0;
184 size_t *key_length) try {
187 } else if (key_length == NULL) {
190 *key_length = h->trie.restore(key_id, key_buf, key_buf_size);
235 marisa_alpha_uint32 *key_id, size_t *key_length) {
242 *key_id = h->trie.find_first(ptr, key_length);
244 *key_id = h->trie.find_first(ptr, length, key_length);
251 marisa_alpha_uint32 *key_id, size_t *key_length) {
258 *key_id = h->trie.find_last(ptr, key_length);
182 marisa_alpha_restore(const marisa_alpha_trie *h, marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size, size_t *key_length) argument
233 marisa_alpha_find_first(const marisa_alpha_trie *h, const char *ptr, size_t length, marisa_alpha_uint32 *key_id, size_t *key_length) argument
249 marisa_alpha_find_last(const marisa_alpha_trie *h, const char *ptr, size_t length, marisa_alpha_uint32 *key_id, size_t *key_length) argument
[all...]
/external/jemalloc/test/src/
H A DSFMT.c636 * @param key_length the length of init_key.
638 sfmt_t *init_by_array(uint32_t *init_key, int key_length) { argument
666 if (key_length + 1 > N32) {
667 count = key_length + 1;
674 r += key_length;
679 for (i = 1, j = 0; (j < count) && (j < key_length); j++) {
/external/boringssl/include/openssl/
H A Dx509.h455 int key_length; member in struct:private_key_st
/external/boringssl/src/include/openssl/
H A Dx509.h455 int key_length; member in struct:private_key_st

Completed in 1611 milliseconds