/external/marisa-trie/v0_1_5/tests/ |
H A D | trie-test.cc | 90 char key_buf[256]; local 93 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf)); 98 ASSERT(keys[i] == key_buf); 201 char key_buf[256]; local 204 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf)); 209 ASSERT(keys[i] == key_buf); 217 key_length = trie.restore(key_ids[0], key_buf, 5); 221 key_length = trie.restore(key_ids[0], key_buf, 449 char key_buf[256]; local 605 char key_buf[256]; local [all...] |
H A D | c-test.c | 100 char key_buf[16]; local 146 key_ids[i], key_buf, sizeof(key_buf), &key_length) == MARISA_ALPHA_OK); 148 ASSERT(strcmp(key_buf, keys[i]) == 0);
|
/external/marisa-trie/tests/ |
H A D | trie-test.cc | 89 char key_buf[256]; local 92 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf)); 97 ASSERT(keys[i] == key_buf); 199 char key_buf[256]; local 202 key_length = trie.restore(key_ids[i], key_buf, sizeof(key_buf)); 207 ASSERT(keys[i] == key_buf); 215 key_length = trie.restore(key_ids[0], key_buf, 5); 219 key_length = trie.restore(key_ids[0], key_buf, 431 char key_buf[256]; local 587 char key_buf[256]; local [all...] |
H A D | c-test.c | 95 char key_buf[16]; local 138 key_ids[i], key_buf, sizeof(key_buf), &key_length) == MARISA_OK); 140 ASSERT(strcmp(key_buf, keys[i]) == 0);
|
/external/marisa-trie/lib/marisa/ |
H A D | trie-search.cc | 57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, argument 61 MARISA_THROW_IF((key_buf == NULL) && (key_buf_size != 0), 63 return restore_(key_id, key_buf, key_buf_size); 295 std::size_t Trie::restore_(UInt32 key_id, char *key_buf, argument 303 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); local 305 tail_restore(node, key_buf, key_buf_size, pos); 308 std::reverse(key_buf + prev_pos, key_buf + pos); 312 key_buf[pos] = labels_[node]; 319 key_buf[po 325 trie_restore(UInt32 node, char *key_buf, std::size_t key_buf_size, std::size_t &pos) const argument 330 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); local 344 tail_restore(UInt32 node, char *key_buf, std::size_t key_buf_size, std::size_t &pos) const argument [all...] |
H A D | trie-c.cc | 163 char *key_buf, size_t key_buf_size, size_t *key_length) { 169 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); 162 marisa_restore(const marisa_trie *h, marisa_uint32 key_id, char *key_buf, size_t key_buf_size, size_t *key_length) argument
|
H A D | trie.h | 61 std::size_t restore(UInt32 key_id, char *key_buf, 235 std::size_t restore_(UInt32 key_id, char *key_buf, 237 void trie_restore(UInt32 node, char *key_buf, 239 void tail_restore(UInt32 node, char *key_buf, 340 char *key_buf, size_t key_buf_size, size_t *key_length);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_sake_common.c | 265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; local 293 key_buf, sizeof(key_buf)); 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_sake_common.c | 265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; local 293 key_buf, sizeof(key_buf)); 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_sake_common.c | 265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; local 293 key_buf, sizeof(key_buf)); 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
H A D | trie-search.cc | 57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, argument 61 MARISA_ALPHA_THROW_IF((key_buf == NULL) && (key_buf_size != 0), 63 return restore_(key_id, key_buf, key_buf_size); 314 std::size_t Trie::restore_(UInt32 key_id, char *key_buf, argument 322 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); local 324 tail_restore(node, key_buf, key_buf_size, pos); 327 std::reverse(key_buf + prev_pos, key_buf + pos); 331 key_buf[pos] = labels_[node]; 338 key_buf[po 344 trie_restore(UInt32 node, char *key_buf, std::size_t key_buf_size, std::size_t &pos) const argument 349 trie_->trie_restore(get_link(node), key_buf, key_buf_size, pos); local 363 tail_restore(UInt32 node, char *key_buf, std::size_t key_buf_size, std::size_t &pos) const argument [all...] |
H A D | trie.h | 61 std::size_t restore(UInt32 key_id, char *key_buf, 235 std::size_t restore_(UInt32 key_id, char *key_buf, 237 void trie_restore(UInt32 node, char *key_buf, 239 void tail_restore(UInt32 node, char *key_buf, 342 marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size,
|
H A D | trie-c.cc | 183 marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size, 190 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); 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
|
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | peerkey.c | 824 u8 key_buf[32], rsc[6]; local 873 os_memcpy(key_buf, _key, 16); 874 os_memcpy(key_buf + 16, peerkey->stk.u.auth.rx_mic_key, 8); 875 os_memcpy(key_buf + 24, peerkey->stk.u.auth.tx_mic_key, 8); 876 _key = key_buf;
|
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | peerkey.c | 824 u8 key_buf[32], rsc[6]; local 873 os_memcpy(key_buf, _key, 16); 874 os_memcpy(key_buf + 16, peerkey->stk.u.auth.rx_mic_key, 8); 875 os_memcpy(key_buf + 24, peerkey->stk.u.auth.tx_mic_key, 8); 876 _key = key_buf;
|
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | peerkey.c | 824 u8 key_buf[32], rsc[6]; local 873 os_memcpy(key_buf, _key, 16); 874 os_memcpy(key_buf + 16, peerkey->stk.u.auth.rx_mic_key, 8); 875 os_memcpy(key_buf + 24, peerkey->stk.u.auth.tx_mic_key, 8); 876 _key = key_buf;
|