HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 51 - 75 of 4983) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/bluetooth/bluez/src/
textfile.h 32 int textfile_put(const char *pathname, const char *key, const char *value);
33 int textfile_caseput(const char *pathname, const char *key, const char *value);
34 int textfile_del(const char *pathname, const char *key);
35 int textfile_casedel(const char *pathname, const char *key);
36 char *textfile_get(const char *pathname, const char *key);
37 char *textfile_caseget(const char *pathname, const char *key);
39 typedef void (*textfile_cb) (char *key, char *value, void *data);
  /external/dropbear/
rsa.h 47 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data,
50 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data,
53 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key);
54 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key);
55 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key);
56 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key);
57 void rsa_key_free(rsa_key *key);
dss.c 34 * operations, such as key reading, signing, verification. Key generation
42 /* Load a dss key from a buffer, initialising the values.
43 * The key will have the same format as buf_put_dss_key.
46 int buf_get_dss_pub_key(buffer* buf, dss_key *key) {
49 dropbear_assert(key != NULL);
50 key->p = m_malloc(sizeof(mp_int));
51 key->q = m_malloc(sizeof(mp_int));
52 key->g = m_malloc(sizeof(mp_int));
53 key->y = m_malloc(sizeof(mp_int))
    [all...]
  /system/core/include/cutils/
str_parms.h 28 void str_parms_del(struct str_parms *str_parms, const char *key);
30 int str_parms_add_str(struct str_parms *str_parms, const char *key,
32 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value);
34 int str_parms_add_float(struct str_parms *str_parms, const char *key,
37 int str_parms_get_str(struct str_parms *str_parms, const char *key,
39 int str_parms_get_int(struct str_parms *str_parms, const char *key,
41 int str_parms_get_float(struct str_parms *str_parms, const char *key,
  /packages/apps/Camera/src/com/android/camera/
ComboPreferences.java 76 private static boolean isGlobal(String key) {
77 return key.equals(CameraSettings.KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL)
78 || key.equals(CameraSettings.KEY_CAMERA_ID)
79 || key.equals(CameraSettings.KEY_RECORD_LOCATION)
80 || key.equals(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN)
81 || key.equals(CameraSettings.KEY_VIDEO_FIRST_USE_HINT_SHOWN)
82 || key.equals(CameraSettings.KEY_VIDEO_EFFECT);
86 public String getString(String key, String defValue) {
87 if (isGlobal(key) || !mPrefLocal.contains(key)) {
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
ComboPreferences.java 75 private static boolean isGlobal(String key) {
76 return key.equals(CameraSettings.KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL)
77 || key.equals(CameraSettings.KEY_CAMERA_ID)
78 || key.equals(CameraSettings.KEY_RECORD_LOCATION)
79 || key.equals(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN)
80 || key.equals(CameraSettings.KEY_VIDEO_FIRST_USE_HINT_SHOWN)
81 || key.equals(CameraSettings.KEY_VIDEO_EFFECT);
84 public String getString(String key, String defValue) {
85 if (isGlobal(key) || !mPrefLocal.contains(key)) {
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
AEADParameters.java 10 private KeyParameter key; field in class:AEADParameters
16 * @param key key to be used by underlying cipher
21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
23 this.key = key;
31 return key;
  /external/chromium/base/
path_service.h 29 static bool Get(int key, FilePath* path);
41 static bool Override(int key, const FilePath& path);
45 // returns false if it cannot provide a non-empty path for the given key.
59 static bool GetFromCache(int key, FilePath* path);
60 static bool GetFromOverrides(int key, FilePath* path);
61 static void AddToCache(int key, const FilePath& path);
  /external/chromium/chrome/browser/prefs/
default_pref_store.cc 11 void DefaultPrefStore::SetDefaultValue(const std::string& key, Value* value) {
12 CHECK(GetValue(key, NULL) == READ_NO_VALUE);
13 SetValue(key, value);
16 Value::ValueType DefaultPrefStore::GetType(const std::string& key) const {
18 return GetValue(key, &value) == READ_OK ? value->GetType()
  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_ansi_x963_import.c 26 /** Import an ANSI X9.63 format public key
29 @param key [out] destination to store imported key \
31 int ecc_ansi_x963_import(const unsigned char *in, unsigned long inlen, ecc_key *key)
33 return ecc_ansi_x963_import_ex(in, inlen, key, NULL);
36 int ecc_ansi_x963_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, ltc_ecc_set_type *dp)
41 LTC_ARGCHK(key != NULL);
48 /* init key */
49 if (mp_init_multi(&key->pubkey.x, &key->pubkey.y, &key->pubkey.z, &key->k, NULL) != CRYPT_OK)
    [all...]
ecc_import.c 26 static int is_point(ecc_key *key)
36 if ((err = mp_read_radix(prime, key->dp->prime, 16)) != CRYPT_OK) { goto error; }
37 if ((err = mp_read_radix(b, key->dp->B, 16)) != CRYPT_OK) { goto error; }
40 if ((err = mp_sqr(key->pubkey.y, t1)) != CRYPT_OK) { goto error; }
43 if ((err = mp_sqr(key->pubkey.x, t2)) != CRYPT_OK) { goto error; }
45 if ((err = mp_mul(key->pubkey.x, t2, t2)) != CRYPT_OK) { goto error; }
51 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
52 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
53 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
75 Import an ECC key from a binary packe
    [all...]
  /external/qemu/
aes.h 14 AES_KEY *key);
16 AES_KEY *key);
19 const AES_KEY *key);
21 const AES_KEY *key);
23 const unsigned long length, const AES_KEY *key,
  /external/smali/util/src/main/java/ds/tree/
RadixTree.java 46 * Insert a new string key and its value to the tree.
48 * @param key
49 * The string key of the object
52 * key.
55 public void insert(String key, T value);
58 * Delete a key and its associated value from the tree.
59 * @param key The key of the node that need to be deleted
62 public boolean delete(String key);
65 * Find a value based on its corresponding key
    [all...]
  /external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
ConcurrentHashMap.java 56 public V putIfAbsent(K key, V value) {
57 if (!containsKey(key)) {
58 return put(key, value);
60 return get(key);
64 public boolean remove(Object key, Object value) {
65 if (containsKey(key) && get(key).equals(value)) {
66 remove(key);
73 public boolean replace(K key, V oldValue, V newValue) {
76 } else if (containsKey(key) && get(key).equals(oldValue))
    [all...]
  /frameworks/compile/mclinker/unittests/
HashTableTest.cpp 111 int key = 100; local
112 HashTableTy::entry_type* val = hashTable->insert(key, exist);
117 HashTableTy::iterator entry = hashTable->find(key);
129 for (unsigned int key=0; key<100; ++key) {
130 entry = hashTable->insert(key, exist);
134 EXPECT_EQ(key, entry->key());
135 entry->setValue(key+10)
319 unsigned int key = 0; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
AssetCache.java 63 public void addToCache(AssetKey key, Object obj){
65 if (obj instanceof Asset && key.useSmartCache()){
71 // use the original key as smart key
72 smartInfo.smartKey = new WeakReference<AssetKey>(key);
73 smartCache.put(key, smartInfo);
76 regularCache.put(key, obj);
86 public boolean deleteFromCache(AssetKey key){
88 if (key.useSmartCache()){
89 return smartCache.remove(key) != null
    [all...]
  /frameworks/base/core/java/android/content/
SharedPreferences.java 55 * @param key The key of the preference that was changed, added, or
58 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key);
72 * @param key The name of the preference to modify.
78 Editor putString(String key, String value);
84 * @param key The name of the preference to modify.
89 Editor putStringSet(String key, Set<String> values);
95 * @param key The name of the preference to modify.
101 Editor putInt(String key, int value);
107 * @param key The name of the preference to modify
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
OutputProperties.java 43 * its "defaults"; this second property list is searched if the property key
114 * @param key the key to be placed into the property list.
115 * @param value the value corresponding to <tt>key</tt>.
118 public void setProperty(QName key, String value)
120 setProperty(key.toNamespacedString(), value);
126 * @param key the key to be placed into the property list.
127 * @param value the value corresponding to <tt>key</tt>.
130 public void setProperty(String key, String value
599 String key = (String) keys.nextElement(); local
    [all...]
  /external/bluetooth/bluez/test/
test-textfile.c 37 static void print_entry(char *key, char *value, void *data)
39 printf("%s %s\n", key, value);
45 char key[18], value[512], *str; local
64 sprintf(key, "11:11:11:11:11:11");
65 str = textfile_get(filename, key);
70 sprintf(key, "00:00:00:00:00:00");
71 if (textfile_del(filename, key) < 0)
75 if (textfile_put(filename, key, value) < 0)
78 str = textfile_get(filename, key);
80 fprintf(stderr, "No value for %s\n", key);
    [all...]
list-devices 38 for key in properties.keys():
39 value = properties[key]
40 if (key == "Devices"):
42 print " %s = %s" % (key, list)
43 elif (key == "UUIDs"):
45 print " %s = %s" % (key, list)
47 print " %s = %s" % (key, value)
60 for key in properties.keys():
61 value = properties[key]
62 if (key == "Nodes")
    [all...]
  /external/openssl/crypto/evp/
e_rc4_hmac_md5.c 80 void rc4_md5_enc (RC4_KEY *key, const void *in0, void *out,
89 EVP_RC4_HMAC_MD5 *key = data(ctx); local
91 RC4_set_key(&key->ks,EVP_CIPHER_CTX_key_length(ctx),
94 MD5_Init(&key->head); /* handy when benchmarking */
95 key->tail = key->head;
96 key->md = key->head;
98 key->payload_length = NO_PAYLOAD_LENGTH;
119 EVP_RC4_HMAC_MD5 *key = data(ctx) local
222 EVP_RC4_HMAC_MD5 *key = data(ctx); local
    [all...]
  /external/dropbear/libtomcrypt/src/pk/dsa/
dsa_verify_key.c 15 DSA implementation, verify a key, Tom St Denis
21 Verify a DSA key for validity
22 @param key The key to verify
26 int dsa_verify_key(dsa_key *key, int *stat)
31 LTC_ARGCHK(key != NULL);
34 /* default to an invalid key */
37 /* first make sure key->q and key->p are prime */
38 if ((err = mp_prime_is_prime(key->q, 8, &res)) != CRYPT_OK)
    [all...]
dsa_make_key.c 15 DSA implementation, generate a DSA key, Tom St Denis
21 Create a DSA key
26 @param key [out] Where to store the created key
29 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key)
35 LTC_ARGCHK(key != NULL);
56 if ((err = mp_init_multi(&tmp, &tmp2, &key->g, &key->q, &key->p, &key->x, &key->y, NULL)) != CRYPT_OK)
    [all...]
  /external/dropbear/libtomcrypt/src/pk/rsa/
rsa_import.c 15 Import a PKCS RSA key, Tom St Denis
24 @param key [out] Destination for newly imported key
27 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key)
37 LTC_ARGCHK(key != NULL);
40 /* init key */
41 if ((err = mp_init_multi(&key->e, &key->d, &key->N, &key->dQ,
    [all...]
  /libcore/luni/src/test/java/tests/security/interfaces/
RSAPrivateCrtKeyTest.java 25 RSAPrivateCrtKey key = null; field in class:RSAPrivateCrtKeyTest
30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam);
39 Util.rsaCrtParam.getCrtCoefficient(), key.getCrtCoefficient());
48 Util.rsaCrtParam.getPrimeExponentP(), key.getPrimeExponentP());
57 Util.rsaCrtParam.getPrimeExponentQ(), key.getPrimeExponentQ());
66 Util.rsaCrtParam.getPrimeP(), key.getPrimeP());
75 Util.rsaCrtParam.getPrimeQ(), key.getPrimeQ());
84 Util.rsaCrtParam.getPublicExponent(), key.getPublicExponent());
88 key = null;

Completed in 2268 milliseconds

1 23 4 5 6 7 8 91011>>