/external/v8/src/base/ |
hashmap-entry.h | 13 // HashMap entries are (key, value, hash) triplets, with a boolean indicating if 15 // (e.g. implementers of sets, where the key is the value). 16 template <typename Key, typename Value> 18 Key key; member in struct:v8::base::TemplateHashMapEntry 20 uint32_t hash; // The full hash value for key 22 TemplateHashMapEntry(Key key, Value value, uint32_t hash) 23 : key(key), value(value), hash(hash), exists_(true) { 36 Key* key; member in struct:v8::base::TemplateHashMapEntry [all...] |
/external/v8/src/ |
lookup-cache-inl.h | 25 Key& key = keys_[index]; local 26 if ((key.source == source) && (key.name == name)) return results_[index]; 33 Key& key = keys_[index]; local 34 key.source = source; 35 key.name = name;
|
/external/vboot_reference/tests/ |
rsa_padding_test.c | 17 static void TestSignatures(RSAPublicKey* key) { 22 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, 28 if (RSAVerify(key, signatures[i], RSA1024NUMBYTES, 0, 40 static void TestRSAVerify(RSAPublicKey* key) { 43 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, 45 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES - 1, 0, 47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms, 49 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 3, 55 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0, 60 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0 67 RSAPublicKey* key; local [all...] |
/frameworks/ml/nn/runtime/test/generated/models/ |
hashtable_lookup_float.model.cpp | 10 auto key = model->addOperand(&type1); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
hashtable_lookup_float_relaxed.model.cpp | 10 auto key = model->addOperand(&type1); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
hashtable_lookup_quant8.model.cpp | 10 auto key = model->addOperand(&type1); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
/hardware/intel/common/libva/va/drm/ |
va_drm_utils.c | 33 const char *key; member in struct:driver_name_map 63 for (m = g_driver_name_map; m->key != NULL; m++) { 65 strncmp(drm_version->name, m->key, m->key_len) == 0)
|
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 20 * The key. 22 private final android.icu.text.CollationKey key; field in class:CollationKeyICU 24 public CollationKeyICU(String source, android.icu.text.CollationKey key) { 26 this.key = key; 33 otherKey = ((CollationKeyICU) other).key; 39 return key.compareTo(otherKey); 61 * @return hash value of collation key. Hash value is never 0. 66 return key.hashCode(); 71 return key.toByteArray() [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
PBEKeyTest.java | 43 checkPBEKey key = new checkPBEKey(); local 45 key.getSerVerUID(), //PBEKey.serialVersionUID 50 checkPBEKey key = new checkPBEKey(); local 52 key.getIterationCount(); 56 checkPBEKey key = new checkPBEKey(); local 58 key.getPassword(); 62 checkPBEKey key = new checkPBEKey(); local 64 key.getSalt();
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
DSAPrivateKeyTest.java | 37 DSAPrivateKey key = (DSAPrivateKey) keyPair.getPrivate(); local 38 assertNotNull("Invalid X value", key.getX());
|
RSAKeyTest.java | 32 * Case 1: check private key 33 * Case 2: check public key 40 RSAKey key = null; local 42 // Case 1: check private key 43 key = (RSAKey) gen.generatePrivate(new RSAPrivateKeySpec(n, d)); 44 assertEquals("invalid modulus", n, key.getModulus()); 46 // Case 2: check public key 47 key = (RSAKey) gen.generatePublic(new RSAPublicKeySpec(n, e)); 48 assertEquals("invalid modulus", n, key.getModulus());
|
RSAPrivateKeyTest.java | 35 RSAPrivateKey key = (RSAPrivateKey) gen.generatePrivate(new RSAPrivateKeySpec( local 37 assertEquals("invalid private exponent", d, key.getPrivateExponent());
|
RSAPublicKeyTest.java | 35 RSAPublicKey key = (RSAPublicKey) gen.generatePublic(new RSAPublicKeySpec( local 37 assertEquals("invalid public exponent", e, key.getPublicExponent());
|
/libcore/ojluni/src/main/java/java/util/ |
MissingResourceException.java | 58 * @param key the key for the missing resource. 60 public MissingResourceException(String s, String className, String key) { 63 this.key = key; 68 * <code>message</code>, <code>className</code>, <code>key</code>, 76 * @param key 77 * the key for the missing resource. 84 MissingResourceException(String message, String className, String key, Throwable cause) { 87 this.key = key 123 private String key; field in class:MissingResourceException [all...] |
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
DESedeKeySpec.java | 31 * This class specifies a DES-EDE ("triple-DES") key. 40 * The constant which defines the length of a DESede key in bytes. 44 private byte[] key; field in class:DESedeKeySpec 48 * <code>key</code> as the key material for the DES-EDE key. 50 * <p> The bytes that constitute the DES-EDE key are those between 51 * <code>key[0]</code> and <code>key[23]</code> inclusive 53 * @param key the buffer with the DES-EDE key material. The firs [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
WidgetDAO.java | 27 /** Suffix for a key to a preference that stores the instance count for a given widget type. */ 38 final String key = widgetProviderClass.getSimpleName() + WIDGET_COUNT; local 39 final int oldCount = prefs.getInt(key, 0); 41 prefs.edit().remove(key).apply(); 43 prefs.edit().putInt(key, count).apply();
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
BugleApplicationPrefs.java | 36 protected void validateKey(String key) { 37 super.validateKey(key); 39 Assert.isFalse(key.startsWith(SHARED_PREFERENCES_PER_SUBSCRIPTION_PREFIX));
|
/packages/apps/TV/common/src/com/android/tv/common/config/api/ |
RemoteConfigValue.java | 18 /** Wrapper for a RemoteConfig key and default value. */ 21 private final String key; field in class:RemoteConfigValue 23 private RemoteConfigValue(String key, T defaultValue) { 25 this.key = key; 28 /** Create with the given key and default value */ 29 public static RemoteConfigValue<Long> create(String key, long defaultValue) { 30 return new RemoteConfigValue<Long>(key, defaultValue) { 33 return remoteConfig.getLong(key, defaultValue); 46 return "RemoteConfigValue(key=" + key + ", defalutValue=" + defaultValue + "]" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/ |
DenseMapInfo.h | 190 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 192 key += ~(key << 32); 193 key ^= (key >> 22); 194 key += ~(key << 13); 195 key ^= (key >> 8); 196 key += (key << 3) [all...] |