Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 22 of 22) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DEnumHashBiMap.java43 private transient Class<K> keyType; field in EnumHashBiMap
51 create(Class<K> keyType) { in create() argument
52 return new EnumHashBiMap<K, V>(keyType); in create()
72 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
74 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
76 keyType.getEnumConstants().length)); in EnumHashBiMap()
77 this.keyType = keyType; in EnumHashBiMap()
91 public Class<K> keyType() { in keyType() method in EnumHashBiMap
92 return keyType; in keyType()
102 stream.writeObject(keyType); in writeObject()
[all …]
DEnumBiMap.java41 private transient Class<K> keyType; field in EnumBiMap
52 create(Class<K> keyType, Class<V> valueType) { in create() argument
53 return new EnumBiMap<K, V>(keyType, valueType); in create()
73 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
74 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
76 this.keyType = keyType; in EnumBiMap()
82 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
85 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
100 public Class<K> keyType() { in keyType() method in EnumBiMap
101 return keyType; in keyType()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumHashBiMap.java38 private transient Class<K> keyType; field in EnumHashBiMap
46 create(Class<K> keyType) { in create() argument
47 return new EnumHashBiMap<K, V>(keyType); in create()
67 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
69 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
71 keyType.getEnumConstants().length)); in EnumHashBiMap()
72 this.keyType = keyType; in EnumHashBiMap()
86 public Class<K> keyType() { in keyType() method in EnumHashBiMap
87 return keyType; in keyType()
DEnumBiMap.java37 private transient Class<K> keyType; field in EnumBiMap
48 create(Class<K> keyType, Class<V> valueType) { in create() argument
49 return new EnumBiMap<K, V>(keyType, valueType); in create()
69 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
70 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
72 this.keyType = keyType; in EnumBiMap()
78 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
81 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
96 public Class<K> keyType() { in keyType() method in EnumBiMap
97 return keyType; in keyType()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DKeyManagerImplTest.java39 String[] keyType = {"RSA", "DSA"}; in testKeyManagerImpl1() local
40 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl1()
43 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); in testKeyManagerImpl1()
66 String[] keyType = { "RSA", "DSA" }; in testKeyManagerImpl2() local
67 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl2()
70 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); in testKeyManagerImpl2()
/external/webkit/Source/WebCore/platform/win/
DMIMETypeRegistryWin.cpp42 DWORD keyType; in mimeTypeForExtension() local
44 …KEY_CLASSES_ROOT, ext.charactersWithNullTermination(), L"Content Type", &keyType, (LPVOID)contentT… in mimeTypeForExtension()
46 if (result == ERROR_SUCCESS && keyType == REG_SZ) in mimeTypeForExtension()
57 DWORD keyType; in getPreferredExtensionForMIMEType() local
59 …(HKEY_CLASSES_ROOT, path.charactersWithNullTermination(), L"Extension", &keyType, (LPVOID)extStr, … in getPreferredExtensionForMIMEType()
61 if (result == ERROR_SUCCESS && keyType == REG_SZ) in getPreferredExtensionForMIMEType()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DX509ExtendedKeyManagerTest.java58 public String chooseClientAlias(String[] keyType, Principal[] issuers, in chooseClientAlias() argument
67 public String chooseServerAlias(String keyType, Principal[] issuers, in chooseServerAlias() argument
83 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
91 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
/external/webkit/Tools/WebKitTestRunner/win/
DTestControllerWin.cpp71 DWORD keyType; in addQTDirToPATH() local
72 …HRESULT result = ::SHGetValueW(HKEY_LOCAL_MACHINE, quickTimeKeyName, quickTimeSysDir, &keyType, (L… in addQTDirToPATH()
73 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) { in addQTDirToPATH()
75 …result = ::SHGetValueW(HKEY_CURRENT_USER, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtP… in addQTDirToPATH()
76 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) in addQTDirToPATH()
/external/icu4c/i18n/
Dplurrule.cpp1338 RuleParser::getKeyType(const UnicodeString& token, tokenType& keyType, UErrorCode &status) in getKeyType() argument
1343 if ( keyType==tNumber) { in getKeyType()
1346 keyType = tVariableN; in getKeyType()
1349 keyType = tIs; in getKeyType()
1352 keyType = tAnd; in getKeyType()
1355 keyType = tIn; in getKeyType()
1358 keyType = tWithin; in getKeyType()
1361 keyType = tNot; in getKeyType()
1364 keyType = tMod; in getKeyType()
1367 keyType = tOr; in getKeyType()
[all …]
/external/webkit/Source/WebKit/chromium/tests/
DKeyboardTest.cpp55 PlatformKeyboardEvent::Type keyType) in interpretKeyEvent() argument
59 evt.setKeyType(keyType); in interpretKeyEvent()
/external/webrtc/src/system_wrappers/interface/
Dsort.h61 WebRtc_UWord32 sizeOfElement, Type keyType);
/external/webkit/Source/WebKit/win/
DWebURLResponse.cpp439 DWORD keyType = REG_SZ; in suggestedFileExtension() local
442 … err = RegQueryValueEx(subKey, TEXT("Extension"), 0, &keyType, (LPBYTE)extension, &keySize); in suggestedFileExtension()
443 if (!err && keyType != REG_SZ) in suggestedFileExtension()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DKnownHosts.java805 static private byte[] rawFingerPrint(String type, String keyType, byte[] hostkey) in rawFingerPrint() argument
822 if ("ssh-rsa".equals(keyType)) in rawFingerPrint()
825 else if ("ssh-dss".equals(keyType)) in rawFingerPrint()
830 throw new IllegalArgumentException("Unknown key type " + keyType); in rawFingerPrint()
/external/webrtc/src/system_wrappers/source/
Dsort.cc423 WebRtc_UWord32 sizeOfElement, Type keyType) in KeySort() argument
447 switch (keyType) in KeySort()
516 switch (keyType) in KeySort()
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp695 DWORD keyType; in resolveCygwinPath() local
696 …XT("SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/"), TEXT("native"), &keyType, &rootPath, &root… in resolveCygwinPath()
698 if (result != ERROR_SUCCESS || keyType != REG_SZ) { in resolveCygwinPath()
702 …W(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Cygwin\\setup"), TEXT("rootdir"), &keyType, &rootPath, &root… in resolveCygwinPath()
703 if (result != ERROR_SUCCESS || keyType != REG_SZ) in resolveCygwinPath()
DDumpRenderTree.cpp284 DWORD keyType; in addQTDirToPATH() local
285 …HRESULT result = SHGetValue(HKEY_LOCAL_MACHINE, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVO… in addQTDirToPATH()
286 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) { in addQTDirToPATH()
288 …result = SHGetValue(HKEY_CURRENT_USER, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtPath… in addQTDirToPATH()
289 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) in addQTDirToPATH()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJDKKeyStore.java409 int keyType = dIn.read(); in decodeKey() local
436 switch (keyType) in decodeKey()
445 throw new IOException("Key type " + keyType + " not recognised!"); in decodeKey()
/external/chromium/crypto/
Drsa_private_key_nss.cc118 if (result->public_key_->keyType != rsaKey) { in FindFromPublicKeyInfo()
/external/guava/guava-tests/test/com/google/common/collect/
DEnumHashBiMapTest.java128 assertEquals(Currency.class, bimap.keyType()); in testKeyType()
DEnumBiMapTest.java106 assertEquals(Currency.class, bimap.keyType()); in testKeyType()
/external/webkit/LayoutTests/fast/js/resources/
DJSON-parse.js369 o.keyType = typeof key;
/external/chromium/net/base/
Dx509_certificate_nss.cc702 SECOidTag algo_id = SEC_GetSignatureAlgorithmOidTag(key->key()->keyType, in CreateSelfSigned()