/libcore/support/src/test/java/libcore/javax/net/ssl/ |
ForwardingX509ExtendedKeyManager.java | 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 39 return delegate.chooseClientAlias(keyType, issuers, socket); 43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 44 return delegate.chooseServerAlias(keyType, issuers, socket); 53 public String[] getClientAliases(String keyType, Principal[] issuers) { 54 return delegate.getClientAliases(keyType, issuers); 58 public String[] getServerAliases(String keyType, Principal[] issuers) { 59 return delegate.getServerAliases(keyType, issuers); 63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { 64 return delegate.chooseEngineClientAlias(keyType, issuers, engine) [all...] |
TestKeyManager.java | 66 for (String keyType : keyTypes) { 67 out.print(keyType); 77 for (String keyType : keyTypes) { 78 assertKeyType(keyType); 82 private void assertKeyType(String keyType) { 83 if (!StandardNames.KEY_TYPES.contains(keyType)) { 84 throw new AssertionError("Unexpected key type " + keyType); 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 90 out.print(" | keyType: "); 91 out.print(keyType); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 161 for (String keyType : keyTypes) { 162 String[] aliases = km.getClientAliases(keyType, null); 163 if (empty || keyType == null || keyType.isEmpty()) { 164 assertNull(keyType, aliases); 167 assertNotNull(keyType, aliases); 169 test_X509KeyManager_alias(km, alias, keyType, false, empty); 172 for (String keyType : keyTypes) { 173 String[] aliases = km.getServerAliases(keyType, null); 174 if (empty || keyType == null || keyType.isEmpty()) [all...] |
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
screen_context.h | 37 typedef std::string KeyType; 43 bool SetBoolean(const KeyType& key, bool value); 44 bool SetInteger(const KeyType& key, int value); 45 bool SetDouble(const KeyType& key, double value); 46 bool SetString(const KeyType& key, const std::string& value); 47 bool SetString(const KeyType& key, const base::string16& value); 49 bool GetBoolean(const KeyType& key); 50 bool GetBoolean(const KeyType& key, bool default_value); 51 int GetInteger(const KeyType& key); 52 int GetInteger(const KeyType& key, int default_value) [all...] |
screen_context.cc | 18 bool ScreenContext::SetBoolean(const KeyType& key, bool value) { 22 bool ScreenContext::SetInteger(const KeyType& key, int value) { 26 bool ScreenContext::SetDouble(const KeyType& key, double value) { 30 bool ScreenContext::SetString(const KeyType& key, const std::string& value) { 34 bool ScreenContext::SetString(const KeyType& key, const base::string16& value) { 38 bool ScreenContext::GetBoolean(const KeyType& key) { 42 bool ScreenContext::GetBoolean(const KeyType& key, bool default_value) { 46 int ScreenContext::GetInteger(const KeyType& key) { 50 int ScreenContext::GetInteger(const KeyType& key, int default_value) { 54 double ScreenContext::GetDouble(const KeyType& key) [all...] |
/external/openfst/src/include/fst/ |
generic-register.h | 27 // objects of KeyType and EntryType. 28 // KeyType must: 40 template<class KeyType, class EntryType, class RegisterType> 43 typedef KeyType Key; 53 void SetEntry(const KeyType &key, 60 EntryType GetEntry(const KeyType &key) const { 74 virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const { 96 virtual string ConvertKeyToSoFilename(const KeyType& key) const = 0; 99 const KeyType &key) const { 112 typedef map<KeyType, EntryType> RegisterMapType [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
HashIterators.h | 31 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator; 32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator; 33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator; 34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator; 36 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<HashTableType, KeyValuePair<KeyType, MappedType> > { 38 typedef KeyValuePair<KeyType, MappedType> ValueType; 40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys; 41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values; 59 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, KeyValuePair<KeyType, MappedT (…) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
EnumHashBiMap.java | 43 private transient Class<K> keyType; 48 * @param keyType the key type 51 create(Class<K> keyType) { 52 return new EnumHashBiMap<K, V>(keyType); 72 private EnumHashBiMap(Class<K> keyType) { 74 new EnumMap<K, V>(keyType)), 76 keyType.getEnumConstants().length)); 77 this.keyType = keyType; 91 public Class<K> keyType() { [all...] |
EnumBiMap.java | 41 private transient Class<K> keyType; 48 * @param keyType the key type 52 create(Class<K> keyType, Class<V> valueType) { 53 return new EnumBiMap<K, V>(keyType, valueType); 73 private EnumBiMap(Class<K> keyType, Class<V> valueType) { 74 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 76 this.keyType = keyType; 82 return ((EnumBiMap<K, ?>) map).keyType(); 85 return ((EnumHashBiMap<K, ?>) map).keyType(); [all...] |
/external/clang/test/SemaCXX/ |
PR11358.cpp | 29 template <typename KeyType, typename ValueType> 30 void MapTest(hash_map<KeyType, ValueType> map) { 31 for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'typename'}}
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EnumBiMap.java | 37 private transient Class<K> keyType; 44 * @param keyType the key type 48 create(Class<K> keyType, Class<V> valueType) { 49 return new EnumBiMap<K, V>(keyType, valueType); 69 private EnumBiMap(Class<K> keyType, Class<V> valueType) { 70 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 72 this.keyType = keyType; 78 return ((EnumBiMap<K, ?>) map).keyType(); 81 return ((EnumHashBiMap<K, ?>) map).keyType(); [all...] |
EnumHashBiMap.java | 38 private transient Class<K> keyType; 43 * @param keyType the key type 46 create(Class<K> keyType) { 47 return new EnumHashBiMap<K, V>(keyType); 67 private EnumHashBiMap(Class<K> keyType) { 69 new EnumMap<K, V>(keyType)), 71 keyType.getEnumConstants().length)); 72 this.keyType = keyType; 86 public Class<K> keyType() { [all...] |
/external/webrtc/src/system_wrappers/test/TestSort/ |
TestSort.cpp | 23 template<typename KeyType> 26 KeyType key; 47 template<typename DataType, typename KeyType> 50 KeyType keyX = ((const DataType*)dataX)->key; 51 KeyType keyY = ((const DataType*)dataY)->key; 126 template<typename KeyType> 131 KeyType key[DataLength]; 132 KeyType keyRef[DataLength]; 133 LotsOfData<KeyType> data[DataLength]; 134 LotsOfData<KeyType> dataRef[DataLength] [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashEntry.tcc | 12 template <typename KeyType, typename ValueType, typename KeyCompare> 13 HashEntry<KeyType, ValueType, KeyCompare>::HashEntry(const KeyType& pKey) 17 template <typename KeyType, typename ValueType, typename KeyCompare> 18 HashEntry<KeyType, ValueType, KeyCompare>::~HashEntry() 22 template <typename KeyType, typename ValueType, typename KeyCompare> 23 bool HashEntry<KeyType, ValueType, KeyCompare>::compare(const KeyType& pKey)
|
HashEntry.h | 35 template <typename KeyType, typename ValueType, typename KeyCompare> 39 typedef KeyType key_type; 44 typedef HashEntry<KeyType, ValueType, KeyCompare> Self; 48 HashEntry(const KeyType& pKey); 52 KeyType& key() 55 const KeyType& key() const 70 KeyType m_Key;
|
/external/chromium_org/third_party/smhasher/src/ |
DifferentialTest.h | 21 template < class keytype > 22 bool ProcessDifferentials ( std::vector<keytype> & diffs, int reps, bool dumpCollisions ) 33 keytype kp = diffs[0]; 103 template < typename keytype, typename hashtype > 104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int start, int bitsleft, std::vector<keytype> & diffs ) 106 const int bits = sizeof(keytype)*8; 132 template < typename keytype, typename hashtype > 135 const int keybits = sizeof(keytype) * 8 [all...] |
/external/webrtc/src/system_wrappers/source/ |
sort.cc | 91 template<typename KeyType> 94 KeyType key; 202 template <typename KeyType> 205 bool operator()(const SortKey<KeyType>& sortKeyX, 206 const SortKey<KeyType>& sortKeyY) const 212 template <typename KeyType> 215 KeyType operator()(const SortKey<KeyType>& sortKey, 244 template<typename KeyType> 246 SortKey<KeyType>*& ptrSortKey [all...] |
/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_change.h | 17 // For classic Autofill form fields, the KeyType is AutofillKey. 19 template <typename KeyType> 31 const KeyType& key() const { return key_; } 34 GenericAutofillChange(Type type, const KeyType& key) 39 KeyType key_;
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLServerSocketImpl.java | 203 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType(); 204 if (keyType == null) { 208 if (keyType.equals(CipherSuite.KEY_TYPE_RSA) 209 || keyType.equals(CipherSuite.KEY_TYPE_DH_RSA)) { 210 if (checkForPrivateKey(keyType, RSAPrivateKey.class)) { 215 if (keyType.equals(CipherSuite.KEY_TYPE_DSA) 216 || keyType.equals(CipherSuite.KEY_TYPE_DH_DSA)) { 217 if (checkForPrivateKey(keyType, DSAPrivateKey.class)) { 222 if (keyType.equals(CipherSuite.KEY_TYPE_EC) 223 || keyType.equals(CipherSuite.KEY_TYPE_EC_RSA [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImplTest.java | 39 String[] keyType = {"RSA", "DSA"}; 40 String al = km.chooseClientAlias(keyType, null, new Socket()); 43 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); 66 String[] keyType = { "RSA", "DSA" }; 67 String al = km.chooseClientAlias(keyType, null, new Socket()); 70 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null));
|
/frameworks/compile/mclinker/include/mcld/Support/ |
UniqueGCFactory.h | 26 template<typename KeyType, typename DataType, size_t ChunkSize> 31 typedef std::map<KeyType, DataType*> KeyMap; 46 DataType* find(const KeyType& pKey) { 53 const DataType* find(const KeyType& pKey) const { 60 DataType* produce(const KeyType& pKey, bool& pExist) { 73 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) {
|
/external/dropbear/ |
dropbearkey.c | 61 static void printpubkey(sign_key * key, int keytype); 97 int keytype = -1; local 168 keytype = DROPBEAR_SIGNKEY_RSA; 174 keytype = DROPBEAR_SIGNKEY_DSS; 179 if (keytype == -1) { 199 if (keytype == DROPBEAR_SIGNKEY_DSS) { 201 } else if (keytype == DROPBEAR_SIGNKEY_RSA) { 219 switch(keytype) { 237 buf_put_priv_key(buf, key, keytype); 244 printpubkey(key, keytype); 256 int keytype; local [all...] |
/libcore/crypto/src/test/java/org/conscrypt/ |
CipherSuiteTest.java | 98 String keyType = cs.getServerKeyType(); 99 assertEquals(name, cs.isAnonymous(), keyType == null); 100 assertTrue(name, keyType == null || StandardNames.KEY_TYPES.contains(keyType)); 137 String keyType = CipherSuite.getClientKeyType(b); 140 assertEquals(byteString, "RSA", keyType); 143 assertEquals(byteString, "DSA", keyType); 146 assertEquals(byteString, "DH_RSA", keyType); 149 assertEquals(byteString, "DH_DSA", keyType); 152 assertEquals(byteString, "EC", keyType); [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 34 * @param keyType 45 public String chooseClientAlias(String[] keyType, Principal[] issuers, 52 * @param keyType 63 public String chooseServerAlias(String keyType, Principal[] issuers, 80 * @param keyType 88 public String[] getClientAliases(String keyType, Principal[] issuers); 94 * @param keyType 102 public String[] getServerAliases(String keyType, Principal[] issuers);
|
/external/chromium_org/base/containers/ |
mru_cache.h | 34 template <class KeyType, class ValueType> 36 typedef std::map<KeyType, ValueType> Type; 42 template <class KeyType, class PayloadType, class DeletorType, 48 typedef std::pair<KeyType, PayloadType> value_type; 52 typedef typename MapType<KeyType, 90 iterator Put(const KeyType& key, const PayloadType& payload) { 113 iterator Get(const KeyType& key) { 126 iterator Peek(const KeyType& key) { 133 const_iterator Peek(const KeyType& key) const { 222 template <class KeyType, class PayloadType [all...] |