Home
last modified time | relevance | path

Searched refs:newKey (Results 1 – 25 of 29) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java44 byte[] newKey = new byte[strength]; in generateKey()
48 random.nextBytes(newKey); in generateKey()
50 DESedeParameters.setOddParity(newKey); in generateKey()
52 while (DESedeParameters.isWeakKey(newKey, 0, newKey.length)); in generateKey()
54 return newKey; in generateKey()
DDESKeyGenerator.java36 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; in generateKey()
40 random.nextBytes(newKey); in generateKey()
42 DESParameters.setOddParity(newKey); in generateKey()
44 while (DESParameters.isWeakKey(newKey, 0)); in generateKey()
46 return newKey; in generateKey()
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
DLookupKeyTest.java135 LookupKey newKey = key.getKeyForUpperLevelField(AddressField.COUNTRY); in testGetKeyForUpperLevelFieldWithDataKey() local
136 assertNotNull("failed to get key for " + AddressField.COUNTRY, newKey); in testGetKeyForUpperLevelFieldWithDataKey()
137 assertEquals("data/US", newKey.toString()); in testGetKeyForUpperLevelFieldWithDataKey()
139 newKey = key.getKeyForUpperLevelField(AddressField.ADMIN_AREA); in testGetKeyForUpperLevelFieldWithDataKey()
140 assertNotNull("failed to get key for " + AddressField.ADMIN_AREA, newKey); in testGetKeyForUpperLevelFieldWithDataKey()
141 assertEquals("data/US/CA", newKey.toString()); in testGetKeyForUpperLevelFieldWithDataKey()
144 newKey = key.getKeyForUpperLevelField(AddressField.LOCALITY); in testGetKeyForUpperLevelFieldWithDataKey()
145 assertNotNull("failed to get key for " + AddressField.LOCALITY, newKey); in testGetKeyForUpperLevelFieldWithDataKey()
146 assertEquals("data/US/CA/Mt View", newKey.toString()); in testGetKeyForUpperLevelFieldWithDataKey()
148 newKey = key.getKeyForUpperLevelField(AddressField.DEPENDENT_LOCALITY); in testGetKeyForUpperLevelFieldWithDataKey()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java311 int[] newKey = new int[32]; in generateWorkingKey() local
336 newKey[m] = newKey[n] = 0; in generateWorkingKey()
368 newKey[m] |= bigbyte[j]; in generateWorkingKey()
373 newKey[n] |= bigbyte[j]; in generateWorkingKey()
385 i1 = newKey[i]; in generateWorkingKey()
386 i2 = newKey[i + 1]; in generateWorkingKey()
388 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey()
391 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey()
395 return newKey; in generateWorkingKey()
DRC2Engine.java102 int[] newKey = new int[64]; in generateWorkingKey() local
104 for (int i = 0; i != newKey.length; i++) in generateWorkingKey()
106 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); in generateWorkingKey()
109 return newKey; in generateWorkingKey()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/
Dkey_map.js277 cvox.KeyMap.prototype.rebind = function(command, newKey) { argument
278 if (this.hasCommand(command) && !this.hasKey(newKey)) {
279 this.bind_(command, newKey);
293 cvox.KeyMap.prototype.bind_ = function(command, newKey) { argument
302 binding.sequence = newKey;
304 this.commandToKey_[binding.command] = newKey;
312 'sequence': newKey
/external/guava/guava-tests/test/com/google/common/cache/
DPopulatedCachesTest.java93 Object newKey = new Object(); in testPut_populated() local
94 assertNull(cache.asMap().put(newKey, entry.getValue())); in testPut_populated()
97 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated()
99 warmed.add(entryOf(newKey, entry.getValue())); in testPut_populated()
114 Object newKey = new Object(); in testPutIfAbsent_populated() local
115 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); in testPutIfAbsent_populated()
118 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated()
120 warmed.add(entryOf(newKey, entry.getValue())); in testPutIfAbsent_populated()
131 Object newKey = new Object(); in testPutAll_populated() local
133 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); in testPutAll_populated()
[all …]
/external/chromium-trace/trace-viewer/src/cc/
Dutil.js101 var newKey = convertNameToJSConvention(key);
102 if (newKey != key) {
105 object[newKey] = value;
106 key = newKey;
/external/icu/icu4c/source/i18n/
Dtznames.cpp153 char *newKey = NULL; in TimeZoneNamesDelegate() local
160 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in TimeZoneNamesDelegate()
161 if (newKey == NULL) { in TimeZoneNamesDelegate()
164 uprv_strcpy(newKey, key); in TimeZoneNamesDelegate()
176 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()
183 if (newKey != NULL) { in TimeZoneNamesDelegate()
184 uprv_free(newKey); in TimeZoneNamesDelegate()
Duspoof_conf.cpp547 int32_t newKey = keyChar | tableFlag; in addKeyEntry() local
549 newKey |= USPOOF_KEY_MULTIPLE_VALUES; in addKeyEntry()
555 newKey |= adjustedMappingLength << USPOOF_KEY_LENGTH_SHIFT; in addKeyEntry()
559 fKeyVec->addElement(newKey, status); in addKeyEntry()
Dtznames_impl.cpp1167 const UChar* newKey = ZoneMeta::findMetaZoneID(mzID); in loadMetaZoneNames() local
1168 if (newKey != NULL) { in loadMetaZoneNames()
1169 uhash_put(fMZNamesMap, (void *)newKey, cacheVal, &status); in loadMetaZoneNames()
1183 nameinfo->mzID = newKey; in loadMetaZoneNames()
1244 const UChar* newKey = ZoneMeta::findTimeZoneID(tzID); in loadTimeZoneNames() local
1245 if (newKey != NULL) { in loadTimeZoneNames()
1246 uhash_put(fTZNamesMap, (void *)newKey, cacheVal, &status); in loadTimeZoneNames()
1259 nameinfo->tzID = newKey; in loadTimeZoneNames()
Dtzgnames.cpp1249 char *newKey = NULL; in createInstance() local
1256 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in createInstance()
1257 if (newKey == NULL) { in createInstance()
1260 uprv_strcpy(newKey, key); in createInstance()
1272 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1279 if (newKey != NULL) { in createInstance()
1280 uprv_free(newKey); in createInstance()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DOutputPropertiesFactory.java461 String newKey = fixupPropertyString(key, true); in loadPropertiesFile() local
465 newValue = System.getProperty(newKey); in loadPropertiesFile()
476 if (key != newKey || value != newValue) in loadPropertiesFile()
479 props.put(newKey, newValue); in loadPropertiesFile()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSignature.java134 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { in initInternal() argument
135 checkEngineType(newKey); in initInternal()
136 key = newKey; in initInternal()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
Dprefs.js224 cvox.ChromeVoxPrefs.prototype.setKey = function(command, newKey) { argument
225 if (this.keyMap_.rebind(command, newKey)) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
Dbase_rule_store.js286 var newKey = [rule.dynamicCstr[key]];
288 result[key] = cvox.MathUtil.union(result[key], newKey);
290 result[key] = newKey;
/external/chromium_org/third_party/icu/source/i18n/
Duspoof_conf.cpp542 int32_t newKey = keyChar | tableFlag; in addKeyEntry() local
544 newKey |= USPOOF_KEY_MULTIPLE_VALUES; in addKeyEntry()
550 newKey |= adjustedMappingLength << USPOOF_KEY_LENGTH_SHIFT; in addKeyEntry()
554 fKeyVec->addElement(newKey, status); in addKeyEntry()
Dsortkey.cpp399 U_NAMESPACE_QUALIFIER CollationKey newKey(key, length); in ucol_keyHashCode() local
400 return newKey.hashCode(); in ucol_keyHashCode()
/external/chromium_org/third_party/sqlite/src/src/
Dtest_pcache.c330 unsigned newKey in testpcacheRekey() argument
342 if( p->a[i].key==newKey ){ in testpcacheRekey()
360 p->a[i].key = newKey; in testpcacheRekey()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DACBTree.h33 + (ACBKey *)newKey;
DAMutableDictionary.m103 //ACBKey *akey = [ACBKey newKey:aKey];
DACBTree.m23 + (ACBKey *)newKey
/external/sqlite/dist/orig/
Dsqlite3.h6690 unsigned oldKey, unsigned newKey);
6711 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
/external/sqlite/dist/
Dsqlite3.h6690 unsigned oldKey, unsigned newKey);
6711 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.h5856 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);

12