/external/marisa-trie/lib/marisa/ |
D | trie-c.cc | 16 bool operator()(marisa::UInt32 key_id, std::size_t key_length) const { in operator ()() argument 17 return func_(first_arg_, key_id, key_length) != 0; in operator ()() 37 bool operator()(marisa::UInt32 key_id, const std::string &key) const { in operator ()() argument 38 return func_(first_arg_, key_id, key.c_str(), key.length()) != 0; in operator ()() 162 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id, in marisa_restore() argument 169 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); in marisa_restore() 174 const char *ptr, size_t length, marisa_uint32 *key_id) { in marisa_lookup() argument 177 } else if (key_id == NULL) { in marisa_lookup() 181 *key_id = h->trie.lookup(ptr); in marisa_lookup() 183 *key_id = h->trie.lookup(ptr, length); in marisa_lookup() [all …]
|
D | trie-search.cc | 20 bool operator()(marisa::UInt32 key_id, const std::string &key) { in operator ()() argument 22 key_ids_.insert(num_results_, key_id); in operator ()() 42 std::string Trie::restore(UInt32 key_id) const { in restore() 44 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() 46 restore_(key_id, &key); in restore() 50 void Trie::restore(UInt32 key_id, std::string *key) const { in restore() argument 52 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() 54 restore_(key_id, key); in restore() 57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, in restore() argument 60 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR); in restore() [all …]
|
D | cell.h | 18 void set_key_id(UInt32 key_id) { in set_key_id() argument 19 key_id_ = key_id; in set_key_id() 31 UInt32 key_id() const { in key_id() function
|
D | trie.h | 54 std::string operator[](UInt32 key_id) const; 59 std::string restore(UInt32 key_id) const; 60 void restore(UInt32 key_id, std::string *key) const; 61 std::size_t restore(UInt32 key_id, char *key_buf, 231 void restore_(UInt32 key_id, std::string *key) const; 235 std::size_t restore_(UInt32 key_id, char *key_buf, 281 UInt32 key_id_to_node(UInt32 key_id) const; 339 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id, 343 const char *ptr, size_t length, marisa_uint32 *key_id); 351 marisa_uint32 *key_id, size_t *key_length); [all …]
|
D | trie-inline.h | 10 inline std::string Trie::operator[](UInt32 key_id) const { 12 restore(key_id, &key); 282 if (!callback(cur.key_id(), key)) { in predict_callback_() 285 cur.set_key_id(cur.key_id() + 1); in predict_callback_() 300 inline UInt32 Trie::key_id_to_node(UInt32 key_id) const { in key_id_to_node() argument 301 return terminal_flags_.select1(key_id); in key_id_to_node()
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | trie-c.cc | 16 bool operator()(marisa_alpha::UInt32 key_id, std::size_t key_length) const { in operator ()() argument 17 return func_(first_arg_, key_id, key_length) != 0; in operator ()() 37 bool operator()(marisa_alpha::UInt32 key_id, const std::string &key) const { in operator ()() argument 38 return func_(first_arg_, key_id, key.c_str(), key.length()) != 0; in operator ()() 183 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() 197 const char *ptr, size_t length, marisa_alpha_uint32 *key_id) try { in marisa_alpha_lookup() argument 200 } else if (key_id == NULL) { in marisa_alpha_lookup() 204 *key_id = h->trie.lookup(ptr); in marisa_alpha_lookup() 206 *key_id = h->trie.lookup(ptr, length); in marisa_alpha_lookup() [all …]
|
D | trie-search.cc | 20 bool operator()(marisa_alpha::UInt32 key_id, const std::string &key) { in operator ()() argument 22 key_ids_.insert(num_results_, key_id); in operator ()() 42 std::string Trie::restore(UInt32 key_id) const { in restore() 44 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR); in restore() 46 restore_(key_id, &key); in restore() 50 void Trie::restore(UInt32 key_id, std::string *key) const { in restore() argument 52 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR); in restore() 54 restore_(key_id, key); in restore() 57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, in restore() argument 60 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR); in restore() [all …]
|
D | cell.h | 18 void set_key_id(UInt32 key_id) { in set_key_id() argument 19 key_id_ = key_id; in set_key_id() 31 UInt32 key_id() const { in key_id() function
|
D | trie.h | 54 std::string operator[](UInt32 key_id) const; 59 std::string restore(UInt32 key_id) const; 60 void restore(UInt32 key_id, std::string *key) const; 61 std::size_t restore(UInt32 key_id, char *key_buf, 231 void restore_(UInt32 key_id, std::string *key) const; 235 std::size_t restore_(UInt32 key_id, char *key_buf, 281 UInt32 key_id_to_node(UInt32 key_id) const; 342 marisa_alpha_uint32 key_id, char *key_buf, size_t key_buf_size, 346 const char *ptr, size_t length, marisa_alpha_uint32 *key_id); 354 marisa_alpha_uint32 *key_id, size_t *key_length); [all …]
|
D | trie-inline.h | 10 inline std::string Trie::operator[](UInt32 key_id) const { 12 restore(key_id, &key); 287 if (!callback(cur.key_id(), key)) { in predict_callback_() 290 cur.set_key_id(cur.key_id() + 1); in predict_callback_() 309 inline UInt32 Trie::key_id_to_node(UInt32 key_id) const { in key_id_to_node() argument 310 return terminal_flags_.select1(key_id); in key_id_to_node()
|
/external/marisa-trie/tests/ |
D | c-test.c | 61 marisa_uint32 key_id, size_t key_length) { in callback_for_find() argument 63 ASSERT(key_id == 1); in callback_for_find() 70 marisa_uint32 key_id, const char *key, size_t key_length) { in callback_for_predict() argument 74 ASSERT(key_id == 0); in callback_for_predict() 80 ASSERT(key_id == 3); in callback_for_predict() 97 marisa_uint32 key_id; in TestTrie() local 143 keys[i], MARISA_ZERO_TERMINATED, &key_id) == MARISA_OK); in TestTrie() 144 ASSERT(key_id == key_ids[i]); in TestTrie() 147 keys[i], strlen(keys[i]), &key_id) == MARISA_OK); in TestTrie() 148 ASSERT(key_id == key_ids[i]); in TestTrie()
|
/external/marisa-trie/v0_1_5/tests/ |
D | c-test.c | 66 marisa_alpha_uint32 key_id, size_t key_length) { in callback_for_find() argument 68 ASSERT(key_id == 1); in callback_for_find() 75 marisa_alpha_uint32 key_id, const char *key, size_t key_length) { in callback_for_predict() argument 79 ASSERT(key_id == 0); in callback_for_predict() 85 ASSERT(key_id == 3); in callback_for_predict() 102 marisa_alpha_uint32 key_id; in TestTrie() local 151 keys[i], MARISA_ALPHA_ZERO_TERMINATED, &key_id) == MARISA_ALPHA_OK); in TestTrie() 152 ASSERT(key_id == key_ids[i]); in TestTrie() 155 keys[i], strlen(keys[i]), &key_id) == MARISA_ALPHA_OK); in TestTrie() 156 ASSERT(key_id == key_ids[i]); in TestTrie()
|
/external/marisa-trie/tools/ |
D | marisa-find.cc | 58 const marisa::UInt32 key_id = trie.find_first(str, &length); in find_first() local 59 if (key_id != trie.notfound()) { in find_first() 60 std::cout << key_id << '\t'; in find_first() 69 const marisa::UInt32 key_id = trie.find_last(str, &length); in find_last() local 70 if (key_id != trie.notfound()) { in find_last() 71 std::cout << key_id << '\t'; in find_last()
|
D | marisa-lookup.cc | 55 const marisa::UInt32 key_id = trie.lookup(str); in lookup() local 56 if (key_id != trie.notfound()) { in lookup() 57 std::cout << key_id << '\t' << str << '\n'; in lookup()
|
/external/marisa-trie/v0_1_5/tools/ |
D | marisa_alpha-find.cc | 58 const marisa_alpha::UInt32 key_id = trie.find_first(str, &length); in find_first() local 59 if (key_id != trie.notfound()) { in find_first() 60 std::cout << key_id << '\t'; in find_first() 69 const marisa_alpha::UInt32 key_id = trie.find_last(str, &length); in find_last() local 70 if (key_id != trie.notfound()) { in find_last() 71 std::cout << key_id << '\t'; in find_last()
|
D | marisa_alpha-lookup.cc | 55 const marisa_alpha::UInt32 key_id = trie.lookup(str); in lookup() local 56 if (key_id != trie.notfound()) { in lookup() 57 std::cout << key_id << '\t' << str << '\n'; in lookup()
|
/external/openssh/ |
D | krl.c | 67 char *key_id; member 115 return strcmp(a->key_id, b->key_id); in key_id_cmp() 156 free(rki->key_id); in revoked_certs_free() 338 const char *key_id) in ssh_krl_revoke_cert_by_key_id() argument 347 KRL_DBG(("%s: revoke %s", __func__, key_id)); in ssh_krl_revoke_cert_by_key_id() 349 (rki->key_id = strdup(key_id)) == NULL) { in ssh_krl_revoke_cert_by_key_id() 355 free(rki->key_id); in ssh_krl_revoke_cert_by_key_id() 435 key->cert->key_id); in ssh_krl_revoke_key() 689 KRL_DBG(("%s: key ID %s", __func__, rki->key_id)); in revoked_certs_generate() 690 if ((r = sshbuf_put_cstring(sect, rki->key_id)) != 0) in revoked_certs_generate() [all …]
|
D | krl.h | 53 const struct sshkey *ca_key, const char *key_id);
|
D | auth2-pubkey.c | 234 key_type(key), key->cert->key_id, in pubkey_auth_info() 417 "signed by %s CA %s via %s", key->cert->key_id, in check_authkeys_file() 489 key->cert->key_id, key_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
|
/external/tcpdump/ |
D | print-ntp.c | 186 TCHECK(bp->key_id); in ntp_print() 187 printf("\n\tKey id: %u", bp->key_id); in ntp_print() 189 TCHECK(bp->key_id); in ntp_print() 190 printf("\n\tKey id: %u", bp->key_id); in ntp_print()
|
D | ntp.h | 90 u_int32_t key_id; member
|
/external/marisa-trie/ |
D | android_diff.txt | 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, 250 *key_length = h->trie.restore(key_id, key_buf, key_buf_size); 257 - const char *ptr, size_t length, marisa_uint32 *key_id) try { 258 + const char *ptr, size_t length, marisa_uint32 *key_id) { 261 } else if (key_id == NULL) { 263 *key_id = h->trie.lookup(ptr, length); 397 inline UInt32 Trie::key_id_to_node(UInt32 key_id) const { 404 void Trie::restore_(UInt32 key_id, std::string *key) const { 407 - UInt32 node = key_id_to_node(key_id); [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | openCryptoki.conf | 34 key_id="4"
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_config.h | 532 char *key_id; member
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 875 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id); 900 const char *pin, const char *key_id, in tls_engine_init() argument 909 conn->private_key = EVP_PKEY_from_keystore(key_id); in tls_engine_init() 913 key_id, in tls_engine_init() 951 if (key_id) { in tls_engine_init() 963 key_id, NULL, in tls_engine_init() 970 key_id, in tls_engine_init() 3448 const char *key_id = params->key_id; in tls_connection_set_params() local 3464 if (!key_id && params->private_key && can_pkcs11 && in tls_connection_set_params() 3467 key_id = params->private_key; in tls_connection_set_params() [all …]
|