Searched refs:key_id (Results 1 - 25 of 99) sorted by relevance

1234

/external/chromium_org/media/base/
H A Ddecrypt_config.cc11 DecryptConfig::DecryptConfig(const std::string& key_id, argument
15 : key_id_(key_id),
19 CHECK_GT(key_id.size(), 0u);
H A Ddecrypt_config.h37 // |key_id| is the ID that references the decryption key for this sample.
49 DecryptConfig(const std::string& key_id,
55 const std::string& key_id() const { return key_id_; } function in class:media::DecryptConfig
/external/chromium_org/media/webm/
H A Dwebm_crypto_helpers.h28 const uint8* key_id, int key_id_size);
H A Dwebm_crypto_helpers.cc29 const uint8* key_id, int key_id_size) {
53 std::string(reinterpret_cast<const char*>(key_id), key_id_size),
27 WebMCreateDecryptConfig( const uint8* data, int data_size, const uint8* key_id, int key_id_size) argument
/external/marisa-trie/lib/marisa/
H A Dcell.h18 void set_key_id(UInt32 key_id) { argument
19 key_id_ = key_id;
31 UInt32 key_id() const { function in class:marisa::Cell
H A Dtrie-c.cc16 bool operator()(marisa::UInt32 key_id, std::size_t key_length) const { argument
17 return func_(first_arg_, key_id, key_length) != 0;
37 bool operator()(marisa::UInt32 key_id, const std::string &key) const { argument
38 return func_(first_arg_, key_id, key.c_str(), key.length()) != 0;
162 marisa_status marisa_restore(const marisa_trie *h, marisa_uint32 key_id, argument
169 *key_length = h->trie.restore(key_id, key_buf, key_buf_size);
174 const char *ptr, size_t length, marisa_uint32 *key_id) {
177 } else if (key_id == NULL) {
181 *key_id = h->trie.lookup(ptr);
183 *key_id
173 marisa_lookup(const marisa_trie *h, const char *ptr, size_t length, marisa_uint32 *key_id) 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...]
H A Dtrie-search.cc20 bool operator()(marisa::UInt32 key_id, const std::string &key) { argument
22 key_ids_.insert(num_results_, key_id);
42 std::string Trie::restore(UInt32 key_id) const {
44 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR);
46 restore_(key_id, &key);
50 void Trie::restore(UInt32 key_id, std::string *key) const { argument
52 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR);
54 restore_(key_id, key);
57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, argument
60 MARISA_THROW_IF(key_id >
248 restore_(UInt32 key_id, std::string *key) const argument
295 restore_(UInt32 key_id, char *key_buf, std::size_t key_buf_size) const argument
538 const UInt32 key_id = node_to_key_id(node); local
[all...]
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dcell.h18 void set_key_id(UInt32 key_id) { argument
19 key_id_ = key_id;
31 UInt32 key_id() const { function in class:marisa_alpha::Cell
H A Dtrie-c.cc16 bool operator()(marisa_alpha::UInt32 key_id, std::size_t key_length) const { argument
17 return func_(first_arg_, key_id, key_length) != 0;
37 bool operator()(marisa_alpha::UInt32 key_id, const std::string &key) const { argument
38 return func_(first_arg_, key_id, key.c_str(), key.length()) != 0;
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);
197 const char *ptr, size_t length, marisa_alpha_uint32 *key_id) try {
200 } else if (key_id == NULL) {
204 *key_id = h->trie.lookup(ptr);
206 *key_id
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
196 marisa_alpha_lookup(const marisa_alpha_trie *h, const char *ptr, size_t length, marisa_alpha_uint32 *key_id) 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...]
H A Dtrie-search.cc20 bool operator()(marisa_alpha::UInt32 key_id, const std::string &key) { argument
22 key_ids_.insert(num_results_, key_id);
42 std::string Trie::restore(UInt32 key_id) const {
44 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR);
46 restore_(key_id, &key);
50 void Trie::restore(UInt32 key_id, std::string *key) const { argument
52 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR);
54 restore_(key_id, key);
57 std::size_t Trie::restore(UInt32 key_id, char *key_buf, argument
60 MARISA_ALPHA_THROW_IF(key_id >
259 restore_(UInt32 key_id, std::string *key) const argument
314 restore_(UInt32 key_id, char *key_buf, std::size_t key_buf_size) const argument
561 const UInt32 key_id = node_to_key_id(node); local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A DopenCryptoki.conf34 key_id="4"
/external/chromium_org/media/cdm/
H A Djson_web_key.h30 // Vector of [key_id, key_value] pairs. Values are raw binary data, stored in
35 // Converts a single |key|, |key_id| pair to a JSON Web Key Set.
37 const uint8* key_id, int key_id_length);
H A Daes_decryptor.cc340 const std::string& key_id = encrypted->decrypt_config()->key_id(); local
341 DecryptionKey* key = GetKey(key_id);
399 const std::string& key_id,
413 KeyIdToSessionKeysMap::iterator key_id_entry = key_map_.find(key_id);
419 // |key_id| not found, so need to create new entry.
423 key_map_.add(key_id, inner_map.Pass());
428 const std::string& key_id) const {
430 KeyIdToSessionKeysMap::const_iterator key_id_found = key_map_.find(key_id);
447 // Need to get rid of the entry for this key_id
398 AddDecryptionKey(const uint32 session_id, const std::string& key_id, const std::string& key_string) argument
[all...]
/external/marisa-trie/tests/
H A Dc-test.c61 marisa_uint32 key_id, size_t key_length) {
63 ASSERT(key_id == 1);
70 marisa_uint32 key_id, const char *key, size_t key_length) {
74 ASSERT(key_id == 0);
80 ASSERT(key_id == 3);
97 marisa_uint32 key_id; local
143 keys[i], MARISA_ZERO_TERMINATED, &key_id) == MARISA_OK);
144 ASSERT(key_id == key_ids[i]);
147 keys[i], strlen(keys[i]), &key_id) == MARISA_OK);
148 ASSERT(key_id
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
[all...]
/external/marisa-trie/v0_1_5/tests/
H A Dc-test.c66 marisa_alpha_uint32 key_id, size_t key_length) {
68 ASSERT(key_id == 1);
75 marisa_alpha_uint32 key_id, const char *key, size_t key_length) {
79 ASSERT(key_id == 0);
85 ASSERT(key_id == 3);
102 marisa_alpha_uint32 key_id; local
151 keys[i], MARISA_ALPHA_ZERO_TERMINATED, &key_id) == MARISA_ALPHA_OK);
152 ASSERT(key_id == key_ids[i]);
155 keys[i], strlen(keys[i]), &key_id) == MARISA_ALPHA_OK);
156 ASSERT(key_id
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
[all...]
/external/marisa-trie/tools/
H A Dmarisa-find.cc58 const marisa::UInt32 key_id = trie.find_first(str, &length); local
59 if (key_id != trie.notfound()) {
60 std::cout << key_id << '\t'; local
69 const marisa::UInt32 key_id = trie.find_last(str, &length); local
70 if (key_id != trie.notfound()) {
71 std::cout << key_id << '\t'; local
H A Dmarisa-lookup.cc55 const marisa::UInt32 key_id = trie.lookup(str); local
56 if (key_id != trie.notfound()) {
57 std::cout << key_id << '\t' << str << '\n';
/external/marisa-trie/v0_1_5/tools/
H A Dmarisa_alpha-find.cc58 const marisa_alpha::UInt32 key_id = trie.find_first(str, &length); local
59 if (key_id != trie.notfound()) {
60 std::cout << key_id << '\t'; local
69 const marisa_alpha::UInt32 key_id = trie.find_last(str, &length); local
70 if (key_id != trie.notfound()) {
71 std::cout << key_id << '\t'; local
H A Dmarisa_alpha-lookup.cc55 const marisa_alpha::UInt32 key_id = trie.lookup(str); local
56 if (key_id != trie.notfound()) {
57 std::cout << key_id << '\t' << str << '\n';
/external/chromium_org/third_party/openssl/openssl/crypto/engine/
H A Deng_pkey.c96 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, argument
122 pkey = e->load_privkey(e, key_id, ui_method, callback_data);
132 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, argument
158 pkey = e->load_pubkey(e, key_id, ui_method, callback_data);
/external/openssl/crypto/engine/
H A Deng_pkey.c96 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, argument
122 pkey = e->load_privkey(e, key_id, ui_method, callback_data);
132 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, argument
158 pkey = e->load_pubkey(e, key_id, ui_method, callback_data);
/external/chromium_org/media/base/android/
H A Ddemuxer_stream_player_params.h53 std::vector<char> key_id; member in struct:media::AccessUnit
/external/chromium_org/net/cert/
H A Dct_log_verifier.cc24 if (sct.log_id != key_id()) {
H A Dct_log_verifier.h41 const std::string& key_id() const { return key_id_; } function in class:net::CTLogVerifier
/external/tcpdump/
H A Dntp.h90 u_int32_t key_id; member in struct:ntpdata

Completed in 378 milliseconds

1234