/external/compiler-rt/make/ |
H A D | 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/ |
H A D | 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); 101 _Safer_Expand_Userkey(const unsigned char *userkey_1, const unsigned char *userkey_2, unsigned int nof_rounds, int strengthened, safer_key_t key) argument 169 Safer_Expand_Userkey(const unsigned char *userkey_1, const unsigned char *userkey_2, unsigned int nof_rounds, int strengthened, safer_key_t key) argument 180 safer_k64_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) argument 197 safer_sk64_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) argument 214 safer_k128_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) argument 231 safer_sk128_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) argument 259 unsigned char *key; local 313 unsigned char *key; local [all...] |
/external/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | 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 31 dsa_verify_hash_raw( void *r, void *s, const unsigned char *hash, unsigned long hashlen, int *stat, dsa_key *key) argument 94 dsa_verify_hash(const unsigned char *sig, unsigned long siglen, const unsigned char *hash, unsigned long hashlen, int *stat, dsa_key *key) argument [all...] |
/external/dropbear/libtomcrypt/src/pk/katja/ |
H A D | 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 30 katja_exptmod(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen, int which, katja_key *key) argument [all...] |
/external/openssl/crypto/ec/ |
H A D | 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) argument 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 459 EC_KEY_get0_group(const EC_KEY *key) argument 464 EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) argument 472 EC_KEY_get0_private_key(const EC_KEY *key) argument 477 EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key) argument 485 EC_KEY_get0_public_key(const EC_KEY *key) argument 490 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument 498 EC_KEY_get_enc_flags(const EC_KEY *key) argument 503 EC_KEY_set_enc_flags(EC_KEY *key, unsigned int flags) argument 508 EC_KEY_get_conv_form(const EC_KEY *key) argument 513 EC_KEY_set_conv_form(EC_KEY *key, point_conversion_form_t cform) argument 520 EC_KEY_get_key_method_data(EC_KEY *key, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) argument 526 EC_KEY_insert_key_method_data(EC_KEY *key, void *data, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) argument 537 EC_KEY_set_asn1_flag(EC_KEY *key, int flag) argument 543 EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) argument 550 EC_KEY_get_flags(const EC_KEY *key) argument 555 EC_KEY_set_flags(EC_KEY *key, int flags) argument 560 EC_KEY_clear_flags(EC_KEY *key, int flags) argument [all...] |
/external/webkit/Tools/TestResultServer/model/ |
H A D | datastorefile.py | 46 def get(cls, key): 47 return db.get(key) 49 def get_data(self, key): 50 return db.get(key) 72 for key in keys: 73 data_entry = DataEntry.get(key) 99 key = keys[0] 100 data_entry = DataEntry.get(key) 102 logging.warning("Found key, but no data entry: %s", key) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | 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...] |
/external/chromium/net/http/ |
H A D | 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| alread [all...] |
H A D | des.cc | 79 void DESMakeKey(const uint8* raw, uint8* key) { argument 80 key[0] = DESSetKeyParity(raw[0]); 81 key[1] = DESSetKeyParity((raw[0] << 7) | (raw[1] >> 1)); 82 key[2] = DESSetKeyParity((raw[1] << 6) | (raw[2] >> 2)); 83 key[3] = DESSetKeyParity((raw[2] << 5) | (raw[3] >> 3)); 84 key[4] = DESSetKeyParity((raw[3] << 4) | (raw[4] >> 4)); 85 key[5] = DESSetKeyParity((raw[4] << 3) | (raw[5] >> 5)); 86 key[6] = DESSetKeyParity((raw[5] << 2) | (raw[6] >> 6)); 87 key[7] = DESSetKeyParity((raw[6] << 1)); 92 void DESEncrypt(const uint8* key, cons argument 105 DESEncrypt(const uint8* key, const uint8* src, uint8* hash) argument 162 DESEncrypt(const uint8* key, const uint8* src, uint8* hash) argument 173 DESEncrypt(const uint8* key, const uint8* src, uint8* hash) argument 194 crypto::ScopedHCRYPTKEY key; local [all...] |
/external/dropbear/libtomcrypt/testprof/ |
H A D | dsa_test.c | 10 dsa_key key, key2; local 12 /* make a random key */ 13 DO(dsa_make_key(&yarrow_prng, find_prng("yarrow"), 20, 128, &key)); 16 DO(dsa_verify_key(&key, &stat1)); 22 DO(dsa_encrypt_key(msg, 16, out, &x, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), &key)); 26 DO(dsa_decrypt_key(out, x, out2, &y, &key)); 35 DO(dsa_sign_hash(msg, sizeof(msg), out, &x, &yarrow_prng, find_prng("yarrow"), &key)); 38 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key)); 42 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat2, &key)); 48 DO(dsa_export(out2, &x, PK_PRIVATE, &key)); [all...] |
/external/skia/third_party/glu/libtess/ |
H A D | dict.c | 57 head->key = NULL; 79 DictNode *dictInsertBefore( Dict *dict, DictNode *node, DictKey key ) 85 } while( node->key != NULL && ! (*dict->leq)(dict->frame, node->key, key)); 90 newNode->key = key; 108 DictNode *dictSearch( Dict *dict, DictKey key ) 114 } while( node->key != NULL && ! (*dict->leq)(dict->frame, key, nod [all...] |
/external/qemu/android/utils/ |
H A D | ini.c | 32 char* key; member in struct:__anon10301 47 AFREE(i->pairs[nn].key); 48 i->pairs[nn].key = NULL; 65 iniPair_init( IniPair* pair, const char* key, int keyLen, argument 68 AARRAY_NEW(pair->key, keyLen + valueLen + 2); 69 memcpy(pair->key, key, keyLen); 70 pair->key[keyLen] = 0; 72 pair->value = pair->key + keyLen + 1; 80 char* key local 89 iniFile_addPair( IniFile* i, const char* key, int keyLen, const char* value, int valueLen ) argument 192 const char* key; local 353 iniFile_getEntry(IniFile* f, int index, char** key, char** value) argument 368 iniFile_getString( IniFile* f, const char* key, const char* defaultValue ) argument 382 iniFile_getInteger( IniFile* f, const char* key, int defaultValue ) argument 397 iniFile_getDouble( IniFile* f, const char* key, double defaultValue ) argument 412 iniFile_getBoolean( IniFile* f, const char* key, const char* defaultValue ) argument 432 iniFile_getDiskSize( IniFile* f, const char* key, const char* defaultValue ) argument 455 iniFile_getInt64( IniFile* f, const char* key, int64_t defaultValue ) argument 472 iniFile_setValue( IniFile* f, const char* key, const char* value ) argument 488 iniFile_setInteger( IniFile* f, const char* key, int value ) argument 496 iniFile_setInt64( IniFile* f, const char* key, int64_t value ) argument 504 iniFile_setDouble( IniFile* f, const char* key, double value ) argument 512 iniFile_setBoolean( IniFile* f, const char* key, int value ) argument 518 iniFile_setDiskSize( IniFile* f, const char* key, int64_t size ) argument [all...] |
/external/icu4c/common/ |
H A D | hash.h | 71 void* put(const UnicodeString& key, void* value, UErrorCode& status); 73 int32_t puti(const UnicodeString& key, int32_t value, UErrorCode& status); 75 void* get(const UnicodeString& key) const; 77 int32_t geti(const UnicodeString& key) const; 79 void* remove(const UnicodeString& key); 81 int32_t removei(const UnicodeString& key); 85 const UHashElement* find(const UnicodeString& key) const; 157 inline void* Hashtable::put(const UnicodeString& key, void* value, UErrorCode& status) { argument 158 return uhash_put(hash, new UnicodeString(key), value, &status); 161 inline int32_t Hashtable::puti(const UnicodeString& key, int32_ argument 173 remove(const UnicodeString& key) argument 177 removei(const UnicodeString& key) argument [all...] |
/external/openssh/ |
H A D | auth2-hostbased.c | 41 #include "key.h" 60 Key *key = NULL; local 90 "public key algorithm: %s", pkalg); 93 key = key_from_blob(pkblob, blen); 94 if (key == NULL) { 95 error("userauth_hostbased: cannot decode key: %s", pkalg); 98 if (key->type != pktype) { 99 error("userauth_hostbased: type mismatch for decoded key " 100 "(received %d, expected %d)", key->type, pktype); 119 /* test for allowed key an 141 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, Key *key) argument [all...] |
/external/v8/test/cctest/ |
H A D | test-dictionary.cc | 73 Handle<JSObject> key = FACTORY->NewJSArray(7); local 75 table = PutIntoObjectHashTable(table, key, value); 77 CHECK_NE(table->FindEntry(*key), ObjectHashTable::kNotFound); 78 CHECK_EQ(table->Lookup(*key), *value); 79 CHECK(key->GetIdentityHash(OMIT_CREATION)->ToObjectChecked()->IsSmi()); 85 Handle<JSObject> key = FACTORY->NewJSArray(7); local 86 CHECK(key->GetIdentityHash(ALLOW_CREATION)->ToObjectChecked()->IsSmi()); 87 CHECK_EQ(table->FindEntry(*key), ObjectHashTable::kNotFound); 88 CHECK_EQ(table->Lookup(*key), HEAP->undefined_value()); 89 CHECK(key 95 Handle<JSObject> key = FACTORY->NewJSArray(7); local 107 Handle<JSObject> key = FACTORY->NewJSArray(0); local 130 Handle<JSObject> key = FACTORY->NewJSArray(0); local [all...] |
/external/webrtc/src/system_wrappers/test/TestSort/ |
H A D | TestSort.cpp | 26 KeyType key; member in struct:LotsOfData 50 KeyType keyX = ((const DataType*)dataX)->key; 51 KeyType keyY = ((const DataType*)dataY)->key; 69 return dataX.key < dataY.key; 131 KeyType key[DataLength]; local 151 key[j] = TypedRand<KeyType>(); 152 data[j].key = key[j]; 158 memcpy(keyRef, key, sizeo [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/ |
H A D | A.java | 27 public String find(String key) { argument 28 return pp.findProp(key);
|
/external/chromium/chrome/browser/prefs/ |
H A D | default_pref_store.h | 21 // Stores a new |value| for |key|. Assumes ownership of |value|. 22 void SetDefaultValue(const std::string& key, Value* value); 24 // Returns the registered type for |key| or Value::TYPE_NULL if the |key| 26 Value::ValueType GetType(const std::string& key) const;
|
H A D | overlay_persistent_pref_store.h | 19 // If the PrefValueMap does not contain a value for the requested key, 27 // Returns true if a value has been set for the |key| in this 30 virtual bool IsSetInOverlay(const std::string& key) const; 36 virtual ReadResult GetValue(const std::string& key, 40 virtual ReadResult GetMutableValue(const std::string& key, Value** result); 41 virtual void SetValue(const std::string& key, Value* value); 42 virtual void SetValueSilently(const std::string& key, Value* value); 43 virtual void RemoveValue(const std::string& key); 49 virtual void ReportValueChanged(const std::string& key); 53 virtual void OnPrefValueChanged(const std::string& key); [all...] |
H A D | value_map_pref_store.cc | 16 PrefStore::ReadResult ValueMapPrefStore::GetValue(const std::string& key, argument 18 return prefs_.GetValue(key, value) ? READ_OK : READ_NO_VALUE; 29 void ValueMapPrefStore::SetValue(const std::string& key, Value* value) { argument 30 if (prefs_.SetValue(key, value)) 31 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); 34 void ValueMapPrefStore::RemoveValue(const std::string& key) { argument 35 if (prefs_.RemoveValue(key)) 36 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
|
/external/chromium/chrome/browser/webdata/ |
H A D | autofill_change.h | 28 const KeyType& key() const { return key_; } function in class:GenericAutofillChange 31 GenericAutofillChange(Type type, const KeyType& key) argument 33 key_(key) {} 41 AutofillChange(Type type, const AutofillKey& key); 44 return type() == change.type() && key() == change.key(); 51 // The |type| input specifies the change type. The |key| input is the key, 57 std::string key, 72 // The |type| input specifies the change type. The |key| inpu [all...] |
/external/chromium/net/base/ |
H A D | net_module.h | 23 typedef base::StringPiece (*ResourceProvider)(int key); 31 static base::StringPiece GetResource(int key);
|
/external/chromium/net/url_request/ |
H A D | url_request_throttler_header_adapter.cc | 19 const std::string& key) const { 21 response_header_->GetNormalizedHeader(key, &return_value);
|
/external/clang/test/CodeGen/ |
H A D | staticinit.c | 33 char *f2(char key) { argument 34 switch (key) {
|
/external/dropbear/ |
H A D | dropbearconvert.c | 25 /* This program converts to/from Dropbear and OpenSSH private-key formats */ 82 fprintf(stderr, "Invalid input key type\n"); 92 fprintf(stderr, "Invalid output key type\n"); 113 sign_key * key = NULL; local 117 key = import_read(infile, NULL, intype); 118 if (!key) { 119 fprintf(stderr, "Error reading key from '%s'\n", 125 if (key->rsakey != NULL) { 130 if (key->dsskey != NULL) { 135 fprintf(stderr, "Key is a %s key\ [all...] |