Home
last modified time | relevance | path

Searched full:keytype (Results 1 – 25 of 139) sorted by relevance

123456

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DZHash.java26 public class ZHash<KeyType, ValueType> implements ZIndexable<KeyType> {
28 private HashMap<KeyType, ValueType> hash;
29 //private LinkedList<KeyType> zlist;
30 //private ListOrganizer<KeyType> listOrganizer;
31 private ZLinkedList<KeyType> zlist;
34 hash = new HashMap<KeyType, ValueType>();
35 zlist = new ZLinkedList<KeyType>();
36 //listOrganizer = new ListOrganizer<KeyType>(zlist);
44 public ValueType get(KeyType key) { in get()
48 public List<KeyType> getKeysAsList() { in getKeysAsList()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Dsort.cc80 template<typename KeyType>
82 KeyType key_;
170 template <typename KeyType>
172 bool operator()(const SortKey<KeyType>& sort_key_x,
173 const SortKey<KeyType>& sort_key_y) const {
178 template <typename KeyType>
180 KeyType operator()(const SortKey<KeyType>& sort_key,
205 template<typename KeyType>
207 SortKey<KeyType>*& ptr_sort_key,
209 ptr_sort_key = new(std::nothrow) SortKey<KeyType>[num_of_elements];
[all …]
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DRealElement.java33 private final String keyType; field in RealElement
35 RealElement(String setName, Element.Type type, String keyType) { in RealElement() argument
36 this(setName, type, keyType, nextUniqueId.incrementAndGet()); in RealElement()
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { in RealElement() argument
43 this.keyType = keyType; in RealElement()
58 @Override public String keyType() { in keyType() method in RealElement
59 return keyType; in keyType()
68 + ",uniqueId=" + uniqueId + ", type=" + type + ", keyType=" + keyType + ")"; in toString()
76 && ((Element) o).keyType().equals(keyType()); in equals()
83 + ((127 * "keyType".hashCode()) ^ keyType.hashCode()); in hashCode()
DMapBinder.java140 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
144 TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapBinder() argument
146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)), in newMapBinder()
147 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType))); in newMapBinder()
151 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
155 Class<K> keyType, Class<V> valueType) { in newMapBinder() argument
156 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder()
160 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
164 TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newMapBinder() argument
166 return newRealMapBinder(binder, keyType, valueType, in newMapBinder()
[all …]
/external/guava/guava/src/com/google/common/collect/
DEnumHashBiMap.java49 private transient Class<K> keyType; field in EnumHashBiMap
54 * @param keyType the key type
57 create(Class<K> keyType) { in create() argument
58 return new EnumHashBiMap<K, V>(keyType); in create()
78 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
80 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
82 keyType.getEnumConstants().length)); in EnumHashBiMap()
83 this.keyType = keyType; in EnumHashBiMap()
102 public Class<K> keyType() { in keyType() method in EnumHashBiMap
103 return keyType; in keyType()
[all …]
DEnumBiMap.java46 private transient Class<K> keyType; field in EnumBiMap
53 * @param keyType the key type
57 create(Class<K> keyType, Class<V> valueType) { in create() argument
58 return new EnumBiMap<K, V>(keyType, valueType); in create()
78 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
79 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
81 this.keyType = keyType; in EnumBiMap()
87 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
90 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
105 public Class<K> keyType() { in keyType() method in EnumBiMap
[all …]
/external/webrtc/webrtc/system_wrappers/test/TestSort/
DTestSort.cc24 template<typename KeyType>
27 KeyType key;
48 template<typename DataType, typename KeyType>
51 KeyType keyX = ((const DataType*)dataX)->key; in CompareKey()
52 KeyType keyY = ((const DataType*)dataY)->key; in CompareKey()
127 template<typename KeyType>
132 KeyType key[DataLength]; in RunSortTest()
133 KeyType keyRef[DataLength]; in RunSortTest()
134 LotsOfData<KeyType> data[DataLength]; in RunSortTest()
135 LotsOfData<KeyType> dataRef[DataLength]; in RunSortTest()
[all …]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java102 * @param keyType the TypeLiteral of the key of the map
110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType, in assertMapVisitor() argument
118 mapInjectorTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, in assertMapVisitor()
123 mapModuleTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, in assertMapVisitor()
129 private static <T> void mapInjectorTest(Key<T> mapKey, TypeLiteral<?> keyType, in mapInjectorTest() argument
137 assertEquals(keyType, mapbinder.getKeyTypeLiteral()); in mapInjectorTest()
168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in mapInjectorTest()
170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)); in mapInjectorTest()
171 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType))); in mapInjectorTest()
[all …]
/external/libchrome/base/containers/
Dmru_cache.h37 template <class KeyType, class ValueType>
39 typedef std::map<KeyType, ValueType> Type;
45 template <class KeyType, class PayloadType, class DeletorType,
51 typedef std::pair<KeyType, PayloadType> value_type;
55 typedef typename MapType<KeyType,
93 iterator Put(const KeyType& key, const PayloadType& payload) { in Put()
116 iterator Get(const KeyType& key) { in Get()
129 iterator Peek(const KeyType& key) { in Peek()
136 const_iterator Peek(const KeyType& key) const { in Peek()
232 template <class KeyType, class PayloadType>
[all …]
/external/deqp/framework/delibs/depool/
DdePoolHashSet.h39 * \param KEYTYPE Type of the key.
57 #define DE_DECLARE_POOL_HASH_SET(TYPENAME, KEYTYPE, VALUETYPE) \ argument
60 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, TYPENAME##Set*); \
69 DE_INLINE deBool TYPENAME##_insert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNUSED…
70 DE_INLINE deBool TYPENAME##_safeInsert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNU…
71 DE_INLINE TYPENAME##Set* TYPENAME##_find (const TYPENAME* hashSet, KEYTYPE key) DE_UNUSED_FU…
72 DE_INLINE void TYPENAME##_delete (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNUSED_…
73 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_U…
94 DE_INLINE deBool TYPENAME##_insert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) \
111 DE_INLINE deBool TYPENAME##_safeInsert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) \
[all …]
DdePoolMultiSet.h40 * \param KEYTYPE Type of the key.
61 #define DE_DECLARE_POOL_MULTISET(TYPENAME, KEYTYPE) \ argument
63 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, int); \
74 deBool TYPENAME##_setKeyCount (TYPENAME* set, KEYTYPE key, int newCount); \
81 DE_INLINE int TYPENAME##_getKeyCount (const TYPENAME* set, KEYTYPE key) \
89 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* set, KEYTYPE key) \
94 DE_INLINE deBool TYPENAME##_insert (TYPENAME* set, KEYTYPE key) \
100 DE_INLINE void TYPENAME##_delete (TYPENAME* set, KEYTYPE key) \
112 * \param KEYTYPE Type of the key.
118 * into multiple functions. The TYPENAME and KEYTYPE parameters
[all …]
DdePoolSet.h47 * \param KEYTYPE Type of the key.
66 #define DE_DECLARE_POOL_SET(TYPENAME, KEYTYPE) \ argument
74 KEYTYPE keys[DE_SET_ELEMENTS_PER_SLOT]; \
98 deBool TYPENAME##_exists (const TYPENAME* set, KEYTYPE key); \
99 deBool TYPENAME##_insert (TYPENAME* set, KEYTYPE key); \
100 void TYPENAME##_delete (TYPENAME* set, KEYTYPE key); \
106 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
107 DE_INLINE deBool TYPENAME##_safeInsert (TYPENAME* set, KEYTYPE key) DE_UNUSED_FUNCTION; \
108 DE_INLINE void TYPENAME##_safeDelete (TYPENAME* set, KEYTYPE key) DE_UNUSED_FUNCTION; \
172 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) \
[all …]
DdePoolHashArray.h39 * \param KEYTYPE Type of the key.
59 #define DE_DECLARE_POOL_HASH_ARRAY(TYPENAME, KEYTYPE, VALUETYPE, KEYARRAYTYPE, VALUEARRAYTYPE) \ argument
62 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, int); \
71 deBool TYPENAME##_insert (TYPENAME* hashArray, KEYTYPE key, VALUETYPE value); \
75 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) DE_UNUSED_FUNCTION…
83 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) \
111 * \param KEYTYPE Type of the key.
120 * into multiple functions. The TYPENAME, KEYTYPE, and VALUETYPE parameters
123 #define DE_IMPLEMENT_POOL_HASH_ARRAY(TYPENAME, KEYTYPE, VALUETYPE, KEYARRAYTYPE, VALUEARRAYTYPE, KE… argument
125 DE_IMPLEMENT_POOL_HASH(TYPENAME##Hash, KEYTYPE, int, KEYHASHFUNC, KEYCMPFUNC); \
[all …]
DdePoolHash.h47 * \param KEYTYPE Type of the key.
67 #define DE_DECLARE_POOL_HASH(TYPENAME, KEYTYPE, VALUETYPE) \ argument
75 KEYTYPE keys[DE_HASH_ELEMENTS_PER_SLOT]; \
100 VALUETYPE* TYPENAME##_find (const TYPENAME* hash, KEYTYPE key); \
101 deBool TYPENAME##_insert (TYPENAME* hash, KEYTYPE key, VALUETYPE value); \
102 void TYPENAME##_delete (TYPENAME* hash, KEYTYPE key); \
108 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
173 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) \
190 * \param KEYTYPE Type of the key.
197 * into multiple functions. The TYPENAME, KEYTYPE, and VALUETYPE parameters
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java42 private transient Class<K> keyType; field in EnumBiMap
49 * @param keyType the key type
53 create(Class<K> keyType, Class<V> valueType) { in create() argument
54 return new EnumBiMap<K, V>(keyType, valueType); in create()
74 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
75 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
77 this.keyType = keyType; in EnumBiMap()
83 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
86 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
101 public Class<K> keyType() { in keyType() method in EnumBiMap
[all …]
DEnumHashBiMap.java44 private transient Class<K> keyType; field in EnumHashBiMap
49 * @param keyType the key type
52 create(Class<K> keyType) { in create() argument
53 return new EnumHashBiMap<K, V>(keyType); in create()
73 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
75 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
77 keyType.getEnumConstants().length)); in EnumHashBiMap()
78 this.keyType = keyType; in EnumHashBiMap()
97 public Class<K> keyType() { in keyType() method in EnumHashBiMap
98 return keyType; in keyType()
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h21 typedef int KeyType; typedef
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
49 typedef int KeyType; typedef
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
66 typedef int KeyType; typedef
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k) in setInvalidKey()
84 typedef int KeyType; typedef
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/ssl/
DAliasedX509ExtendedKeyManager.java59 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) in chooseClientAlias() argument
61 … return _keyAlias == null ? _keyManager.chooseClientAlias(keyType, issuers, socket) : _keyAlias; in chooseClientAlias()
68 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) in chooseServerAlias() argument
70 … return _keyAlias == null ? _keyManager.chooseServerAlias(keyType, issuers, socket) : _keyAlias; in chooseServerAlias()
77 public String[] getClientAliases(String keyType, Principal[] issuers) in getClientAliases() argument
79 return _keyManager.getClientAliases(keyType, issuers); in getClientAliases()
87 public String[] getServerAliases(String keyType, Principal[] issuers) in getServerAliases() argument
89 return _keyManager.getServerAliases(keyType, issuers); in getServerAliases()
115 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) in chooseEngineServerAlias() argument
117 … return _keyAlias == null ? super.chooseEngineServerAlias(keyType,issuers,engine) : _keyAlias; in chooseEngineServerAlias()
[all …]
DAliasedX509KeyManager.java57 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) in chooseClientAlias() argument
59 … return _keyAlias == null ? _keyManager.chooseClientAlias(keyType, issuers, socket) : _keyAlias; in chooseClientAlias()
66 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) in chooseServerAlias() argument
68 … return _keyAlias == null ?_keyManager.chooseServerAlias(keyType, issuers, socket) : _keyAlias; in chooseServerAlias()
75 public String[] getClientAliases(String keyType, Principal[] issuers) in getClientAliases() argument
77 return _keyManager.getClientAliases(keyType, issuers); in getClientAliases()
85 public String[] getServerAliases(String keyType, Principal[] issuers) in getServerAliases() argument
87 return _keyManager.getServerAliases(keyType, issuers); in getServerAliases()
/external/autotest/site_utils/bootperf-bin/
Dperfprinter.py10 def PrintRawData(reader, dirlist, keytype, keylist): argument
16 @param keytype Selector specifying the desired key set (e.g.
23 keyset = results.KeySet(keytype)
39 def PrintStatisticsSummary(reader, dirlist, keytype, keylist): argument
45 @param keytype Selector specifying the desired key set (e.g.
50 if (keytype == resultset.TestResultSet.BOOTTIME_KEYSET or
51 keytype == resultset.TestResultSet.FIRMWARE_KEYSET):
62 keyset = results.KeySet(keytype)
/external/conscrypt/src/test/java/org/conscrypt/
DSSLParametersImplTest.java30 String keyType = SSLParametersImpl.getClientKeyType(b); in testGetClientKeyType() local
33 assertEquals(byteString, "RSA", keyType); in testGetClientKeyType()
36 assertEquals(byteString, "DH_RSA", keyType); in testGetClientKeyType()
39 assertEquals(byteString, "EC", keyType); in testGetClientKeyType()
42 assertEquals(byteString, "EC_RSA", keyType); in testGetClientKeyType()
45 assertEquals(byteString, "EC_EC", keyType); in testGetClientKeyType()
48 assertNull(byteString, keyType); in testGetClientKeyType()
/external/webrtc/talk/app/webrtc/
Ddtlsidentitystore.h79 rtc::KeyType key_type, in RequestIdentity()
85 // RequestIdentity should replace the old one that takes rtc::KeyType. When
109 rtc::KeyType key_type,
116 bool HasFreeIdentityForTesting(rtc::KeyType key_type) const;
120 rtc::KeyType key_type,
122 void OnIdentityGenerated(rtc::KeyType key_type,
131 IdentityResult(rtc::KeyType key_type, in IdentityResult()
135 rtc::KeyType key_type_;
159 // One RequestInfo per KeyType. Only touch on the |signaling_thread_|.
/external/libchrome/base/
Did_map.h40 using KeyType = K;
43 typedef base::hash_map<KeyType, T*> HashTable;
67 KeyType Add(T* data) { in Add()
70 KeyType this_id = next_id_; in Add()
81 void AddWithID(T* data, KeyType id) { in AddWithID()
88 void Remove(KeyType id) { in Remove()
109 T* Replace(KeyType id, T* new_data) { in Replace()
139 T* Lookup(KeyType id) const { in Lookup()
198 KeyType GetCurrentKey() const { in GetCurrentKey()
270 std::set<KeyType> removed_ids_;
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DKeyManagerImplTest.java38 String[] keyType = { "RSA", "DSA" }; in testKeyManagerImpl1() local
39 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl1()
42 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); in testKeyManagerImpl1()
65 String[] keyType = { "RSA", "DSA" }; in testKeyManagerImpl2() local
66 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl2()
69 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); in testKeyManagerImpl2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DFrontDoor.java19 private String keytype; field in FrontDoor
30 return keytype; in getKeytype()
33 public void setKeytype(String keytype) { in setKeytype() argument
34 this.keytype = keytype; in setKeytype()

123456