/external/ppp/pppd/ |
pppcrypt.c | 53 MakeKey(key, des_key) 54 u_char *key; /* IN 56 bit DES key missing parity bits */ 55 u_char *des_key; /* OUT 64 bit DES key with parity bits added */ 57 des_key[0] = Get7Bits(key, 0); 58 des_key[1] = Get7Bits(key, 7); 59 des_key[2] = Get7Bits(key, 14); 60 des_key[3] = Get7Bits(key, 21); 61 des_key[4] = Get7Bits(key, 28); 62 des_key[5] = Get7Bits(key, 35) [all...] |
/external/skia/src/gpu/ |
GrBinHashKey.h | 63 int compare(const GrBinHashKey<Entry, KeySize>& key) const { 64 GrAssert(fIsValid && key.fIsValid); 65 return memcmp(fData, key.fData, KeySize); 69 EQ(const Entry& entry, const GrBinHashKey<Entry, KeySize>& key) { 70 GrAssert(key.fIsValid); 71 return 0 == entry.compare(key); 75 LT(const Entry& entry, const GrBinHashKey<Entry, KeySize>& key) { 76 GrAssert(key.fIsValid); 77 return entry.compare(key) < 0; 87 uint8_t fData[KeySize]; //Buffer for key storag [all...] |
/external/srec/shared/include/ |
ESR_CommandLine.h | 41 * @param key Name of command-line argument to look up 49 LCHAR* key, LCHAR* value,
|
/external/webrtc/src/system_wrappers/source/ |
event.cc | 39 for(int key = 0x20; key < 0x90; key++) 41 short res = GetAsyncKeyState(key); 54 // loop through all Mac virtual key constant values
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
rc4.h | 18 void rc4_skip(const u8 *key, size_t keylen, size_t skip,
|
/external/wpa_supplicant_8/src/crypto/ |
des_i.h | 17 void des_key_setup(const u8 *key, u32 *ek, u32 *dk); 21 void des3_key_setup(const u8 *key, struct des3_key_s *dkey); 22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt); 23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
|
md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 19 int hmac_md5_vector_non_fips_allow(const u8 *key, size_t key_len, 22 int hmac_md5_non_fips_allow(const u8 *key, size_t key_len, const u8 *data,
|
/libcore/luni/src/main/java/java/io/ |
SerializationHandleMap.java | 31 /* Actual number of key-value pairs. */ 53 Object key = oldKeys[i]; local 55 int index = findIndex(key, keys); 56 keys[index] = key; 62 public int get(Object key) { 63 int index = findIndex(key, keys); 64 if (keys[index] == key) { 71 * Returns the index where the key is found at, or the index of the next 72 * empty spot if the key is not found in this table. 74 private int findIndex(Object key, Object[] array) [all...] |
/libcore/luni/src/main/java/java/util/ |
MapEntry.java | 25 K key; field in class:MapEntry 33 key = theKey; 37 key = theKey; 57 return (key == null ? entry.getKey() == null : key.equals(entry 66 return key; 75 return (key == null ? 0 : key.hashCode()) 87 return key + "=" + value;
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/ |
PressAction.java | 38 private final String key; field in class:PressAction 41 public PressAction(String key, String downUpFlag) { 42 this.key = key; 46 public PressAction(String key) { 47 this(key, MonkeyDevice.DOWN_AND_UP); 53 DOWNUP_FLAG_MAP.get(downUpFlag), key); 59 add("name", key). 66 device.press(key, TouchPressType.fromIdentifier(downUpFlag));
|
/external/chromium/chrome/browser/policy/ |
config_dir_policy_provider_unittest.cc | 103 // Holds policy type, corresponding policy key string and a valid value for use 230 key::kHomepageLocation), 233 key::kHomepageIsNewTabPage), 236 key::kRestoreOnStartup), 239 key::kRestoreOnStartupURLs), 242 key::kDefaultSearchProviderEnabled), 245 key::kDefaultSearchProviderName), 248 key::kDefaultSearchProviderKeyword), 251 key::kDefaultSearchProviderSearchURL), 254 key::kDefaultSearchProviderSuggestURL) [all...] |
configuration_policy_provider_mac_unittest.cc | 204 key::kHomepageLocation), 207 key::kHomepageIsNewTabPage), 210 key::kRestoreOnStartup), 213 key::kRestoreOnStartupURLs), 216 key::kDefaultSearchProviderEnabled), 219 key::kDefaultSearchProviderName), 222 key::kDefaultSearchProviderKeyword), 225 key::kDefaultSearchProviderSearchURL), 228 key::kDefaultSearchProviderSuggestURL), 231 key::kDefaultSearchProviderInstantURL) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCERSAPrivateCrtKey.java | 16 * A provider representation for a RSA private key, with CRT factors included. 32 * construct a private key from it's org.bouncycastle.crypto equivalent. 34 * @param key the parameters object representing the private key. 37 RSAPrivateCrtKeyParameters key) 39 super(key); 41 this.publicExponent = key.getPublicExponent(); 42 this.primeP = key.getP(); 43 this.primeQ = key.getQ(); 44 this.primeExponentP = key.getDP() 214 RSAPrivateCrtKey key = (RSAPrivateCrtKey)o; local [all...] |
/external/openssl/crypto/rsa/ |
rsa_chk.c | 56 int RSA_check_key(const RSA *key) 78 r = BN_is_prime_ex(key->p, BN_prime_checks, NULL, NULL); 88 r = BN_is_prime_ex(key->q, BN_prime_checks, NULL, NULL); 98 r = BN_mul(i, key->p, key->q, ctx); 101 if (BN_cmp(i, key->n) != 0) 109 r = BN_sub(i, key->p, BN_value_one()); 111 r = BN_sub(j, key->q, BN_value_one()); 122 r = BN_mod_mul(i, key->d, key->e, k, ctx) [all...] |
/external/chromium/chrome/browser/prefs/ |
overlay_persistent_pref_store_unittest.cc | 15 const char key[] = "test.key"; variable 33 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 34 underlay_->SetValue(key, Value::CreateIntegerValue(42)); 38 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 39 underlay_->SetValue(key, Value::CreateIntegerValue(43)); 43 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 44 overlay_->SetValue(key, Value::CreateIntegerValue(44)); 48 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0); 49 underlay_->SetValue(key, Value::CreateIntegerValue(45)) [all...] |
/external/compiler-rt/make/ |
lib_util.mk | 5 # Function: GetCNAVar variable-name platform-key config arch 30 $(foreach key,$(AvailableIn.$(3)),\ 31 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 32 $(call contains,$($(key).OnlyConfigs),$(1)),\ 33 $(call contains,$($(key).OnlyArchs),$(2))),$(key),))) 35 $(foreach key,$(AvailableIn.$(3)),\ 36 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 37 $(call contains,$($(key).OnlyConfigs),$(1))),$(key),))) [all...] |
/frameworks/compile/libbcc/runtime/make/ |
lib_util.mk | 5 # Function: GetCNAVar variable-name platform-key config arch 30 $(foreach key,$(AvailableIn.$(3)),\ 31 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 32 $(call contains,$($(key).OnlyConfigs),$(1)),\ 33 $(call contains,$($(key).OnlyArchs),$(2))),$(key),))) 35 $(foreach key,$(AvailableIn.$(3)),\ 36 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 37 $(call contains,$($(key).OnlyConfigs),$(1))),$(key),))) [all...] |
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
safer.c | 105 safer_key_t key) 111 safer_key_t key) 119 *key++ = (unsigned char)nof_rounds; 126 kb[j] = *key++ = userkey_2[j]; 140 *key++ = (ka[k] 144 *key++ = (ka[j] + safer_ebox[(int)safer_ebox[(int)((18 * i + j + 1)&0xFF)]]) & 0xFF; 153 *key++ = (kb[k] 157 *key++ = (kb[j] + safer_ebox[(int)safer_ebox[(int)((18 * i + j + 10)&0xFF)]]) & 0xFF; 173 safer_key_t key) 175 _Safer_Expand_Userkey(userkey_1, userkey_2, nof_rounds, strengthened, key); 259 unsigned char *key; local 313 unsigned char *key; local [all...] |
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_verify_hash.c | 28 @param key The corresponding public DH key 33 int *stat, dsa_key *key) 41 LTC_ARGCHK(key != NULL); 52 if (mp_iszero(r) == LTC_MP_YES || mp_iszero(s) == LTC_MP_YES || mp_cmp(r, key->q) != LTC_MP_LT || mp_cmp(s, key->q) != LTC_MP_LT) { 58 if ((err = mp_invmod(s, key->q, w)) != CRYPT_OK) { goto error; } 62 if ((err = mp_mulmod(u1, w, key->q, u1)) != CRYPT_OK) { goto error; } 65 if ((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto error; } 68 if ((err = mp_exptmod(key->g, u1, key->p, u1)) != CRYPT_OK) { goto error; [all...] |
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_exptmod.c | 27 @param key The RSA key to use 32 katja_key *key) 41 LTC_ARGCHK(key != NULL); 43 /* is the key of the right type for the operation? */ 44 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { 58 if (mp_cmp(key->N, tmp) == LTC_MP_LT) { 63 /* are we using the private exponent and is the key optimized? */ 66 if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto error; [all...] |
/external/openssl/crypto/ec/ |
ec_key.c | 163 /* copy the public key */ 174 /* copy the private key */ 383 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y) 390 if (!key || !key->group || !x || !y) 400 point = EC_POINT_new(key->group); 405 tmp_nid = EC_METHOD_get_field_type(EC_GROUP_method_of(key->group)); 415 if (!EC_POINT_set_affine_coordinates_GF2m(key->group, point, 418 if (!EC_POINT_get_affine_coordinates_GF2m(key->group, point, 425 if (!EC_POINT_set_affine_coordinates_GFp(key->group, point [all...] |
/external/webkit/Tools/TestResultServer/model/ |
datastorefile.py | 46 def get(cls, key): 47 return db.get(key) 49 def get_data(self, key): 50 return db.get(key) 60 data_keys = db.ListProperty(db.Key) 63 new_data_keys = db.ListProperty(db.Key) 72 for key in keys: 73 data_entry = DataEntry.get(key) 99 key = keys[0] 100 data_entry = DataEntry.get(key) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
dbus_dict_helpers.h | 29 const char *key, const char *value); 32 const char *key, const char value); 35 const char *key, 39 const char *key, 43 const char *key, 47 const char *key, 51 const char *key, 55 const char *key, 59 const char *key, 63 const char *key, 104 const char *key; \/** key of the dict entry *\/ member in struct:wpa_dbus_dict_entry [all...] |
/libcore/luni/src/main/java/java/util/prefs/ |
Preferences.java | 87 * Maximum size in characters allowed for a preferences key. 225 * Gets the {@code String} value mapped to the given key or its default 229 * case, if there is no value mapped to the given key, the stored default 233 * @param key 234 * the preference key. 237 * mapped to the given key or no backing store is available. 238 * @return the preference value mapped to the given key. 242 * if the parameter {@code key} is {@code null}. 244 public abstract String get(String key, String deflt); 247 * Gets the {@code boolean} value mapped to the given key or its defaul [all...] |
/external/chromium/net/http/ |
http_request_headers.h | 6 // It maintains these in a vector of header key/value pairs, thereby maintaining 26 HeaderKeyValuePair(const base::StringPiece& key, 29 std::string key; member in struct:net::HttpRequestHeaders::HeaderKeyValuePair 46 const std::string& name() const { return curr_->key; } 84 bool HasHeader(const base::StringPiece& key) const { 85 return FindHeader(key) != headers_.end(); 88 // Gets the first header that matches |key|. If found, returns true and 90 bool GetHeader(const base::StringPiece& key, std::string* out) const; 95 // Sets the header value pair for |key| and |value|. If |key| already exists [all...] |