/external/toybox/toys/example/ |
test_scankey.c | 26 int key, x, y; local 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); 49 printf("key=[ESC"); 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) 52 printf("%c", key); 54 } else printf("key=%d ", key); 58 if (key == -2) continue; 59 if (key <= ' ') break; 60 if (key>=256) [all...] |
/external/toybox/toys/pending/ |
getfattr.c | 36 char *keys, *key; local 55 for (key = keys, key_count = 0; key-keys < keys_len; key += strlen(key)+1) 58 for (key = keys, i = 0; key-keys < keys_len; key += strlen(key)+1) 59 sorted_keys[i++] = key; [all...] |
/external/v8/src/ast/ |
context-slot-cache.cc | 33 Key& key = keys_[index]; local 34 if ((key.data == data) && key.name->Equals(name)) { 55 Key& key = keys_[index]; local 56 key.data = *data; 57 key.name = *internalized_name; 84 Key& key = keys_[index] local [all...] |
/external/v8/src/builtins/ |
builtins-reflect.cc | 21 Handle<Object> key = args.at<Object>(2); local 33 Object::ToName(isolate, key)); 52 Handle<Object> key = args.at<Object>(2); local 63 Object::ToName(isolate, key)); 75 Handle<Object> key = args.atOrUndefined(isolate, 2); local 87 Object::ToName(isolate, key)); 99 Handle<Object> key = args.at<Object>(2); local 110 Object::ToName(isolate, key)); 142 Handle<Object> key = args.at<Object>(2); local 153 Object::ToName(isolate, key)); 225 Handle<Object> key = args.atOrUndefined(isolate, 2); local [all...] |
/external/v8/src/runtime/ |
runtime-collections.cc | 252 Handle<Object> key(table->KeyAt(i), isolate); 253 if (table->IsKey(isolate, *key)) { 254 entries->set(count++, *key); 255 Object* value = table->Lookup(key); 287 CONVERT_ARG_HANDLE_CHECKED(Object, key, 1); 289 CHECK(key->IsJSReceiver() || key->IsSymbol()); 292 CHECK(table->IsKey(isolate, *key)); 293 Handle<Object> lookup(table->Lookup(key, hash), isolate); 303 CONVERT_ARG_HANDLE_CHECKED(Object, key, 1) 365 Object* key = table->KeyAt(i); local [all...] |
/external/vboot_reference/firmware/lib/cryptolib/ |
rsa_utility.c | 16 int key_len; /* Key length in bytes. (int type matches siglen_map) */ 30 RSAPublicKey* key = (RSAPublicKey*) VbExMalloc(sizeof(RSAPublicKey)); local 31 key->n = NULL; 32 key->rr = NULL; 33 key->len = 0; 34 key->algorithm = kNumAlgorithms; 35 return key; 38 void RSAPublicKeyFree(RSAPublicKey* key) { 39 if (key) { 40 if (key->n 49 RSAPublicKey* key = RSAPublicKeyNew(); local [all...] |
/external/vboot_reference/firmware/lib20/ |
api.c | 44 struct vb2_public_key key; local 80 * Unpack the firmware data key to see which hashing algorithm we 91 rv = vb2_unpack_key(&key, 104 rv = vb2ex_hwcrypto_digest_init(key.hash_alg, 108 key.hash_alg); 109 dc->hash_alg = key.hash_alg; 116 key.hash_alg); 121 return vb2_digest_init(dc, key.hash_alg); 135 struct vb2_public_key key; local 176 /* Unpack the data key */ [all...] |
/external/vboot_reference/host/lib/ |
file_keys.c | 5 * Utility functions for file and key handling. 54 RSAPublicKey* key = NULL; local 57 key = RSAPublicKeyFromBuf(buf, len); 59 return key;
|
signature_digest.c | 44 RSA* key = NULL; local 51 VBDEBUG(("SignatureBuf(): Couldn't open key file: %s\n", key_file)); 55 if ((key = PEM_read_RSAPrivateKey(key_fp, NULL, NULL, NULL))) 58 VBDEBUG(("SignatureBuf(): Couldn't read private key from file: %s\n", 64 key, /* Key to use. */ 69 if (key) 70 RSA_free(key);
|
/external/vboot_reference/utility/ |
verify_data.c | 56 RSAPublicKey* key = NULL; local 59 fprintf(stderr, "Usage: %s <algorithm> <key file> <signature file>" 73 /* Length of the RSA Signature/RSA Key */ 75 if ((key = RSAPublicKeyFromFile(argv[2])) && 78 if (RSAVerify(key, signature, sig_len, algorithm, digest)) { 90 free(key);
|
/external/vulkan-validation-layers/layers/ |
vk_layer_table.cpp | 32 dispatch_key key = get_dispatch_key(object); local 33 device_table_map::const_iterator it = tableMap.find((void *)key); 39 dispatch_key key = get_dispatch_key(object); local 40 instance_table_map::const_iterator it = tableInstanceMap.find((void *)key); 43 fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, key, 46 fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, object, key); 53 void destroy_dispatch_table(device_table_map &map, dispatch_key key) { 55 device_table_map::const_iterator it = map.find((void *)key); 84 dispatch_key key = get_dispatch_key(object); local 99 dispatch_key key = get_dispatch_key(object); local 140 dispatch_key key = get_dispatch_key(instance); local 167 dispatch_key key = get_dispatch_key(device); local [all...] |
/external/webp/src/utils/ |
color_cache_utils.h | 38 const VP8LColorCache* const cc, uint32_t key) { 39 assert((key >> cc->hash_bits_) == 0u); 40 return cc->colors_[key]; 44 uint32_t key, uint32_t argb) { 45 assert((key >> cc->hash_bits_) == 0u); 46 cc->colors_[key] = argb; 51 const int key = HashPix(argb, cc->hash_shift_); local 52 cc->colors_[key] = argb; 60 // Return the key if cc contains argb, and -1 otherwise. 63 const int key = HashPix(argb, cc->hash_shift_) local [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs8.c | 2 * PKCS #8 (Private-key information syntax) 62 "beginning of private key; not found; assume " 98 wpa_printf(MSG_DEBUG, "PKCS #8: Unsupported private key " 180 struct crypto_private_key *key; local 181 key = pkcs8_key_import(data, data_len); 183 return key;
|
tlsv1_cred.h | 15 struct crypto_private_key *key; member in struct:tlsv1_credentials
|
/frameworks/av/drm/common/ |
DrmConstraints.cpp | 32 status_t DrmConstraints::put(const String8* key, const char* value) { 38 mConstraintMap.add(*key, charValue); 43 String8 DrmConstraints::get(const String8& key) const { 44 if (NULL != getValue(&key)) { 45 return String8(getValue(&key)); 50 const char* DrmConstraints::getValue(const String8* key) const { 51 if (NAME_NOT_FOUND != mConstraintMap.indexOfKey(*key)) { 52 return mConstraintMap.valueFor(*key); 57 const char* DrmConstraints::getAsByteArray(const String8* key) const { 58 return getValue(key); 66 const String8& key = mDrmConstraints->mConstraintMap.keyAt(mIndex); local [all...] |
DrmInfoRequest.cpp | 41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { 42 mRequestInformationMap.add(key, value); 46 String8 DrmInfoRequest::get(const String8& key) const { 47 if (NAME_NOT_FOUND != mRequestInformationMap.indexOfKey(key)) { 48 return mRequestInformationMap.valueFor(key); 73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex); local 75 return key;
|
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...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
ClearKeyFetcher.cpp | 115 // TODO: if 2 Ecms have same parity, key from Ecm with higher id 117 KeyInfo key; local 118 key.key_id = container.descriptor(i).id(); 119 key.key_bytes = container.descriptor(i).ecm().content_key(); 121 keys->at(key.key_id & 1) = key;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
Session.cpp | 55 const KeyMap::value_type& key = keys.valueAt(i); local 56 mKeyMap.add(keyId, key); 76 const Vector<uint8_t>& key = mKeyMap.valueFor(keyIdVector); local 79 key, iv,
|
/frameworks/av/media/libaudiohal/ |
ConversionHelperHidl.cpp | 35 // "keyFormat=<value>" pair. We need to transform it into a single key string so that it is 43 String8 key; local 44 status_t status = halKeys.getAt(i, key); 46 if (keepFormatValue && key == AudioParameter::keyFormat) { 48 halKeys.getAt(i, key, value); 49 formatParam.add(key, value); 50 key = formatParam.toString(); 52 (*hidlKeys)[i] = key.string(); 64 String8 key, value; local 65 status_t status = params.getAt(i, key, value) [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
Parameters.cpp | 77 AString key = name; local 78 key.tolower(); 80 ssize_t index = mDict.indexOfKey(key);
|
/frameworks/av/services/radio/ |
HidlUtils.cpp | 150 radio_metadata_key_t key = static_cast<radio_metadata_key_t>(halMetadata[i].key); local 156 radio_metadata_add_int(metadata, key, halMetadata[i].intValue); 159 radio_metadata_add_text(metadata, key, halMetadata[i].stringValue.c_str()); 162 radio_metadata_add_raw(metadata, key, 171 radio_metadata_add_clock(metadata, key, &clock);
|
/frameworks/base/cmds/backup/ |
backup.cpp | 74 String8 key; local 76 err = reader.ReadEntityHeader(&key, &dataSize); 78 printf(" entity: %s (%zu bytes)\n", key.string(), dataSize);
|
/frameworks/base/core/java/android/app/backup/ |
AbsoluteFileBackupHelper.java | 68 String key = data.getKey(); local 69 if (isKeyInList(key, mFiles)) { 70 File f = new File(key);
|
BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 40 String key; field in class:BackupDataInputStream 98 * Report the key string associated with this entity within the backup data set. 100 * @return The key string for this entity, equivalent to calling 104 return this.key;
|