Searched refs:key (Results 76 - 100 of 3578) sorted by relevance

1234567891011>>

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/
H A DKerberosKeyTest.java63 KerberosKey key = new KerberosKey(principal, keyBytes, 1, 123);
64 assertEquals("DES algorithm", "DES", key.getAlgorithm());
65 assertEquals("version number", 123, key.getVersionNumber());
66 assertEquals("format", "RAW", key.getFormat());
67 assertSame("principal", principal, key.getPrincipal());
68 assertFalse("is destroyed", key.isDestroyed());
71 key = new KerberosKey(principal, keyBytes, 0, 0);
72 assertEquals("NULL algorithm", "NULL", key.getAlgorithm());
73 assertEquals("version number", 0, key.getVersionNumber());
106 KerberosKey key
[all...]
/external/openssh/regress/
H A Dkeygen-convert.sh7 # generate user key for agent
8 trace "generating $t key"
9 rm -f $OBJ/$t-key
10 ${SSHKEYGEN} -q -N "" -t $t -f $OBJ/$t-key
13 ${SSHKEYGEN} -q -e -f $OBJ/$t-key >$OBJ/$t-key-rfc || \
17 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \
20 cmp $OBJ/$t-key-rfc $OBJ/$t-key
[all...]
/external/openssl/crypto/aes/
H A Daes.h89 AES_KEY *key);
91 AES_KEY *key);
94 AES_KEY *key);
96 AES_KEY *key);
99 const AES_KEY *key);
101 const AES_KEY *key);
104 const AES_KEY *key, const int enc);
106 size_t length, const AES_KEY *key,
109 size_t length, const AES_KEY *key,
112 size_t length, const AES_KEY *key,
[all...]
/external/openssl/include/openssl/
H A Daes.h89 AES_KEY *key);
91 AES_KEY *key);
94 AES_KEY *key);
96 AES_KEY *key);
99 const AES_KEY *key);
101 const AES_KEY *key);
104 const AES_KEY *key, const int enc);
106 size_t length, const AES_KEY *key,
109 size_t length, const AES_KEY *key,
112 size_t length, const AES_KEY *key,
[all...]
/external/qemu/
H A Dqdict.h24 char *key; member in struct:QDictEntry
40 void qdict_put_obj(QDict *qdict, const char *key, QObject *value);
41 void qdict_del(QDict *qdict, const char *key);
42 int qdict_haskey(const QDict *qdict, const char *key);
43 QObject *qdict_get(const QDict *qdict, const char *key);
46 void (*iter)(const char *key, QObject *obj, void *opaque),
52 #define qdict_put(qdict, key, obj) \
53 qdict_put_obj(qdict, key, QOBJECT(obj))
56 double qdict_get_double(const QDict *qdict, const char *key);
57 int64_t qdict_get_int(const QDict *qdict, const char *key);
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebIDBKey.cpp46 WebIDBKey key; local
47 key.assignNull();
48 return key;
53 WebIDBKey key; local
54 key.assignString(string);
55 return key;
60 WebIDBKey key; local
61 key.assignDate(date);
62 return key;
67 WebIDBKey key; local
74 WebIDBKey key; local
86 injectIDBKeyIntoSerializedValue(const WebIDBKey& key, const WebSerializedScriptValue& value, const WebIDBKeyPath& path) argument
[all...]
/external/chromium/chrome/browser/webdata/
H A Dautofill_entry.cc21 AutofillKey::AutofillKey(const AutofillKey& key) argument
22 : name_(key.name()),
23 value_(key.value()) {
28 bool AutofillKey::operator==(const AutofillKey& key) const {
29 return name_ == key.name() && value_ == key.value();
32 bool AutofillKey::operator<(const AutofillKey& key) const {
33 int diff = name_.compare(key.name());
37 return value_.compare(key.value()) < 0;
43 AutofillEntry::AutofillEntry(const AutofillKey& key, argument
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAtomicLongMapTest.java53 String key = "key";
55 long before = map.get(key);
56 long result = map.incrementAndGet(key);
57 long after = map.get(key);
63 assertTrue(map.containsKey(key));
64 assertEquals(ITERATIONS, (int) map.get(key));
69 String key = "key";
70 assertEquals(0L, map.get(key));
[all...]
/external/okhttp/src/main/java/libcore/util/
H A DBasicLruCache.java39 * Returns the value for {@code key} if it exists in the cache or can be
44 public synchronized final V get(K key) { argument
45 if (key == null) {
49 V result = map.get(key);
54 result = create(key);
57 map.put(key, result);
64 * Caches {@code value} for {@code key}. The value is moved to the head of
67 * @return the previous value mapped by {@code key}. Although that entry is
70 public synchronized final V put(K key, V value) { argument
71 if (key
96 entryEvicted(K key, V value) argument
104 create(K key) argument
[all...]
/external/oprofile/libdb/
H A Ddb_insert.c3 * Inserting a key-value pair into a DB
21 static inline int add_node(odb_data_t * data, odb_key_t key, odb_value_t value) argument
40 node->key = key;
42 index = odb_do_hash(data, key);
52 int odb_update_node(odb_t * odb, odb_key_t key) argument
54 return odb_update_node_with_offset(odb, key, 1);
58 odb_key_t key,
66 index = data->hash_base[odb_do_hash(data, key)];
69 if (node->key
57 odb_update_node_with_offset(odb_t * odb, odb_key_t key, unsigned long int offset) argument
106 odb_add_node(odb_t * odb, odb_key_t key, odb_value_t value) argument
[all...]
/external/webkit/Source/WebKit2/Shared/
H A DVisitedLinkTable.cpp66 static inline unsigned doubleHash(unsigned key) argument
68 key = ~key + (key >> 23);
69 key ^= (key << 12);
70 key ^= (key >> 7);
71 key ^= (key <<
[all...]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DSecretKeySpecTest.java38 * SecretKeySpec(byte[] key, String algorithm) method testing. Tests that
44 byte[] key = new byte[] {1, 2, 3, 4, 5};
50 + "in the case of empty key.");
57 + "in the case of null key.");
62 new SecretKeySpec(key, null);
68 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
69 key[0] ++;
70 assertFalse("The change of key specified in the constructor "
72 key[0] == ks.getEncoded()[0]);
76 * SecretKeySpec(byte[] key, in
[all...]
/external/libsepol/src/
H A Davtab.c59 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, argument
67 newnode->key = *key;
81 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) argument
86 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD);
91 hvalue = avtab_hash(key, h->mask);
94 if (key->source_type == cur->key.source_type &&
95 key->target_type == cur->key
122 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) argument
154 avtab_search(avtab_t * h, avtab_key_t * key) argument
189 avtab_search_node(avtab_t * h, avtab_key_t * key) argument
375 avtab_key_t key; local
[all...]
/external/chromium/app/sql/
H A Dmeta_table.h59 // Set the given arbitrary key with the given data. Returns true on success.
60 bool SetValue(const char* key, const std::string& value);
61 bool SetValue(const char* key, int value);
62 bool SetValue(const char* key, int64 value);
64 // Retrieves the value associated with the given key. This will use sqlite's
66 bool GetValue(const char* key, std::string* value);
67 bool GetValue(const char* key, int* value);
68 bool GetValue(const char* key, int64* value);
73 bool PrepareSetStatement(Statement* statement, const char* key);
74 bool PrepareGetStatement(Statement* statement, const char* key);
[all...]
/external/chromium/net/base/
H A Dnet_module.cc17 base::StringPiece NetModule::GetResource(int key) { argument
18 return resource_provider ? resource_provider(key) : base::StringPiece();
/external/chromium/net/http/
H A Ddes.h18 // Build a 64-bit DES key from a 56-bit raw key.
19 void DESMakeKey(const uint8* raw, uint8* key);
22 // data. |key| is a DES key (8 bytes), |src| is the input plaintext (8
24 void DESEncrypt(const uint8* key, const uint8* src, uint8* hash);
/external/clang/test/SemaObjC/
H A Dformat-strings-system.h8 #define NSLocalizedString(key) GetLocalizedString(key)
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_ansi_x963_export.c27 @param key Key to export
32 int ecc_ansi_x963_export(ecc_key *key, unsigned char *out, unsigned long *outlen) argument
37 LTC_ARGCHK(key != NULL);
41 if (ltc_ecc_is_valid_idx(key->idx) == 0) {
44 numlen = key->dp->size;
56 mp_to_unsigned_bin(key->pubkey.x, buf + (numlen - mp_unsigned_bin_size(key->pubkey.x)));
61 mp_to_unsigned_bin(key->pubkey.y, buf + (numlen - mp_unsigned_bin_size(key->pubkey.y)));
/external/guava/guava/src/com/google/common/collect/
H A DForwardingConcurrentMap.java42 public V putIfAbsent(K key, V value) { argument
43 return delegate().putIfAbsent(key, value);
47 public boolean remove(Object key, Object value) { argument
48 return delegate().remove(key, value);
52 public V replace(K key, V value) { argument
53 return delegate().replace(key, value);
57 public boolean replace(K key, V oldValue, V newValue) { argument
58 return delegate().replace(key, oldValue, newValue);
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
H A DAssetEventListener.java50 * @param key the AssetKey for the asset loaded.
52 public void assetLoaded(AssetKey key); argument
60 * @param key
62 public void assetRequested(AssetKey key); argument
70 * @param parentKey The key of the parent asset that is being loaded
72 * @param dependentAssetKey The asset key of the dependent asset that has
/external/openssl/crypto/rsa/
H A Drsa_test.c22 key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \
23 key->e = BN_bin2bn(e, sizeof(e)-1, key->e); \
24 key->d = BN_bin2bn(d, sizeof(d)-1, key->d); \
25 key->p = BN_bin2bn(p, sizeof(p)-1, key->p); \
26 key->q = BN_bin2bn(q, sizeof(q)-1, key
33 key1(RSA *key, unsigned char *c) argument
82 key2(RSA *key, unsigned char *c) argument
127 key3(RSA *key, unsigned char *c) argument
214 RSA *key; local
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-splay.js44 function GeneratePayloadTree(depth, key) {
48 string : 'String for key ' + key + ' in leaf node'
52 left: GeneratePayloadTree(depth - 1, key),
53 right: GeneratePayloadTree(depth - 1, key)
67 // Insert new node with a unique key.
68 var key;
70 key = GenerateKey();
71 } while (splayTree.find(key) != null);
72 splayTree.insert(key, GeneratePayloadTre
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-splay.js44 function GeneratePayloadTree(depth, key) {
48 string : 'String for key ' + key + ' in leaf node'
52 left: GeneratePayloadTree(depth - 1, key),
53 right: GeneratePayloadTree(depth - 1, key)
67 // Insert new node with a unique key.
68 var key;
70 key = GenerateKey();
71 } while (splayTree.find(key) != null);
72 splayTree.insert(key, GeneratePayloadTre
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-encblock.c18 * @key: Key for AES
23 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
26 ctx = aes_encrypt_init(key, 16);
/external/wpa_supplicant_8/src/crypto/
H A Daes-encblock.c18 * @key: Key for AES
23 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
26 ctx = aes_encrypt_init(key, 16);

Completed in 1900 milliseconds

1234567891011>>