/external/marisa-trie/v0_1_5/tests/ |
trie-test.cc | 17 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 == keys[0].length()) 450 std::size_t key_length; local 606 std::size_t key_length; local [all...] |
c-test.c | 66 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]));
|
/external/wpa_supplicant_8/src/common/ |
eapol_common.h | 55 /* Note: key_length is unaligned */ 56 u8 key_length[2]; member in struct:ieee802_1x_eapol_key 70 * key field (of key_length bytes) contains the key in encrypted form; 71 * if packet body length = 44, key field is absent and key_length
|
/external/marisa-trie/tests/ |
trie-test.cc | 17 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 == keys[0].length()) 432 std::size_t key_length; local 588 std::size_t key_length; local [all...] |
c-test.c | 61 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]));
|
/external/marisa-trie/lib/marisa/ |
trie-c.cc | 16 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); [all...] |
trie.h | 92 std::size_t *key_length = NULL) const; 94 std::size_t *key_length = NULL) const; 96 std::size_t *key_length = NULL) const; 99 std::size_t *key_length = NULL) const; 101 std::size_t *key_length = NULL) const; 103 std::size_t *key_length = NULL) const; 105 // bool callback(UInt32 key_id, std::size_t key_length); 256 UInt32 find_first_(T query, std::size_t *key_length) const; 258 UInt32 find_last_(T query, std::size_t *key_length) const; 340 char *key_buf, size_t key_buf_size, size_t *key_length); [all...] |
/external/chromium/crypto/ |
hmac_mac.cc | 23 bool HMAC::Init(const unsigned char *key, int key_length) { 30 plat_->key_.assign(reinterpret_cast<const char*>(key), key_length); local
|
hmac_win.cc | 98 bool HMAC::Init(const unsigned char* key, int key_length) { 106 if (key_length < SHA256_LENGTH / 2) 108 plat_->raw_key_.assign(key, key + key_length); 130 size_t key_blob_size = std::max(offsetof(KeyBlob, key_data) + key_length, 138 key_blob->key_size = key_length; 139 memcpy(key_blob->key_data, key, key_length); 149 SecureZeroMemory(key_blob->key_data, key_length);
|
hmac.h | 33 // Initializes this instance using |key| of the length |key_length|. Call Init 35 bool Init(const unsigned char* key, int key_length);
|
hmac_openssl.cc | 29 bool HMAC::Init(const unsigned char* key, int key_length) { 33 plat_->key.assign(key, key + key_length);
|
hmac_nss.cc | 42 bool HMAC::Init(const unsigned char *key, int key_length) { 60 key_item.len = key_length;
|
/external/chromium_org/crypto/ |
hmac_openssl.cc | 29 bool HMAC::Init(const unsigned char* key, size_t key_length) { 33 plat_->key.assign(key, key + key_length);
|
hmac_win.cc | 112 bool HMAC::Init(const unsigned char* key, size_t key_length) { 120 plat_->raw_key_.assign(key, key + key_length); 142 size_t key_blob_size = std::max(offsetof(KeyBlob, key_data) + key_length, 150 key_blob->key_size = static_cast<DWORD>(key_length); 151 memcpy(key_blob->key_data, key, key_length); 161 SecureZeroMemory(key_blob->key_data, key_length);
|
hmac_nss.cc | 42 bool HMAC::Init(const unsigned char *key, size_t key_length) { 60 key_item.len = key_length;
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
trie-c.cc | 16 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); [all...] |
trie.h | 92 std::size_t *key_length = NULL) const; 94 std::size_t *key_length = NULL) const; 96 std::size_t *key_length = NULL) const; 99 std::size_t *key_length = NULL) const; 101 std::size_t *key_length = NULL) const; 103 std::size_t *key_length = NULL) const; 105 // bool callback(UInt32 key_id, std::size_t key_length); 256 UInt32 find_first_(T query, std::size_t *key_length) const; 258 UInt32 find_last_(T query, std::size_t *key_length) const; 343 size_t *key_length); [all...] |
/external/chromium_org/third_party/mt19937ar/ |
mt19937ar.cc | 6 or init_by_array(init_key, key_length). 77 /* key_length is its length */ 79 void MersenneTwister::init_by_array(uint32 init_key[], int key_length) 84 k = (N>key_length ? N : key_length); 91 if (j>=key_length) j=0;
|
readme-mt.txt | 17 init_genrand(seed) and init_by_array(init_key, key_length). 22 init_by_array(init_key, key_length) initializes the state vector 24 of length key_kength. If key_length is smaller than 624,
|
mt19937ar.h | 6 or init_by_array(init_key, key_length). 57 void init_by_array(uint32 init_key[], int key_length);
|
/external/chromium_org/third_party/openssl/openssl/crypto/hmac/ |
hmac.c | 112 &ctx->key_length)) 119 ctx->key_length=len; 121 if(ctx->key_length != HMAC_MAX_MD_CBLOCK) 122 memset(&ctx->key[ctx->key_length], 0, 123 HMAC_MAX_MD_CBLOCK - ctx->key_length); 203 dctx->key_length = sctx->key_length;
|
/external/openssl/crypto/hmac/ |
hmac.c | 112 &ctx->key_length)) 119 ctx->key_length=len; 121 if(ctx->key_length != HMAC_MAX_MD_CBLOCK) 122 memset(&ctx->key[ctx->key_length], 0, 123 HMAC_MAX_MD_CBLOCK - ctx->key_length); 203 dctx->key_length = sctx->key_length;
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
memtable.cc | 123 uint32_t key_length; local 124 const char* key_ptr = GetVarint32Ptr(entry, entry+5, &key_length); 126 Slice(key_ptr, key_length - 8), 129 const uint64_t tag = DecodeFixed64(key_ptr + key_length - 8); 132 Slice v = GetLengthPrefixedSlice(key_ptr + key_length);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
SecretKeyFactoryTest.java | 43 private static final int KEY_LENGTH = 128; 93 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); 100 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); 106 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); 117 test_PBKDF2_UTF8(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected); 118 test_PBKDF2_8BIT(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected);
|
/external/chromium_org/net/disk_cache/simple/ |
simple_entry_format.h | 44 uint32 key_length; member in struct:disk_cache::SimpleFileHeader
|