/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/ |
H A D | JcaBasicOCSPRespBuilder.java | 13 public JcaBasicOCSPRespBuilder(PublicKey key, DigestCalculator digCalc) argument 16 super(SubjectPublicKeyInfo.getInstance(key.getEncoded()), digCalc);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
H A D | ECDHBasicAgreement.java | 20 * party's private key and another party's public key, where both have 23 * primitive can be invoked by a scheme to derive a shared secret key; 31 private ECPrivateKeyParameters key; field in class:ECDHBasicAgreement 34 CipherParameters key) 36 this.key = (ECPrivateKeyParameters)key; 41 return (key.getParameters().getCurve().getFieldSize() + 7) / 8; 49 ECCurve myCurve = key.getParameters().getCurve(); 51 throw new IllegalStateException("Infinity is not a valid public key fo 33 init( CipherParameters key) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | KeyParameter.java | 8 private byte[] key; field in class:KeyParameter 11 byte[] key) 13 this(key, 0, key.length); 17 byte[] key, 21 this.key = new byte[keyLen]; 23 System.arraycopy(key, keyOff, this.key, 0, keyLen); 28 return key; 10 KeyParameter( byte[] key) argument 16 KeyParameter( byte[] key, int keyOff, int keyLen) argument
|
H A D | RC2Parameters.java | 9 byte[] key) 11 this(key, (key.length > 128) ? 1024 : (key.length * 8)); 15 byte[] key, 18 super(key); 8 RC2Parameters( byte[] key) argument 14 RC2Parameters( byte[] key, int bits) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
H A D | DHUtil.java | 23 PublicKey key) 26 if (key instanceof BCDHPublicKey) 28 return ((BCDHPublicKey)key).engineGetKeyParameters(); 30 if (key instanceof DHPublicKey) 32 DHPublicKey k = (DHPublicKey)key; 38 throw new InvalidKeyException("can't identify DH public key."); 42 PrivateKey key) 45 if (key instanceof DHPrivateKey) 47 DHPrivateKey k = (DHPrivateKey)key; 53 throw new InvalidKeyException("can't identify DH private key 22 generatePublicKeyParameter( PublicKey key) argument 41 generatePrivateKeyParameter( PrivateKey key) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | DHUtil.java | 22 PublicKey key) 25 if (key instanceof DHPublicKey) 27 DHPublicKey k = (DHPublicKey)key; 33 throw new InvalidKeyException("can't identify DH public key."); 37 PrivateKey key) 40 if (key instanceof DHPrivateKey) 42 DHPrivateKey k = (DHPrivateKey)key; 48 throw new InvalidKeyException("can't identify DH private key."); 21 generatePublicKeyParameter( PublicKey key) argument 36 generatePrivateKeyParameter( PrivateKey key) argument
|
/external/cn-cbor/src/ |
H A D | cn-get.c | 7 cn_cbor* cn_cbor_mapget_int(const cn_cbor* cb, int key) { argument 13 if (cp->v.uint == (unsigned long)key) { 18 if (cp->v.sint == (long)key) { 29 cn_cbor* cn_cbor_mapget_string(const cn_cbor* cb, const char* key) { argument 33 assert(key); 34 keylen = strlen(key); 42 if (memcmp(key, cp->v.str, keylen) == 0) {
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | cleanup_in_tsd_destructor.c | 18 pthread_key_t key; variable 29 int res = pthread_setspecific(key, (void*)1); 35 int res = pthread_key_create(&key, &key_destructor);
|
H A D | disabler_in_tsd_destructor.c | 13 pthread_key_t key; variable 20 pthread_setspecific(key, 0); 25 int res = pthread_setspecific(key, (void*)1); 31 int res = pthread_key_create(&key, &key_destructor);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLECKeyFactory.java | 76 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) argument 78 if (key == null) { 79 throw new InvalidKeySpecException("key == null"); 86 if (!"EC".equals(key.getAlgorithm())) { 87 throw new InvalidKeySpecException("Key must be an EC key"); 90 if (key instanceof ECPublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { 91 ECPublicKey ecKey = (ECPublicKey) key; 95 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { 96 final byte[] encoded = key.getEncoded(); 97 if (!"X.509".equals(key 148 engineTranslateKey(Key key) argument [all...] |
H A D | OpenSSLRSAKeyFactory.java | 79 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) argument 81 if (key == null) { 82 throw new InvalidKeySpecException("key == null"); 89 if (!"RSA".equals(key.getAlgorithm())) { 90 throw new InvalidKeySpecException("Key must be a RSA key"); 93 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { 94 RSAPublicKey rsaKey = (RSAPublicKey) key; 98 } else if (key instanceof PublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { 99 final byte[] encoded = key.getEncoded(); 100 if (!"X.509".equals(key 186 engineTranslateKey(Key key) argument [all...] |
/external/curl/lib/ |
H A D | splay.h | 30 struct Curl_tree *samen; /* points to the next node with identical key */ 31 struct Curl_tree *samep; /* points to the prev node with identical key */ 32 struct curltime key; /* this node's "sort" key */ member in struct:Curl_tree 39 struct Curl_tree *Curl_splayinsert(struct curltime key, 44 struct Curl_tree *Curl_splayremove(struct curltime key, 49 struct Curl_tree *Curl_splaygetbest(struct curltime key,
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | BindingKey.java | 34 static BindingKey create(Kind kind, Key key) { argument 35 return new AutoValue_BindingKey(kind, key); 39 abstract Key key(); method in class:BindingKey
|
/external/deqp/framework/delibs/depool/ |
H A D | dePoolSet.c | 86 deInt16 key = deTestSetIter_getKey(&iter); local 87 DE_TEST_ASSERT(deInBounds32(key, 1000, 5000) || deInBounds32(key, 10000, 12000)); 88 DE_TEST_ASSERT(deTestSet_exists(set, key));
|
/external/deqp/framework/delibs/dethread/unix/ |
H A D | deThreadLocalUnix.c | 38 DE_INLINE deThreadLocal keyToThreadLocal (pthread_key_t key) argument 40 return (deThreadLocal)(key + 1); 51 pthread_key_t key = (pthread_key_t)0; local 52 if (pthread_key_create(&key, DE_NULL) != 0) 54 return keyToThreadLocal(key);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
H A D | SafeKeyGenerator.java | 17 public String getSafeKey(Key key) { argument 20 safeKey = loadIdToSafeHash.get(key); 25 key.updateDiskCacheKey(messageDigest); 33 loadIdToSafeHash.put(key, safeKey);
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | Weigher.java | 36 int weigh(K key, V value); argument
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | MapConstraint.java | 30 * public void checkKeyValue(Object key, Object value) { 31 * if (key == null || value == null) { 38 * variables, and time) and should only depend on the value of the passed-in key 52 * Throws a suitable {@code RuntimeException} if the specified key or value is 57 void checkKeyValue(@Nullable K key, @Nullable V value); argument
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | AbstractListMultimapTester.java | 34 protected void assertGet(K key, V... values) { argument 35 assertGet(key, Arrays.asList(values)); 38 protected void assertGet(K key, Collection<V> values) { argument 39 assertThat(multimap().get(key)).has().exactlyAs(values).inOrder(); 42 assertThat(multimap().asMap().get(key)).has().exactlyAs(values).inOrder(); 45 assertThat(multimap().asMap().get(key)).isNull(); 48 assertEquals(values.size(), multimap().get(key).size()); 49 assertEquals(values.size() > 0, multimap().containsKey(key)); 50 assertEquals(values.size() > 0, multimap().keySet().contains(key)); 51 assertEquals(values.size() > 0, multimap().keys().contains(key)); [all...] |
/external/guice/core/src/com/google/inject/ |
H A D | Scope.java | 43 * @param key binding key 50 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped); argument
|
/external/guice/core/src/com/google/inject/internal/ |
H A D | Lookups.java | 32 <T> Provider<T> getProvider(Key<T> key); argument
|
/external/guice/core/src/com/google/inject/spi/ |
H A D | PrivateElements.java | 51 * Returns an arbitrary object containing information about the "place" where this key was 58 * @param key one of the keys exposed by this module. 60 Object getExposedSource(Key<?> key); argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | CacheBase.java | 15 * implements the createInstance() method, and call get() with the key and the data. 19 * @param <K> Cache lookup key type 28 * Retrieves an instance from the cache. Calls createInstance(key, data) if the cache 29 * does not already contain an instance with this key. 30 * Ignores data if the cache already contains an instance with this key. 31 * @param key Cache lookup key for the requested instance 35 public abstract V getInstance(K key, D data); argument 37 * Creates an instance for the key and data. Must be overridden. 38 * @param key Cach 42 createInstance(K key, D data) argument [all...] |
H A D | SoftCache.java | 18 * and call get() with the key and the data. The get() call will use the data 28 * In this case, it must do so consistently for the same key and data. 30 * @param <K> Cache lookup key type 42 public final V getInstance(K key, D data) { argument 48 // ConcurrentHashMap.putIfAbsent() never replaces the key's value, and if it were 51 Object mapValue = map.get(key); 67 value = createInstance(key, data); 70 // We had never cached an instance for this key. 71 V value = createInstance(key, data); 74 mapValue = map.putIfAbsent(key, mapValu [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
H A D | UnlocalizedNumberFormatter.java | 24 UnlocalizedNumberFormatter(NumberFormatterSettings<?> parent, int key, Object value) { argument 25 super(parent, key, value); 62 UnlocalizedNumberFormatter create(int key, Object value) { argument 63 return new UnlocalizedNumberFormatter(this, key, value);
|