/bionic/libc/malloc_debug/ |
RecordData.h | 160 pthread_key_t key() { return key_; } function in class:RecordData
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
ECDSASignatureTest.java | 34 for (ImportedKey key : importKatKeyPairs("NONEwithECDSA")) { 36 assertNONEwithECDSATruncatesInputToFieldSize(key.getKeystoreBackedKeyPair()); 38 throw new RuntimeException("Failed for " + key.getAlias(), e); 75 for (ImportedKey key : importKatKeyPairs("NONEwithECDSA")) { 78 key.getKeystoreBackedKeyPair()); 80 throw new RuntimeException("Failed for " + key.getAlias(), e);
|
/cts/tests/tests/security/jni/ |
android_security_cts_EncryptionTest.cpp | 92 uint8_t key[EVP_CIPHER_key_length(TEST_EVP_CIPHER)]; local 95 memset(key, 0x42, sizeof(key)); 100 if (!EVP_DecryptInit(&ctx, TEST_EVP_CIPHER, key, iv)) {
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
ItemAddFragment.java | 37 void onItemAdded(String key, String value); 67 mEditKey = (EditText) view.findViewById(R.id.key); 84 String key = mEditKey.getText().toString(); local 85 if (TextUtils.isEmpty(key)) { 86 Toast.makeText(getActivity(), "Input the key.", Toast.LENGTH_SHORT).show(); 95 mListener.onItemAdded(key, value);
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
ItemAddFragment.java | 37 void onItemAdded(String key, String value); 67 mEditKey = (EditText) view.findViewById(R.id.key); 84 String key = mEditKey.getText().toString(); local 85 if (TextUtils.isEmpty(key)) { 86 Toast.makeText(getActivity(), "Input the key.", Toast.LENGTH_SHORT).show(); 95 mListener.onItemAdded(key, value);
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
ItemAddFragment.java | 37 void onItemAdded(String key, String value); 67 mEditKey = (EditText) view.findViewById(R.id.key); 84 String key = mEditKey.getText().toString(); local 85 if (TextUtils.isEmpty(key)) { 86 Toast.makeText(getActivity(), "Input the key.", Toast.LENGTH_SHORT).show(); 95 mListener.onItemAdded(key, value);
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
MetadataParser.java | 70 final String key = m.group(1); local 72 if ("Build".equals(key)) {
|
/device/generic/goldfish/camera/ |
EmulatedCameraFactory.h | 154 const char *key = "qemu.camera.fake.orientation"; local 155 int degree = property_get_int32(key, 90); 163 const char *key = "qemu.camera.webcam.orientation"; local 164 int degree = property_get_int32(key, 90);
|
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/ |
ext.h | 11 #include "key.h" 48 int key; /* Index into array of registered public keys */ member in union:ext_s::__anon4184
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
setobject.h | 13 1. Unused: key == NULL
14 2. Active: key != NULL and key != dummy
15 3. Dummy: key == dummy
25 long hash; /* cached hash code for the entry key */
26 PyObject *key;
member in struct:__anon4361 52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
88 PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
89 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
moduleobject.c | 110 PyObject *key, *value;
local 119 while (PyDict_Next(d, &pos, &key, &value)) {
120 if (value != Py_None && PyString_Check(key)) {
121 char *s = PyString_AsString(key);
125 if (PyDict_SetItem(d, key, Py_None) != 0)
133 while (PyDict_Next(d, &pos, &key, &value)) {
134 if (value != Py_None && PyString_Check(key)) {
135 char *s = PyString_AsString(key);
139 if (PyDict_SetItem(d, key, Py_None) != 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
setobject.h | 13 1. Unused: key == NULL
14 2. Active: key != NULL and key != dummy
15 3. Dummy: key == dummy
25 long hash; /* cached hash code for the entry key */
26 PyObject *key;
member in struct:__anon4667 52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
88 PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
89 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
cache.c | 29 pysqlite_Node* pysqlite_new_node(PyObject* key, PyObject* data)
38 Py_INCREF(key);
39 node->key = key;
52 Py_DECREF(self->key);
118 PyObject* key = args;
local 123 node = (pysqlite_Node*)PyDict_GetItem(self->mapping, key);
125 /* an entry for this key already exists in the cache */
162 /* There is no entry for this key in the cache, yet. We'll insert a new
170 if (PyDict_DelItem(self->mapping, self->last->key) != 0) { [all...] |
row.c | 70 char* key;
local 90 key = PyString_AsString(idx);
100 p1 = key;
125 PyErr_SetString(PyExc_IndexError, "No item with that key");
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
moduleobject.c | 110 PyObject *key, *value;
local 119 while (PyDict_Next(d, &pos, &key, &value)) {
120 if (value != Py_None && PyString_Check(key)) {
121 char *s = PyString_AsString(key);
125 PyDict_SetItem(d, key, Py_None);
132 while (PyDict_Next(d, &pos, &key, &value)) {
133 if (value != Py_None && PyString_Check(key)) {
134 char *s = PyString_AsString(key);
138 PyDict_SetItem(d, key, Py_None);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getservent.c | 148 static char *key = NULL;
local 160 if (key)
161 free(key);
162 if ((rv = yp_first(yp_domain, "services.byname", &key, &keylen,
169 lastkey = key;
170 rv = yp_next(yp_domain, "services.byname", key, keylen, &key,
|
/external/ImageMagick/MagickCore/ |
registry.c | 94 % DefineImageRegistry() associates a key/value pair with the image registry. 114 key[MagickPathExtent], 121 (void) CopyMagickString(key,option,MagickPathExtent); 122 for (p=key; *p != '\0'; p++) 129 return(SetImageRegistry(type,key,value,exception)); 144 % DeleteImageRegistry() deletes a key from the image registry. 148 % MagickBooleanType DeleteImageRegistry(const char *key) 152 % o key: the registry. 155 MagickExport MagickBooleanType DeleteImageRegistry(const char *key) 158 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",key); 110 key[MagickPathExtent], local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ACBTree.h | 26 __strong NSString *key; /* key pointer id */ variable 27 char kstr[BTKeySize]; /* key entry */ 31 @property (retain) NSString *key; variable 55 NSInteger keylen; /* length of key */ 82 - (ACBTree *) internalinsert:(ACBKey *)key value:(id)value split:(NSInteger *)h; 83 - (ACBTree *) insert:(ACBKey *)key value:(id)value index:(NSInteger)hi split:(NSInteger *)h; 85 - (NSInteger)insinnode:(ACBKey *)key value:(id)value; 88 - (ACBTree *)search:(id)key; 89 - (NSInteger)searchnode:(id)key match:(BOOL)match [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
WeakHashtable.java | 68 * reference to the component's classloader from a key in the "global" 144 public boolean containsKey(Object key) { 146 Referenced referenced = new Referenced(key); 168 Object key = referencedKey.getValue(); local 170 if (key != null) { 171 Entry dereferencedEntry = new Entry(key, value); 181 public Object get(Object key) { 183 Referenced referenceKey = new Referenced(key); 225 public Object put(Object key, Object value) { 227 if (key == null) [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
JobStatusDataSource.java | 97 List<String> key = getMetaHostKey(label, status); local 99 if (!metaHostEntries.containsKey(key)) { 101 metaHostEntries.put(key, queueEntry); 104 JSONObject metaHostEntry = metaHostEntries.get(key).isObject();
|
/external/autotest/scheduler/ |
rdb_cache_manager.py | 21 'cache lines'. A cache line is defined as a key: value pair, where 22 the key is as returned by get_key, and the value is a list of RDBHosts 23 that match the key. The following limitations are placed on cache lines: 25 2. A key can only be set once, with a single line, before removal. 40 K-X: | ---------------------------> | {key: [K-X hosts]} 43 K-(X+Y): | ---------------------------> | {key: [K-(X+Y) hosts]} 111 the key MEMOIZED_KEY, as this is reserved for the passing of 129 def set(self, key, value): 130 """Set a key. 132 @param key: The key to set 204 key = collections.namedtuple('key', ['deps', 'acls']) variable in class:RDBHostCacheManager [all...] |
/external/avb/libavb/ |
avb_rsa.c | 31 * key for computation. The code extends libmincrypt RSA verification code to 32 * support multiple RSA key lengths and hash digest algorithms. 49 IAvbKey* key = NULL; local 57 avb_error("Invalid key.\n"); 63 avb_error("Unexpected key length.\n"); 69 avb_error("Key does not match expected length.\n"); 76 /* Store n and rr following the key header so we only have to do one 79 key = (IAvbKey*)(avb_malloc(sizeof(IAvbKey) + 2 * h.key_num_bits / 8)); 80 if (key == NULL) { 84 key->len = h.key_num_bits / 32 [all...] |
/external/boringssl/src/crypto/cipher_extra/ |
cipher_test.cc | 115 size_t chunk_size, const std::vector<uint8_t> &key, 152 ASSERT_TRUE(EVP_CIPHER_CTX_set_key_length(ctx.get(), key.size())); 153 ASSERT_TRUE(EVP_CipherInit_ex(ctx.get(), nullptr, nullptr, key.data(), 199 std::vector<uint8_t> key, iv, plaintext, ciphertext, aad, tag; local 200 ASSERT_TRUE(t->GetBytes(&key, "Key")); 235 TestOperation(t, cipher, true /* encrypt */, chunk_size, key, iv, 241 TestOperation(t, cipher, false /* decrypt */, chunk_size, key, iv,
|
/external/boringssl/src/crypto/evp/ |
evp_asn1.c | 98 CBS spki, algorithm, key; local 104 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || 106 // Every key type defined encodes the key as a byte string with the same 108 !CBS_get_u8(&key, &padding) || 126 if (!ret->ameth->pub_decode(ret, &algorithm, &key)) { 137 int EVP_marshal_public_key(CBB *cbb, const EVP_PKEY *key) { 138 if (key->ameth == NULL || key->ameth->pub_encode == NULL) { 143 return key->ameth->pub_encode(cbb, key) 148 CBS pkcs8, algorithm, key; local [all...] |
evp_test.cc | 84 // evp_test dispatches between multiple test types. PrivateKey tests take a key 85 // name parameter and single block, decode it as a PEM private key, and save it 86 // under that key name. Decrypt, Sign, and Verify tests take a previously 87 // imported key name as parameter and test their respective operations. 120 ADD_FAILURE() << "Unknown key type: " << name; 145 int (*marshal_func)(CBB *cbb, const EVP_PKEY *key)) { 164 // The key must re-encode correctly. 180 EXPECT_EQ(Bytes(output), Bytes(der, der_len)) << "Re-encoding the key did not match."; 182 // Save the key for future tests. 184 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name 278 EVP_PKEY *key = (*key_map)[key_name].get(); local [all...] |