HomeSort by relevance Sort by last modified time
    Searched defs:key_id (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/media/base/
decrypt_config.h 37 // |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/marisa-trie/lib/marisa/
cell.h 18 void set_key_id(UInt32 key_id) {
19 key_id_ = key_id;
31 UInt32 key_id() const { function in class:marisa::Cell
trie-search.cc 20 bool operator()(marisa::UInt32 key_id, const std::string &key) {
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 {
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,
60 MARISA_THROW_IF(key_id >= num_keys_, MARISA_PARAM_ERROR)
538 const UInt32 key_id = node_to_key_id(node); local
    [all...]
  /external/marisa-trie/tests/
c-test.c 61 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 == key_ids[i])
    [all...]
  /external/marisa-trie/tools/
marisa-lookup.cc 55 const marisa::UInt32 key_id = trie.lookup(str); local
56 if (key_id != trie.notfound()) {
57 std::cout << key_id << '\t' << str << '\n';
marisa-find.cc 58 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
marisa-benchmark.cc 204 const marisa::UInt32 key_id = trie.lookup(keys[i].first); local
205 if (key_id != key_ids[i]) {
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
cell.h 18 void set_key_id(UInt32 key_id) {
19 key_id_ = key_id;
31 UInt32 key_id() const { function in class:marisa_alpha::Cell
trie-search.cc 20 bool operator()(marisa_alpha::UInt32 key_id, const std::string &key) {
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 {
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,
60 MARISA_ALPHA_THROW_IF(key_id >= num_keys_, MARISA_ALPHA_PARAM_ERROR)
561 const UInt32 key_id = node_to_key_id(node); local
    [all...]
  /external/marisa-trie/v0_1_5/tests/
c-test.c 66 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 == key_ids[i])
    [all...]
  /external/marisa-trie/v0_1_5/tools/
marisa_alpha-lookup.cc 55 const marisa_alpha::UInt32 key_id = trie.lookup(str); local
56 if (key_id != trie.notfound()) {
57 std::cout << key_id << '\t' << str << '\n';
marisa_alpha-find.cc 58 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
marisa_alpha-benchmark.cc 204 const marisa_alpha::UInt32 key_id = trie.lookup(keys[i].first); local
205 if (key_id != key_ids[i]) {
  /system/security/keystore-engine/
dsa_meth.cpp 53 uint8_t* key_id = reinterpret_cast<uint8_t*>(DSA_get_ex_data(dsa, dsa_key_handle)); local
54 if (key_id == NULL) {
55 ALOGE("key had no key_id!");
72 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst,
124 int dsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) {
126 if (!DSA_set_ex_data(dsa.get(), dsa_key_handle, reinterpret_cast<void*>(strdup(key_id)))) {
ecdsa_meth.cpp 58 uint8_t* key_id = reinterpret_cast<uint8_t*>(EC_KEY_get_key_method_data(eckey, local
60 if (key_id == NULL) {
61 ALOGE("key had no key_id!");
78 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst,
124 int ecdsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) {
127 reinterpret_cast<void*>(strdup(key_id)), ex_data_dup, ex_data_free,
rsa_meth.cpp 76 uint8_t* key_id = reinterpret_cast<uint8_t*>(RSA_get_ex_data(rsa, rsa_key_handle)); local
77 if (key_id == NULL) {
78 ALOGE("key had no key_id!");
93 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), padded.get(),
120 uint8_t* key_id = reinterpret_cast<uint8_t*>(RSA_get_ex_data(rsa, rsa_key_handle)); local
121 if (key_id == NULL) {
122 ALOGE("key had no key_id!");
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from,
212 int rsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) {
214 if (!RSA_set_ex_data(rsa.get(), rsa_key_handle, reinterpret_cast<void*>(strdup(key_id)))) {
    [all...]
  /external/chromium_org/media/base/android/
demuxer_stream_player_params.h 48 std::vector<char> key_id; member in struct:media::AccessUnit
  /external/openssh/
key.h 67 char *key_id; member in struct:KeyCert
  /external/tcpdump/
ntp.h 90 u_int32_t key_id; member in struct:ntpdata
  /bionic/libc/netbsd/nameser/
ns_print.c 464 u_int keyflags, protocol, algorithm, key_id; local
473 key_id = dst_s_dns_key_id(rdata, edata-rdata);
475 key_id = 0;
502 n = SPRINTF((tmp, " ; key_tag= %u", key_id));
  /external/chromium_org/media/cdm/
aes_decryptor.cc 251 const std::string& key_id = encrypted->decrypt_config()->key_id(); local
252 DecryptionKey* key = GetKey(key_id);
309 void AesDecryptor::SetKey(const std::string& key_id,
312 KeyMap::iterator found = key_map_.find(key_id);
317 key_map_[key_id] = decryption_key.release();
321 const std::string& key_id) const {
323 KeyMap::const_iterator found = key_map_.find(key_id);
aes_decryptor_unittest.cc 31 // |encrypted_data| is encrypted from |plain_text| using |key|. |key_id| is
36 uint8 key_id[32]; member in struct:media::WebmEncryptedData
52 // key_id
69 // key_id
87 // key_id
103 // key_id
196 // decryptor. |data| is the payload of a WebM encrypted Block. |key_id| is
204 const uint8* key_id, int key_id_size) {
225 std::string(reinterpret_cast<const char*>(key_id), key_id_size),
237 const uint8* key_id, int key_id_size
    [all...]