Home
last modified time | relevance | path

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

12

/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/smack/src/org/jivesoftware/smack/util/collections/
DReferenceMap.java91 public ReferenceMap(int keyType, int valueType) { in ReferenceMap() argument
92 super(keyType, valueType, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, false); in ReferenceMap()
106 public ReferenceMap(int keyType, int valueType, boolean purgeValues) { in ReferenceMap() argument
107 super(keyType, valueType, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, purgeValues); in ReferenceMap()
122 public ReferenceMap(int keyType, int valueType, int capacity, float loadFactor) { in ReferenceMap() argument
123 super(keyType, valueType, capacity, loadFactor, false); in ReferenceMap()
140 …public ReferenceMap(int keyType, int valueType, int capacity, float loadFactor, boolean purgeValue… in ReferenceMap() argument
141 super(keyType, valueType, capacity, loadFactor, purgeValues); in ReferenceMap()
DAbstractReferenceMap.java101 protected int keyType; field in AbstractReferenceMap
142 …protected AbstractReferenceMap(int keyType, int valueType, int capacity, float loadFactor, boolean… in AbstractReferenceMap() argument
144 verify("keyType", keyType); in AbstractReferenceMap()
146 this.keyType = keyType; in AbstractReferenceMap()
585 if (parent.keyType != HARD) { in ReferenceEntry()
586 refKey = toReference(parent.keyType, key, hashCode); in ReferenceEntry()
604 return (parent.keyType > HARD) ? refKey.get() : super.getKey(); in getKey()
701 boolean r = (parent.keyType > HARD) && (refKey == ref); in purge()
704 if (parent.keyType > HARD) { in purge()
975 out.writeInt(keyType); in doWriteObject()
[all …]
/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/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/chromium_org/net/third_party/nss/ssl/
Dsslplatf.c205 PRBool isTLS, KeyType keyType) in ssl3_CngPlatformSignHashes() argument
227 switch (keyType) { in ssl3_CngPlatformSignHashes()
257 if (keyType == ecKey) { in ssl3_CngPlatformSignHashes()
329 PRBool isTLS, KeyType keyType) in ssl3_CAPIPlatformSignHashes() argument
364 switch (keyType) { in ssl3_CAPIPlatformSignHashes()
374 if (keyType == ecKey) { in ssl3_CAPIPlatformSignHashes()
461 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
464 return ssl3_CngPlatformSignHashes(hash, key, buf, isTLS, keyType); in ssl3_PlatformSignHashes()
466 return ssl3_CAPIPlatformSignHashes(hash, key, buf, isTLS, keyType); in ssl3_PlatformSignHashes()
555 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/login/
Dscreen_context.js17 var keyType = typeof key;
18 require(keyType === 'string', 'Invalid type of key: "' + keyType + '".');
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLKeygenElement.cpp83 const AtomicString& keyType = fastGetAttribute(keytypeAttr); in appendFormData() local
84 if (!keyType.isNull() && !equalIgnoringCase(keyType, "rsa")) in appendFormData()
/external/chromium_org/content/child/indexed_db/
Dindexed_db_key_builders.cc25 if (other.keyType() == WebIDBKeyTypeArray) { in CopyKeyArray()
45 switch (key.keyType()) { in Build()
59 return IndexedDBKey(key.keyType()); in Build()
Dwebidbcursor_impl.cc67 if (key.keyType() == blink::WebIDBKeyTypeNull && in continueFunction()
68 primary_key.keyType() == blink::WebIDBKeyTypeNull) { in continueFunction()
/external/chromium_org/third_party/icu/source/i18n/
Dplurrule.cpp1092 RuleParser::getKeyType(const UnicodeString& token, tokenType& keyType, UErrorCode &status) in getKeyType() argument
1097 if ( keyType==tNumber) { in getKeyType()
1100 keyType = tVariableN; in getKeyType()
1103 keyType = tIs; in getKeyType()
1106 keyType = tAnd; in getKeyType()
1109 keyType = tIn; in getKeyType()
1112 keyType = tWithin; in getKeyType()
1115 keyType = tNot; in getKeyType()
1118 keyType = tMod; in getKeyType()
1121 keyType = tOr; in getKeyType()
[all …]
/external/icu4c/i18n/
Dplurrule.cpp1347 RuleParser::getKeyType(const UnicodeString& token, tokenType& keyType, UErrorCode &status) in getKeyType() argument
1352 if ( keyType==tNumber) { in getKeyType()
1355 keyType = tVariableN; in getKeyType()
1358 keyType = tIs; in getKeyType()
1361 keyType = tAnd; in getKeyType()
1364 keyType = tIn; in getKeyType()
1367 keyType = tWithin; in getKeyType()
1370 keyType = tNot; in getKeyType()
1373 keyType = tMod; in getKeyType()
1376 keyType = tOr; in getKeyType()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DKeyboardTest.cpp55 PlatformEvent::Type keyType) in interpretKeyEvent() argument
58 evt.setKeyType(keyType); in interpretKeyEvent()
/external/chromium_org/net/third_party/nss/patches/
Dtls12backuphash2.patch31 + rv = ssl3_TLSSignatureAlgorithmForKeyType(pubk->keyType, sigAlg);
56 if (pubk->keyType == rsaKey || pubk->keyType == dsaKey) {
Dclientauth.patch18 - keyType = ss->ssl3.clientPrivateKey->keyType;
25 + keyType = CERT_GetCertKeyType(
28 + &hashes, ss->ssl3.platformClientKey, &buf, isTLS, keyType);
33 + keyType = ss->ssl3.clientPrivateKey->keyType;
386 + PRBool isTLS, KeyType keyType);
/external/webrtc/src/system_wrappers/interface/
Dsort.h61 WebRtc_UWord32 sizeOfElement, Type keyType);
/external/chromium_org/third_party/WebKit/Source/web/
DWebIDBKey.cpp96 switch (array[i].keyType()) { in convertFromWebIDBKeyArray()
198 WebIDBKeyType WebIDBKey::keyType() const in keyType() function in blink::WebIDBKey
/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/chromium_org/net/quic/crypto/
Dp256_key_exchange_nss.cc79 if (public_key->keyType != ecKey || in New()
172 peer_public_key.keyType = ecKey; in CalculateSharedKey()
Dchannel_id_nss.cc40 public_key.keyType = ecKey; in VerifyRaw()
/external/webrtc/src/system_wrappers/source/
Dsort.cc421 WebRtc_UWord32 sizeOfElement, Type keyType) in KeySort() argument
445 switch (keyType) in KeySort()
514 switch (keyType) in KeySort()
/external/chromium_org/third_party/WebKit/public/platform/
DWebIDBKey.h71 BLINK_EXPORT WebIDBKeyType keyType() const;

12