/libcore/luni/src/test/java/tests/api/java/util/support/ |
A.java | 10 public String find(String key) { 11 return pp.findProp(key);
|
P.java | 12 public String findProp(String key) { 13 return findProp(this.c, key); 16 private String findProp(Class cls, String key) { 20 ret = (String)b.getObject(key); 24 ret = findProp(cls.getSuperclass(), key);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityEntityProvider.java | 35 import com.android.inputmethod.keyboard.Key; 41 * {@link AccessibilityEvent}s for individual {@link Key}s. 57 /** A map of integer IDs to {@link Key}s. */ 58 private final SparseArray<Key> mVirtualViewIdToKey = new SparseArray<Key>(); 105 * Creates and populates an {@link AccessibilityEvent} for the specified key 108 * @param key A key on the host keyboard view. 110 * @return A populated {@link AccessibilityEvent} for the key. 113 public AccessibilityEvent createAccessibilityEvent(Key key, int eventType) 171 final Key key = mVirtualViewIdToKey.get(virtualViewId); local 232 final Key key = mVirtualViewIdToKey.get(virtualViewId); local [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/ |
SparseArray.java | 50 * Gets the Object mapped from the specified key, or <code>null</code> 53 public E get(int key) { 54 return get(key, null); 58 * Gets the Object mapped from the specified key, or the specified Object 62 public E get(int key, E valueIfKeyNotFound) { 63 int i = binarySearch(mKeys, 0, mSize, key); 73 * Removes the mapping from the specified key, if there was any. 75 public void delete(int key) { 76 int i = binarySearch(mKeys, 0, mSize, key); 89 public void remove(int key) { [all...] |
/system/core/include/cutils/ |
sockets.h | 49 char key[64] = ANDROID_SOCKET_ENV_PREFIX; local 55 strlcpy(key + sizeof(ANDROID_SOCKET_ENV_PREFIX) - 1, 57 sizeof(key) - sizeof(ANDROID_SOCKET_ENV_PREFIX)); 59 strncpy(key + sizeof(ANDROID_SOCKET_ENV_PREFIX) - 1, 61 sizeof(key) - sizeof(ANDROID_SOCKET_ENV_PREFIX)); 62 key[sizeof(key)-1] = '\0'; 65 val = getenv(key);
|
/dalvik/vm/ |
Intern.cpp | 54 static StringObject* lookupString(HashTable* table, u4 key, StringObject* value) 56 void* entry = dvmHashTableLookup(table, key, (void*)value, 61 static StringObject* insertString(HashTable* table, u4 key, StringObject* value) 66 void* entry = dvmHashTableLookup(table, key, (void*)value, 76 u4 key = dvmComputeStringHash(strObj); local 82 StringObject* literal = lookupString(gDvm.literalStrings, key, strObj); 93 StringObject* interned = lookupString(gDvm.internedStrings, key, strObj); 99 dvmHashTableRemove(gDvm.internedStrings, key, interned); 100 found = insertString(gDvm.literalStrings, key, interned); 107 found = insertString(gDvm.literalStrings, key, strObj) 160 u4 key = dvmComputeStringHash(strObj); local [all...] |
/external/guava/guava/src/com/google/common/cache/ |
ForwardingCache.java | 52 public V getIfPresent(K key) { 53 return delegate().getIfPresent(key); 60 public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException { 61 return delegate().get(key, valueLoader); 76 public void put(K key, V value) { 77 delegate().put(key, value); 81 public void invalidate(Object key) { 82 delegate().invalidate(key); 120 public V get(K key) throws ExecutionException { 121 return delegate().get(key); [all...] |
/frameworks/av/drm/common/ |
DrmMetadata.cpp | 25 status_t DrmMetadata::put(const String8* key, 27 if((value != NULL) && (key != NULL)) { 33 mMetadataMap.add(*key, charValue); 38 String8 DrmMetadata::get(const String8& key) const { 39 if (NULL != getValue(&key)) { 40 return String8(getValue(&key)); 47 const char* DrmMetadata::getValue(const String8* key) const { 48 if(key != NULL) { 49 if (NAME_NOT_FOUND != mMetadataMap.indexOfKey(*key)) { 50 return mMetadataMap.valueFor(*key); 69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLDSAPrivateKey.java | 29 private final OpenSSLKey key; field in class:OpenSSLDSAPrivateKey 33 OpenSSLDSAPrivateKey(OpenSSLKey key) { 34 this.key = key; 38 return key; 43 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_DSA( 56 params = new OpenSSLDSAParams(key); 89 * the key. Returning {@code null} tells the caller that there's no 92 if (key.isEngineBased()) { 103 * the key. Returning {@code null} tells the caller that there's n [all...] |
OpenSSLRSAPrivateKey.java | 28 private final OpenSSLKey key; field in class:OpenSSLRSAPrivateKey 36 OpenSSLRSAPrivateKey(OpenSSLKey key) { 37 this.key = key; 40 OpenSSLRSAPrivateKey(OpenSSLKey key, byte[][] params) { 41 this(key); 47 return key; 79 static OpenSSLRSAPrivateKey getInstance(OpenSSLKey key) { 80 byte[][] params = NativeCrypto.get_RSA_private_params(key.getPkeyContext()); 82 return new OpenSSLRSAPrivateCrtKey(key, params) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/ |
P.java | 29 public String findProp(String key) { 30 return findProp(this.c, key); 33 private String findProp(Class cls, String key) { 37 ret = (String) b.getObject(key); 41 ret = findProp(cls.getSuperclass(), key);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 41 PublicKey key; field in class:CertificateStub 43 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 47 this.key = key; 97 return key;
|
/external/bison/src/ |
muscle_tab.c | 35 const char *key; member in struct:__anon1897 52 return strcmp (m1->key, m2->key) == 0; 59 return hash_string (m->key, tablesize); 96 | Insert (KEY, VALUE). If KEY already existed, overwrite the | 101 muscle_insert (const char *key, char *value) 106 probe.key = key; 113 entry->key = key [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/agreement/ |
ECDHBasicAgreement.java | 18 * party's private key and another party's public key, where both have 21 * primitive can be invoked by a scheme to derive a shared secret key; 29 private ECPrivateKeyParameters key; field in class:ECDHBasicAgreement 32 CipherParameters key) 34 this.key = (ECPrivateKeyParameters)key; 41 ECPoint P = pub.getQ().multiply(key.getD());
|
/external/chromium/chrome/browser/webdata/ |
autofill_entry.h | 18 AutofillKey(const AutofillKey& key); 24 bool operator==(const AutofillKey& key) const; 25 bool operator<(const AutofillKey& key) const; 34 AutofillEntry(const AutofillKey& key, 38 const AutofillKey& key() const { return key_; } function in class:AutofillEntry
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
f9_init.c | 23 @param key [in] Secret key 24 @param keylen Length of secret key in octets 27 int f9_init(f9_state *f9, int cipher, const unsigned char *key, unsigned long keylen) 32 LTC_ARGCHK(key != NULL); 34 /* schedule the key */ 45 if ((err = cipher_descriptor[cipher].setup(key, keylen, 0, &f9->key)) != CRYPT_OK) { 49 /* make the second key */ 51 f9->akey[x] = key[x] ^ 0xAA [all...] |
/external/dropbear/libtomcrypt/src/modes/cfb/ |
cfb_start.c | 25 @param key The secret key 26 @param keylen The length of the secret key (octets) 31 int cfb_start(int cipher, const unsigned char *IV, const unsigned char *key, 37 LTC_ARGCHK(key != NULL); 52 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) { 58 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key);
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_encrypt_key.c | 31 @param key The Katja key to encrypt to 37 prng_state *prng, int prng_idx, int hash_idx, katja_key *key) 45 LTC_ARGCHK(key != NULL); 56 modulus_bitlen = mp_count_bits((key->N)); 65 modulus_bytelen = mp_unsigned_bin_size((key->N)); 71 /* OAEP pad the key */ 80 return katja_exptmod(out, x, out, outlen, PK_PUBLIC, key);
|
/external/openssl/crypto/rc2/ |
rc2.h | 83 void private_RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,int bits); 85 void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,int bits); 86 void RC2_ecb_encrypt(const unsigned char *in,unsigned char *out,RC2_KEY *key, 88 void RC2_encrypt(unsigned long *data,RC2_KEY *key); 89 void RC2_decrypt(unsigned long *data,RC2_KEY *key);
|
/external/openssl/include/openssl/ |
rc2.h | 83 void private_RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,int bits); 85 void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,int bits); 86 void RC2_ecb_encrypt(const unsigned char *in,unsigned char *out,RC2_KEY *key, 88 void RC2_encrypt(unsigned long *data,RC2_KEY *key); 89 void RC2_decrypt(unsigned long *data,RC2_KEY *key);
|
/external/srec/shared/src/ |
CommandLine.c | 23 LCHAR* key, LCHAR* value, size_t* len) 32 if (key == NULL) 34 /* but we don't have any key to associate it with */ 39 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0) 54 /* got key */ 55 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0) 65 /* Handle case where last argument is a key with no value */ 66 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0)
|
/frameworks/support/volley/tests/src/com/android/volley/mock/ |
MockCache.java | 37 public Entry get(String key) { 47 public void put(String key, Entry entry) { 49 keyPut = key; 54 public void invalidate(String key, boolean fullExpire) { 58 public void remove(String key) {
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
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());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 42 PublicKey key; field in class:CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 48 this.key = key; 98 return key;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_store_hash_fn_imps.hpp | 48 const_key_reference key = PB_DS_V2F(r_val); local 49 comp_hash pos_hash_pair = ranged_hash_fn_base::operator()(key); 55 key, pos_hash_pair.second)) 64 _GLIBCXX_DEBUG_ONLY(debug_base::check_key_exists(key);) 68 _GLIBCXX_DEBUG_ONLY(debug_base::check_key_does_not_exist(key);)
|