/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...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
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...] |
/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/webkit/Source/JavaScriptCore/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, std::pair<KeyType, MappedType> > { 38 typedef std::pair<KeyType, MappedType> ValueType; 40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys; 41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values; 58 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType (…) [all...] |
HashMap.h | 40 typedef typename KeyTraits::TraitType KeyType; 47 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>, 66 iterator find(const KeyType&); 67 const_iterator find(const KeyType&) const; 68 bool contains(const KeyType&) const; 69 MappedType get(const KeyType&) const; 74 pair<iterator, bool> set(const KeyType&, const MappedType&); 79 pair<iterator, bool> add(const KeyType&, const MappedType&); 81 void remove(const KeyType&); 85 MappedType take(const KeyType&); // efficient combination of get with remov [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/webkit/Source/WebKit/win/ |
COMPropertyBag.h | 38 template<typename ValueType, typename KeyType = typename WTF::String, typename HashType = typename WTF::StringHash> 42 typedef HashMap<KeyType, ValueType, HashType> HashMapType; 82 template<typename ValueType, typename KeyType, typename HashType> 83 COMPropertyBag<ValueType, KeyType, HashType>* COMPropertyBag<typename ValueType, typename KeyType, HashType>::createInstance(const HashMapType& hashMap) 90 template<typename ValueType, typename KeyType, typename HashType> 91 COMPropertyBag<ValueType, KeyType, HashType>* COMPropertyBag<typename ValueType, typename KeyType, HashType>::adopt(HashMapType& hashMap) 100 template<typename ValueType, typename KeyType, typename HashType> 101 HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, KeyType, HashType>::QueryInterface(REFIID riid, void** ppvObject [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8DOMMap.h | 45 template <class KeyType, class ValueType> class AbstractWeakReferenceMap { 54 virtual void visitDOMWrapper(DOMDataStore* store, KeyType* key, v8::Persistent<ValueType> object) = 0; 59 virtual v8::Persistent<ValueType> get(KeyType* obj) = 0; 60 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) = 0; 61 virtual bool contains(KeyType* obj) = 0; 63 virtual bool removeIfPresent(KeyType*, v8::Persistent<ValueType>) = 0; 76 template<class KeyType, class ValueType> class WeakReferenceMap : public AbstractWeakReferenceMap<KeyType, ValueType> { 78 typedef AbstractWeakReferenceMap<KeyType, ValueType> Parent; 83 virtual v8::Persistent<ValueType> get(KeyType* obj [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/webkit/Source/JavaScriptCore/runtime/ |
WeakGCMap.h | 37 template <typename KeyType, typename MappedType> struct DefaultWeakGCMapFinalizerCallback { 38 static void* finalizerContextFor(KeyType key) 43 static KeyType keyForFinalizer(void* context, typename HandleTypes<MappedType>::ExternalType) 45 return reinterpret_cast<KeyType>(context); 49 template<typename KeyType, typename MappedType, typename FinalizerCallback = DefaultWeakGCMapFinalizerCallback<KeyType, MappedType>, typename HashArg = typename DefaultHash<KeyType>::Hash, typename KeyTraitsArg = HashTraits<KeyType> > 54 typedef HashMap<KeyType, HandleSlot, HashArg, KeyTraitsArg> MapType; 67 std::pair<KeyType, ExternalType> get() const { return std::make_pair(m_iterator->first, HandleTypes<MappedType>::get (…) [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/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...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 99 String keyType = cs.getServerKeyType(); 100 assertEquals(name, cs.isAnonymous(), keyType == null); 101 assertTrue(name, keyType == null || StandardNames.KEY_TYPES.contains(keyType)); 138 String keyType = CipherSuite.getClientKeyType(b); 141 assertEquals(byteString, "RSA", keyType); 144 assertEquals(byteString, "DSA", keyType); 147 assertEquals(byteString, "DH_RSA", keyType); 150 assertEquals(byteString, "DH_DSA", keyType); 153 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/chrome/browser/webdata/ |
autofill_change.h | 14 // For classic Autofill form fields, the KeyType is AutofillKey. 16 template <typename KeyType> 28 const KeyType& key() const { return key_; } 31 GenericAutofillChange(Type type, const KeyType& key) 36 KeyType key_;
|
/external/chromium/base/ |
id_map.h | 37 typedef int32 KeyType; 38 typedef base::hash_map<KeyType, T*> HashTable; 59 KeyType Add(T* data) { 62 KeyType this_id = next_id_; 73 void AddWithID(T* data, KeyType id) { 80 void Remove(KeyType id) { 101 T* Lookup(KeyType id) const { 138 KeyType GetCurrentKey() const { 192 for (std::set<KeyType>::const_iterator i = removed_ids_.begin(); 206 std::set<KeyType> removed_ids_ [all...] |