/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DESedeKeyGenerator.java | 46 byte[] newKey = new byte[strength]; in generateKey() 51 random.nextBytes(newKey); in generateKey() 53 DESedeParameters.setOddParity(newKey); in generateKey() 55 …nt < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealED… in generateKey() 57 …if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey,… in generateKey() 62 return newKey; in generateKey()
|
D | DESKeyGenerator.java | 36 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | DESedeKeyGenerator.java | 50 byte[] newKey = new byte[strength]; in generateKey() 55 random.nextBytes(newKey); in generateKey() 57 DESedeParameters.setOddParity(newKey); in generateKey() 59 …nt < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealED… in generateKey() 61 …if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey,… in generateKey() 66 return newKey; in generateKey()
|
D | DESKeyGenerator.java | 40 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; in generateKey() 44 random.nextBytes(newKey); in generateKey() 46 DESParameters.setOddParity(newKey); in generateKey() 48 while (DESParameters.isWeakKey(newKey, 0)); in generateKey() 50 return newKey; in generateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 312 int[] newKey = new int[32]; in generateWorkingKey() local 337 newKey[m] = newKey[n] = 0; in generateWorkingKey() 369 newKey[m] |= bigbyte[j]; in generateWorkingKey() 374 newKey[n] |= bigbyte[j]; in generateWorkingKey() 386 i1 = newKey[i]; in generateWorkingKey() 387 i2 = newKey[i + 1]; in generateWorkingKey() 389 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey() 392 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey() 396 return newKey; in generateWorkingKey()
|
D | RC2Engine.java | 102 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 314 int[] newKey = new int[32]; in generateWorkingKey() local 339 newKey[m] = newKey[n] = 0; in generateWorkingKey() 371 newKey[m] |= bigbyte[j]; in generateWorkingKey() 376 newKey[n] |= bigbyte[j]; in generateWorkingKey() 388 i1 = newKey[i]; in generateWorkingKey() 389 i2 = newKey[i + 1]; in generateWorkingKey() 391 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey() 394 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey() 398 return newKey; in generateWorkingKey()
|
D | RC2Engine.java | 104 int[] newKey = new int[64]; in generateWorkingKey() local 106 for (int i = 0; i != newKey.length; i++) in generateWorkingKey() 108 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); in generateWorkingKey() 111 return newKey; in generateWorkingKey()
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 150 HKEY newKey = 0; in getpythonregpath() local 174 &newKey); in getpythonregpath() 176 RegQueryInfoKey(newKey, NULL, NULL, NULL, NULL, NULL, NULL, in getpythonregpath() 193 DWORD rc = RegEnumKey(newKey, in getpythonregpath() 196 rc = RegQueryValue(newKey, keyBuf, NULL, &reqdSize); in getpythonregpath() 209 DWORD rc = RegEnumKey(newKey, in getpythonregpath() 212 rc = RegQueryValue(newKey, in getpythonregpath() 227 rc = RegQueryValue(newKey, "", dataBuf+off, &dataSize); in getpythonregpath() 238 if (newKey) in getpythonregpath() 239 RegCloseKey(newKey); in getpythonregpath()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | PopulatedCachesTest.java | 92 Object newKey = new Object(); in testPut_populated() local 93 assertNull(cache.asMap().put(newKey, entry.getValue())); in testPut_populated() 96 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated() 98 warmed.add(entryOf(newKey, entry.getValue())); in testPut_populated() 113 Object newKey = new Object(); in testPutIfAbsent_populated() local 114 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); in testPutIfAbsent_populated() 117 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated() 119 warmed.add(entryOf(newKey, entry.getValue())); in testPutIfAbsent_populated() 130 Object newKey = new Object(); in testPutAll_populated() local 132 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); in testPutAll_populated() [all …]
|
/external/python/cpython2/PC/ |
D | getpathp.c | 226 HKEY newKey = 0; in getpythonregpath() local 259 &newKey); in getpythonregpath() 262 rc = RegQueryInfoKey(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL, in getpythonregpath() 278 DWORD rc = RegEnumKeyEx(newKey, index, keyBuf, &reqdSize, in getpythonregpath() 282 rc=RegOpenKeyEx(newKey, in getpythonregpath() 335 rc = RegQueryValueEx(newKey, NULL, 0, NULL, in getpythonregpath() 361 if (newKey) in getpythonregpath() 362 RegCloseKey(newKey); in getpythonregpath()
|
/external/icu/icu4c/source/i18n/ |
D | tznames.cpp | 158 char *newKey = NULL; in TimeZoneNamesDelegate() local 165 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in TimeZoneNamesDelegate() 166 if (newKey == NULL) { in TimeZoneNamesDelegate() 169 uprv_strcpy(newKey, key); in TimeZoneNamesDelegate() 181 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate() 188 if (newKey != NULL) { in TimeZoneNamesDelegate() 189 uprv_free(newKey); in TimeZoneNamesDelegate()
|
D | tzgnames.cpp | 1224 char *newKey = NULL; in createInstance() local 1231 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in createInstance() 1232 if (newKey == NULL) { in createInstance() 1235 uprv_strcpy(newKey, key); in createInstance() 1247 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance() 1254 if (newKey != NULL) { in createInstance() 1255 uprv_free(newKey); in createInstance()
|
D | tznames_impl.cpp | 1457 char* newKey = (char*) uprv_malloc(len); in createKey() local 1458 if (newKey == NULL) { in createKey() 1462 uprv_memcpy(newKey, key, len); in createKey() 1463 newKey[len-1] = '\0'; in createKey() 1464 return (void*) newKey; in createKey() 1542 void* newKey = createKey(key, status); in consumeNamesTable() local 1548 uhash_put(keyToLoader, newKey, loader, &status); in consumeNamesTable() 2265 void* newKey = (void*) ZoneMeta::findMetaZoneID(mzID); in getMetaZoneNames() local 2266 if (newKey != NULL) { in getMetaZoneNames() 2267 uhash_put(gTZDBNamesMap, newKey, cacheVal, &status); in getMetaZoneNames()
|
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/ |
D | DaggerMethodScanner.java | 86 Key<T> newKey = Key.get(key.getTypeLiteral(), UniqueAnnotations.create()); in processSetBinding() local 87 setBinder.addBinding().to(newKey); in processSetBinding() 88 return newKey; in processSetBinding()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | OutputPropertiesFactory.java | 461 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/syzkaller/vendor/google.golang.org/grpc/ |
D | picker_wrapper.go | 74 func (bp *pickerWrapper) updateStickinessMDKey(newKey string) { 76 if oldKey, _ := bp.stickinessMDKey.Load().(string); oldKey != newKey { 77 bp.stickinessMDKey.Store(newKey) 78 bp.stickiness.reset(newKey)
|
/external/python/cpython3/PC/ |
D | getpathp.c | 358 HKEY newKey = 0; in getpythonregpath() local 394 &newKey); in getpythonregpath() 399 rc = RegQueryInfoKey(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL, in getpythonregpath() 421 DWORD rc = RegEnumKeyExW(newKey, index, keyBuf, &reqdSize, in getpythonregpath() 427 rc=RegOpenKeyExW(newKey, in getpythonregpath() 484 rc = RegQueryValueExW(newKey, NULL, 0, NULL, in getpythonregpath() 501 if (newKey) { in getpythonregpath() 502 RegCloseKey(newKey); in getpythonregpath()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSignature.java | 194 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { in initInternal() argument 195 checkEngineType(newKey); in initInternal() 196 key = newKey; in initInternal()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLSignature.java | 197 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { in initInternal() argument 198 checkEngineType(newKey); in initInternal() 199 key = newKey; in initInternal()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 327 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument 333 if (newKey.isValid()) { in changeUniqueKey() 334 if (GrGpuResource* old = fUniqueHash.find(newKey)) { in changeUniqueKey() 344 SkASSERT(nullptr == fUniqueHash.find(newKey)); in changeUniqueKey() 359 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey()
|
D | GrResourceCache.h | 409 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument 410 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 361 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument 367 if (newKey.isValid()) { in changeUniqueKey() 368 if (GrGpuResource* old = fUniqueHash.find(newKey)) { in changeUniqueKey() 378 SkASSERT(nullptr == fUniqueHash.find(newKey)); in changeUniqueKey() 393 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey()
|
D | GrResourceCache.h | 431 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument 432 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationDummyTest.java | 335 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates() local 336 int keyResult = enKey.compareTo(newKey); in TestSurrogates()
|